feat: add search menu to all resources

This commit is contained in:
2023-08-06 00:33:06 +02:00
parent 32a7f89309
commit 0e0d26c939
12 changed files with 208 additions and 8 deletions

View File

@ -15,7 +15,7 @@ export const handler: Handlers<Article[] | null> = {
export default function Greet(props: PageProps<Article[] | null>) {
return (
<MainLayout url={props.url} title="Articles">
<MainLayout url={props.url} title="Articles" context={{ type: "article" }}>
<header class="flex gap-4 items-center mb-5 md:hidden">
<a
class="px-4 ml-4 py-2 bg-gray-300 text-gray-800 rounded-lg flex items-center gap-1"