fp/services/next/app/archive/page.tsx

31 lines
906 B
TypeScript
Raw Normal View History

2024-07-10 22:11:18 +00:00
import Pager from "@/app/components/pager";
import StreamsList from "@/app/components/streams-list";
import StreamsTable from '@/app/components/streams-table';
import { getAllStreams, getStreamsForVtuber } from "@/app/lib/streams";
// import { getAllVtubers } from "@/app/lib/vtubers";
2024-05-27 22:20:58 +00:00
import { notFound } from "next/navigation";
export default async function Page() {
2024-12-16 20:39:23 +00:00
2024-05-27 22:20:58 +00:00
return (
<div className="section">
{/* <pre>
<p>here are the streams object</p>
<code>
{JSON.stringify(streams, null, 2)}
</code>
</pre> */}
<h1 className="title">Stream Archive</h1>
<StreamsTable />
2024-12-12 07:23:46 +00:00
2024-05-27 22:20:58 +00:00
{/* <StreamsList vtubers={vtubers} page={page} pageSize={pageSize} />
<Pager baseUrl="/streams" page={page} pageCount={vtubers.length/pageSize}/> */}
</div>
)
}