--- import type { CollectionEntry } from 'astro:content'; import ProjectContent from '../components/ProjectContent.astro'; import ProjectImage from '../components/ProjectImage.astro'; interface Props { project: CollectionEntry<'projects'>; } const { project: { data: { format, class: className }, }, project, } = Astro.props; ---
{ format === '50-start' && (
) } { format === '50-end' && (
) } { format === '70-start' && (
) } { format === '70-end' && (
) } { format === '100-start' && (
) } { format === '100-end' && (
) }