mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-30 01:49: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
26
app/home/[slug]/page.tsx
Normal file
26
app/home/[slug]/page.tsx
Normal file
|
@ -0,0 +1,26 @@
|
|||
import { IndexCategoryPage } from "#/pages/IndexCategory";
|
||||
|
||||
const SectionTitleMapping = {
|
||||
last: "Последние релизы",
|
||||
finished: "Завершенные релизы",
|
||||
ongoing: "В эфире",
|
||||
announce: "Анонсированные релизы",
|
||||
};
|
||||
|
||||
export async function generateMetadata({ params }) {
|
||||
return {
|
||||
title: SectionTitleMapping[params.slug],
|
||||
};
|
||||
}
|
||||
|
||||
export default function Index({ params }) {
|
||||
const metadata = {
|
||||
title: "AniX | " + SectionTitleMapping[params.slug],
|
||||
};
|
||||
return (
|
||||
<IndexCategoryPage
|
||||
slug={params.slug}
|
||||
SectionTitleMapping={SectionTitleMapping}
|
||||
/>
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue