From 7390d35a98719b5f86da3d46eede5de3e3b6b7e3 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 7 Aug 2023 14:44:04 +0200 Subject: [PATCH] feat: add series --- components/layouts/main.tsx | 2 - fresh.gen.ts | 46 +++++---- islands/KMenu/commands/add_movie_infos.ts | 4 +- lib/resource/series.ts | 108 ++++++++++++++++++++++ lib/resources.ts | 6 ++ lib/tmdb.ts | 4 + lib/typesense.ts | 2 + routes/api/series/index.ts | 6 ++ routes/articles/[name].tsx | 3 + routes/articles/index.tsx | 3 + routes/movies/[name].tsx | 4 + routes/movies/index.tsx | 3 + routes/recipes/[name].tsx | 4 + routes/recipes/index.tsx | 4 + routes/series/[name].tsx | 53 +++++++++++ routes/series/index.tsx | 46 +++++++++ 16 files changed, 275 insertions(+), 23 deletions(-) create mode 100644 lib/resource/series.ts create mode 100644 routes/api/series/index.ts create mode 100644 routes/series/[name].tsx create mode 100644 routes/series/index.tsx diff --git a/components/layouts/main.tsx b/components/layouts/main.tsx index 361b83a..17b01cd 100644 --- a/components/layouts/main.tsx +++ b/components/layouts/main.tsx @@ -28,8 +28,6 @@ export const MainLayout = ({ children, url, title, context }: Props) => { {title && {title}} - -