mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-28 08:59:40 +05:00
Merge remote-tracking branch 'origin/feat_player'
This commit is contained in:
parent
bb437fe7ca
commit
25e31a7799
62 changed files with 1508 additions and 701 deletions
27
app/bookmarks/[slug]/page.tsx
Normal file
27
app/bookmarks/[slug]/page.tsx
Normal file
|
@ -0,0 +1,27 @@
|
|||
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}
|
||||
/>
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue