--- import { getSettings } from "@/content/settings/settings"; import { getAllPaginatedProjects } from "@/content/projects/projects"; import { markdownToHtml } from "@/lib/markdown"; import { Image } from "astro:assets"; import { getProjectRoute } from "@/lib/routing"; import CalendarIcon from "@/icons/CalendarIcon.astro"; import { getImageSize, getImageUrl } from "@/lib/images"; interface Props { page: ProjectIndex; } const { page } = Astro.props; const { pageNumber } = page; const settings = await getSettings(); const projects = await getAllPaginatedProjects(settings, pageNumber); ---

{ settings.project.title }

{ settings.project.subtext !== null && (
) }
{ projects.map((project) => { const imageSize = getImageSize(project.searchEngine.thumbnail.width, project.searchEngine.thumbnail.height, 0.5); return ( {project.title}

{project.title}

{project.date}
) }) }