--- import type { GetStaticPaths } from "astro"; import { getCollection } from "astro:content"; import Main from "@/layouts/Main.astro"; import Layout from "@/layouts/Layout.astro"; import Header from "@/components/Header.astro"; import Footer from "@/components/Footer.astro"; import Card from "@/components/Card.astro"; import Pagination from "@/components/Pagination.astro"; import getSortedPosts from "@/utils/getSortedPosts"; import { SITE } from "@/config"; export const getStaticPaths = (async ({ paginate }) => { const technical = await getCollection("technical", ({ data }) => !data.draft); return paginate(getSortedPosts(technical), { pageSize: SITE.postPerPage }); }) satisfies GetStaticPaths; const { page } = Astro.props; ---
    {page.data.map(data => )}