--- import Layout from "@/layouts/Layout.astro" import { Image } from "astro:assets" import { getEntry, render } from "astro:content" import BadgeList from "@/components/badge/BadgeList.astro" import * as m from "@/paraglide/messages" import { languageTag } from "@/paraglide/runtime" import GiteaLink from "@/components/links/GiteaLink.astro" import "@/styles/global.css" interface Props { project: string // TODO typeof project slug } const { project } = Astro.props const entry = await getEntry("projects", project) const { Content } = await render(entry!) const { title, description, tags, heroImage, heroImageAlt, source, createdAt, updatedAt, } = entry!.data ---

{title}

{m.createdAt()}: {new Date(createdAt).toLocaleDateString(languageTag())}

{m.updatedAt()}: {new Date(updatedAt).toLocaleDateString(languageTag())}

{heroImageAlt}

{description}