mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-05 15:54:39 +00:00
27 lines
632 B
TypeScript
27 lines
632 B
TypeScript
import { BookmarksCategoryPage } from "#/pages/BookmarksCategory";
|
||
|
||
const SectionTitleMapping = {
|
||
watching: "Смотрю",
|
||
planned: "В планах",
|
||
watched: "Просмотрено",
|
||
delayed: "Отложено",
|
||
abandoned: "Заброшено",
|
||
};
|
||
|
||
export async function generateMetadata({ params }) {
|
||
return {
|
||
title: SectionTitleMapping[params.slug],
|
||
};
|
||
}
|
||
|
||
export default function Index({ params }) {
|
||
const metadata = {
|
||
title: "AniX | " + SectionTitleMapping[params.slug],
|
||
};
|
||
return (
|
||
<BookmarksCategoryPage
|
||
slug={params.slug}
|
||
SectionTitleMapping={SectionTitleMapping}
|
||
/>
|
||
);
|
||
}
|