mirror of
https://github.com/Radiquum/AniX.git
synced 2025-09-05 05:55:36 +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: "Закладки",
|
title: "Закладки",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const dynamic = "force-static";
|
||||||
|
|
||||||
import { BookmarksPage } from "#/pages/Bookmarks";
|
import { BookmarksPage } from "#/pages/Bookmarks";
|
||||||
export default function Index() {
|
export default function Index() {
|
||||||
return <BookmarksPage />;
|
return <BookmarksPage />;
|
||||||
|
|
|
@ -5,6 +5,8 @@ export const metadata = {
|
||||||
description: "Создание новой коллекции",
|
description: "Создание новой коллекции",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const dynamic = "force-static";
|
||||||
|
|
||||||
export default function Collections() {
|
export default function Collections() {
|
||||||
return <CreateCollectionPage />;
|
return <CreateCollectionPage />;
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,8 @@ export const metadata = {
|
||||||
description: "Просмотр избранных коллекций",
|
description: "Просмотр избранных коллекций",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const dynamic = "force-static";
|
||||||
|
|
||||||
export default function Collections() {
|
export default function Collections() {
|
||||||
return <CollectionsFullPage type="favorites" title="Избранные коллекции" />;
|
return <CollectionsFullPage type="favorites" title="Избранные коллекции" />;
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,8 @@ export const metadata = {
|
||||||
description: "Просмотр и управление коллекциями",
|
description: "Просмотр и управление коллекциями",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const dynamic = "force-static";
|
||||||
|
|
||||||
export default function Collections() {
|
export default function Collections() {
|
||||||
return <CollectionsPage />;
|
return <CollectionsPage />;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,8 @@ export const metadata = {
|
||||||
|
|
||||||
import { FavoritesPage } from "#/pages/Favorites";
|
import { FavoritesPage } from "#/pages/Favorites";
|
||||||
|
|
||||||
|
export const dynamic = "force-static";
|
||||||
|
|
||||||
export default function Index() {
|
export default function Index() {
|
||||||
return <FavoritesPage />;
|
return <FavoritesPage />;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,8 @@ export const metadata = {
|
||||||
|
|
||||||
import { HistoryPage } from "#/pages/History";
|
import { HistoryPage } from "#/pages/History";
|
||||||
|
|
||||||
|
export const dynamic = "force-static";
|
||||||
|
|
||||||
export default function Index() {
|
export default function Index() {
|
||||||
return <HistoryPage />;
|
return <HistoryPage />;
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,8 @@ export const metadata = {
|
||||||
description: "Вход в аккаунт anixart",
|
description: "Вход в аккаунт anixart",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const dynamic = "force-static";
|
||||||
|
|
||||||
export default function Login() {
|
export default function Login() {
|
||||||
return <LoginPage />;
|
return <LoginPage />;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,8 @@ export const metadata = {
|
||||||
|
|
||||||
import { MenuPage } from "#/pages/MobileMenuPage";
|
import { MenuPage } from "#/pages/MobileMenuPage";
|
||||||
|
|
||||||
|
export const dynamic = "force-static";
|
||||||
|
|
||||||
export default function Index() {
|
export default function Index() {
|
||||||
return <MenuPage />;
|
return <MenuPage />;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
import { IndexPage } from "./pages/Index";
|
import { IndexPage } from "./pages/Index";
|
||||||
|
|
||||||
|
export const dynamic = "force-static";
|
||||||
|
|
||||||
export default function Index() {
|
export default function Index() {
|
||||||
return <IndexPage />;
|
return <IndexPage />;
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,8 @@ export const metadata = {
|
||||||
description: "Поиск аниме релизов",
|
description: "Поиск аниме релизов",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const dynamic = "force-static";
|
||||||
|
|
||||||
export default function Search() {
|
export default function Search() {
|
||||||
return <SearchPage />;
|
return <SearchPage />;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue