diff --git a/src/components/ProjectPage.astro b/src/components/ProjectPage.astro index 5f98af05..fd2c0508 100644 --- a/src/components/ProjectPage.astro +++ b/src/components/ProjectPage.astro @@ -8,6 +8,7 @@ export interface Props { date: string; slug: string; image?: string | null; + url?: string; hidden: boolean; }; } @@ -15,9 +16,25 @@ export interface Props { const { metadata } = Astro.props; --- + +
-

+

{metadata.title}

@@ -33,6 +50,19 @@ const { metadata } = Astro.props; ) } + { + metadata.url ? ( + + Try {metadata.title} + + ) : null + } +

{metadata.date}

diff --git a/src/pages/projects/wiskatron.astro b/src/pages/projects/wiskatron.astro index 9aa82999..dfe325dc 100644 --- a/src/pages/projects/wiskatron.astro +++ b/src/pages/projects/wiskatron.astro @@ -2,12 +2,12 @@ import ProjectPage from "../../components/ProjectPage.astro"; export const metadata = { - title: "wiskatron", + title: "Wiskatron", description: "Spotify listening activity with dynamic visuals", date: "February 2024", slug: "wiskatron", - // image: null, image: "/wiskatron-icon.svg", + url: "https://wiskatron.oliverbryan.com", hidden: false, }; ---