import FileContent from 'components/pages/gists/file-content'; import Pagination from 'components/rua/rua-pagination'; import { getGists } from 'lib/fetcher'; import { notFound } from 'next/navigation'; export const revalidate = 600; export default async function Page() { const gists = await getGists(); if (!gists) notFound(); const prev = Number(gists.pageSize.prev); const next = Number(gists.pageSize.next); const total = Number(gists.pageSize.last); return ( <> ); }