--- import PageNumber from './PageNumber.astro' import PrevNext from './PrevNext.astro' import styles from './index.module.css' type Props = { slug: string currentPage: number numPages: number } const { slug, currentPage, numPages } = Astro.props const isFirst = currentPage === 1 const isLast = currentPage === numPages ---