From 96904bcb9c778877ae456df5832aba92b93f5c19 Mon Sep 17 00:00:00 2001 From: Radiquum Date: Fri, 22 Aug 2025 04:46:18 +0500 Subject: [PATCH] force-static for non-dynamic metadata --- app/bookmarks/page.tsx | 2 ++ app/collections/create/page.tsx | 2 ++ app/collections/favorites/page.tsx | 2 ++ app/collections/page.tsx | 2 ++ app/favorites/page.tsx | 2 ++ app/history/page.tsx | 2 ++ app/login/page.tsx | 2 ++ app/menu/page.tsx | 2 ++ app/page.tsx | 2 ++ app/search/page.tsx | 2 ++ 10 files changed, 20 insertions(+) diff --git a/app/bookmarks/page.tsx b/app/bookmarks/page.tsx index 56a5985..eaf51fa 100644 --- a/app/bookmarks/page.tsx +++ b/app/bookmarks/page.tsx @@ -2,6 +2,8 @@ export const metadata = { title: "Закладки", }; +export const dynamic = "force-static"; + import { BookmarksPage } from "#/pages/Bookmarks"; export default function Index() { return ; diff --git a/app/collections/create/page.tsx b/app/collections/create/page.tsx index 67b95bf..796b6cd 100644 --- a/app/collections/create/page.tsx +++ b/app/collections/create/page.tsx @@ -5,6 +5,8 @@ export const metadata = { description: "Создание новой коллекции", }; +export const dynamic = "force-static"; + export default function Collections() { return ; } diff --git a/app/collections/favorites/page.tsx b/app/collections/favorites/page.tsx index 628070e..0a0496b 100644 --- a/app/collections/favorites/page.tsx +++ b/app/collections/favorites/page.tsx @@ -5,6 +5,8 @@ export const metadata = { description: "Просмотр избранных коллекций", }; +export const dynamic = "force-static"; + export default function Collections() { return ; } diff --git a/app/collections/page.tsx b/app/collections/page.tsx index cd68b69..10ba0ab 100644 --- a/app/collections/page.tsx +++ b/app/collections/page.tsx @@ -5,6 +5,8 @@ export const metadata = { description: "Просмотр и управление коллекциями", } +export const dynamic = "force-static"; + export default function Collections() { return ; } diff --git a/app/favorites/page.tsx b/app/favorites/page.tsx index b2f5394..cc12a08 100644 --- a/app/favorites/page.tsx +++ b/app/favorites/page.tsx @@ -4,6 +4,8 @@ export const metadata = { import { FavoritesPage } from "#/pages/Favorites"; +export const dynamic = "force-static"; + export default function Index() { return ; } diff --git a/app/history/page.tsx b/app/history/page.tsx index 2815aa3..21bac4b 100644 --- a/app/history/page.tsx +++ b/app/history/page.tsx @@ -4,6 +4,8 @@ export const metadata = { import { HistoryPage } from "#/pages/History"; +export const dynamic = "force-static"; + export default function Index() { return ; } diff --git a/app/login/page.tsx b/app/login/page.tsx index dae1809..cca130c 100644 --- a/app/login/page.tsx +++ b/app/login/page.tsx @@ -5,6 +5,8 @@ export const metadata = { description: "Вход в аккаунт anixart", } +export const dynamic = "force-static"; + export default function Login() { return ; } diff --git a/app/menu/page.tsx b/app/menu/page.tsx index 1350fbc..61305cc 100644 --- a/app/menu/page.tsx +++ b/app/menu/page.tsx @@ -4,6 +4,8 @@ export const metadata = { import { MenuPage } from "#/pages/MobileMenuPage"; +export const dynamic = "force-static"; + export default function Index() { return ; } diff --git a/app/page.tsx b/app/page.tsx index b54ae5b..6731436 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,5 +1,7 @@ import { IndexPage } from "./pages/Index"; +export const dynamic = "force-static"; + export default function Index() { return ; } diff --git a/app/search/page.tsx b/app/search/page.tsx index 13b9981..3e70827 100644 --- a/app/search/page.tsx +++ b/app/search/page.tsx @@ -5,6 +5,8 @@ export const metadata = { description: "Поиск аниме релизов", }; +export const dynamic = "force-static"; + export default function Search() { return ; }