--- import type { Project } from "@/types/types" import type { NavLink } from "@/utils/linking" import ProjectCard from "./ProjectCard.astro" interface Props { projects: ReadonlyArray } const { projects } = Astro.props const baseUrl: NavLink = "/projects" ---
{ projects.map( ({ data: { title, description, tags, heroImage, heroImageAlt }, id }) => (
), ) }