--- import Layout from "./Layout.astro"; import { Image } from "astro:assets"; import TagBadge from "../components/TagBadge.astro"; import { ChevronLeft, ExternalLink } from "@lucide/astro"; interface Props { title: string; description: string; image: any; tags: string[]; demoLink?: string; url?: string; sourceLink?: string; } const { title, description, image, tags, demoLink, url, sourceLink } = Astro.props; ---
{ image && (
{title}
) }

{title}

{description}

{ (demoLink || sourceLink) && (
{demoLink && ( Live Demo )} {url && ( Website )} {sourceLink && ( View Source )}
) }
{ tags && tags.length > 0 && (
{tags.map((tag) => ( ))}
) }