import Navbar from '../components/navbar'; import { FormEvent } from 'react'; import { ArticleMeta } from './post/[id]'; import SearchOutlinedIcon from '@material-ui/icons/SearchOutlined'; function SearchBar(props: { searchFunction: (event?: FormEvent) => void; }) { return
} export default function SearchPage(props: { posts: Array<{ props: { meta: ArticleMeta } }> }) { return

Search for posts

) => { event?.preventDefault(); }}/>
} // grep -Por "^\[meta\]:\s+\s+\(\K(.+)(?=\)$)" posts