--- import { getShortDescription, generateSourceUrl } from "../lib/utils"; import type { ProjectFrontmatter } from "../lib/types"; import type { MarkdownLayoutProps } from "astro"; import Prose from "../components/Prose.astro"; import Layout from "./Layout.astro"; import Section from "../components/common/Section.astro"; import Anchor from "../components/common/Anchor.astro"; import { GLOBAL } from "../lib/variables"; type Props = MarkdownLayoutProps; const { frontmatter } = Astro.props; const shortDescription = getShortDescription(frontmatter.description); const sourceUrl = generateSourceUrl(frontmatter.filename, "projects"); --- {frontmatter.title} • {GLOBAL.username}

{frontmatter.title}

{ frontmatter.tags ? frontmatter.tags.map((tag) => ( {tag} )) : null }
{ frontmatter.githubUrl ? ( GitHub ) : null } { frontmatter.liveUrl ? ( Live ) : null }