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 { Card } from "@components/Card.tsx";
import { KMenu } from "@islands/KMenu.tsx";
import { Grid } from "@components/Grid.tsx";
import { IconArrowLeft } from "@components/icons.tsx";
import { RedirectSearchHandler } from "@islands/Search.tsx";
export const handler: Handlers<Article[] | null> = {
async GET(_, ctx) {
@@ -27,6 +28,8 @@ export default function Greet(props: PageProps<Article[] | null>) {
<h3 class="text-2xl text-white font-light">📝 Articles</h3>
</header>
<RedirectSearchHandler />
<KMenu type="main" context={{ type: "article" }} />
<Grid>
{props.data?.map((doc) => {
return (