mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-28 00: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
16
app/release/[id]/page.tsx
Normal file
16
app/release/[id]/page.tsx
Normal file
|
@ -0,0 +1,16 @@
|
|||
import { ReleasePage } from "#/pages/Release";
|
||||
import { fetchDataViaGet } from "#/api/utils";
|
||||
|
||||
export async function generateMetadata({ params }) {
|
||||
const id = params.id
|
||||
const release = await fetchDataViaGet(`https://api.anixart.tv/release/${id}`);
|
||||
|
||||
return {
|
||||
title: release.release.title_ru,
|
||||
};
|
||||
}
|
||||
|
||||
export default async function Search({ params }) {
|
||||
const id = params.id
|
||||
return <ReleasePage id={id} />;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue