33 lines
1.1 KiB
TypeScript
33 lines
1.1 KiB
TypeScript
|
|
||
|
// import VodsList, { VodsListHeading } from '@/app/components/vods-list'
|
||
|
// import { getVtuberBySlug } from '@/app/lib/vtubers'
|
||
|
// // import { IToys, getToysForVtuber } from '@/app/lib/toys'
|
||
|
// import { ToysList, ToysListHeading } from '@/app/components/toys'
|
||
|
// import Pager from '@/app/components/pager'
|
||
|
|
||
|
// interface IPageParams {
|
||
|
// params: {
|
||
|
// name: string;
|
||
|
// page: number;
|
||
|
// }
|
||
|
// }
|
||
|
|
||
|
export default async function Page() {
|
||
|
// const vtuber = await getVtuberBySlug(params.slug)
|
||
|
return <p>Toys pages coming soon</p>
|
||
|
// const toys: IToys = await getToysForVtuber(vtuber.id, params.page, 24)
|
||
|
// return (
|
||
|
// <div className='box'>
|
||
|
// <div className="">
|
||
|
// <ToysListHeading slug={vtuber.slug} displayName={vtuber.displayName} />
|
||
|
// <ToysList toys={toys} pageSize={12}></ToysList>
|
||
|
// <Pager
|
||
|
// collection='toys'
|
||
|
// slug={vtuber.slug}
|
||
|
// page={parseInt(params.page, 10)}
|
||
|
// pageCount={toys.pagination.pageCount}
|
||
|
// />
|
||
|
// </div>
|
||
|
// </div>
|
||
|
// )
|
||
|
}
|