feat: add series

This commit is contained in:
2023-08-07 14:44:04 +02:00
parent 990db3ae50
commit 7390d35a98
16 changed files with 275 additions and 23 deletions

View File

@@ -5,6 +5,7 @@ import { MovieCard } from "@components/MovieCard.tsx";
import { Grid } from "@components/Grid.tsx";
import { IconArrowLeft } from "@components/icons.tsx";
import { KMenu } from "@islands/KMenu.tsx";
import { RedirectSearchHandler } from "@islands/Search.tsx";
export const handler: Handlers<Movie[] | null> = {
async GET(_, ctx) {
@@ -16,6 +17,8 @@ export const handler: Handlers<Movie[] | null> = {
export default function Greet(props: PageProps<Movie[] | null>) {
return (
<MainLayout url={props.url} title="Movies" context={{ type: "movie" }}>
<RedirectSearchHandler />
<KMenu type="main" context={{ type: "movie" }} />
<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"