mirror of
https://github.com/Radiquum/AniX.git
synced 2025-09-03 21:15:35 +05:00
force-static for non-dynamic metadata
This commit is contained in:
parent
6e38565439
commit
96904bcb9c
10 changed files with 20 additions and 0 deletions
|
@ -2,6 +2,8 @@ export const metadata = {
|
|||
title: "Закладки",
|
||||
};
|
||||
|
||||
export const dynamic = "force-static";
|
||||
|
||||
import { BookmarksPage } from "#/pages/Bookmarks";
|
||||
export default function Index() {
|
||||
return <BookmarksPage />;
|
||||
|
|
|
@ -5,6 +5,8 @@ export const metadata = {
|
|||
description: "Создание новой коллекции",
|
||||
};
|
||||
|
||||
export const dynamic = "force-static";
|
||||
|
||||
export default function Collections() {
|
||||
return <CreateCollectionPage />;
|
||||
}
|
||||
|
|
|
@ -5,6 +5,8 @@ export const metadata = {
|
|||
description: "Просмотр избранных коллекций",
|
||||
};
|
||||
|
||||
export const dynamic = "force-static";
|
||||
|
||||
export default function Collections() {
|
||||
return <CollectionsFullPage type="favorites" title="Избранные коллекции" />;
|
||||
}
|
||||
|
|
|
@ -5,6 +5,8 @@ export const metadata = {
|
|||
description: "Просмотр и управление коллекциями",
|
||||
}
|
||||
|
||||
export const dynamic = "force-static";
|
||||
|
||||
export default function Collections() {
|
||||
return <CollectionsPage />;
|
||||
}
|
||||
|
|
|
@ -4,6 +4,8 @@ export const metadata = {
|
|||
|
||||
import { FavoritesPage } from "#/pages/Favorites";
|
||||
|
||||
export const dynamic = "force-static";
|
||||
|
||||
export default function Index() {
|
||||
return <FavoritesPage />;
|
||||
}
|
||||
|
|
|
@ -4,6 +4,8 @@ export const metadata = {
|
|||
|
||||
import { HistoryPage } from "#/pages/History";
|
||||
|
||||
export const dynamic = "force-static";
|
||||
|
||||
export default function Index() {
|
||||
return <HistoryPage />;
|
||||
}
|
||||
|
|
|
@ -5,6 +5,8 @@ export const metadata = {
|
|||
description: "Вход в аккаунт anixart",
|
||||
}
|
||||
|
||||
export const dynamic = "force-static";
|
||||
|
||||
export default function Login() {
|
||||
return <LoginPage />;
|
||||
}
|
||||
|
|
|
@ -4,6 +4,8 @@ export const metadata = {
|
|||
|
||||
import { MenuPage } from "#/pages/MobileMenuPage";
|
||||
|
||||
export const dynamic = "force-static";
|
||||
|
||||
export default function Index() {
|
||||
return <MenuPage />;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
import { IndexPage } from "./pages/Index";
|
||||
|
||||
export const dynamic = "force-static";
|
||||
|
||||
export default function Index() {
|
||||
return <IndexPage />;
|
||||
}
|
||||
|
|
|
@ -5,6 +5,8 @@ export const metadata = {
|
|||
description: "Поиск аниме релизов",
|
||||
};
|
||||
|
||||
export const dynamic = "force-static";
|
||||
|
||||
export default function Search() {
|
||||
return <SearchPage />;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue