--- import Image from "astro/components/Image.astro"; import Badge from "../Helper/Badge.astro"; import ProjectBreadcrumb from "./ProjectBreadcrumb.astro"; import ProjectButtons from "./ProjectButtons.astro"; import ProseWrapper from "$layouts/ProseWrapper.astro"; const { project } = Astro.props; const images = import.meta.glob( "/src/assets/projects/**/*.{png,webp,jpg,jpeg}" ); const projectImages = await Promise.all( (project.images || []).map(async (image: string) => images[image]) ); ---

{project.name}

{project.images ? (

Images

{project.images.length > 1 ? : null} {project.images.length > 2 ? : null}
) : }
{project.tags ?
{project.tags.map((tag: string) => ( {tag} ))}
: null}