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<Movie[] | null> = {
export default function Greet(props: PageProps<Movie[] | null>) {
return (
<MainLayout url={props.url} title="Movies">
<MainLayout url={props.url} title="Movies" context={{ type: "movie" }}>
<KMenu type="main" context={false} />
<header class="flex gap-4 items-center mb-5 md:hidden">
<a