diff --git a/src/components/Card.astro b/src/components/Card.astro index 138fe32..9e74bc1 100644 --- a/src/components/Card.astro +++ b/src/components/Card.astro @@ -1,5 +1,5 @@ --- -const { title, img, desc, url } = Astro.props; +const { title, img, desc, url, badge } = Astro.props; ---
@@ -9,7 +9,7 @@ const { title, img, desc, url } = Astro.props;

{title} -
NEW
+ {badge &&
{badge}
}

{desc}

diff --git a/src/layouts/Page.astro b/src/layouts/Page.astro index aea9aa9..5bfe379 100644 --- a/src/layouts/Page.astro +++ b/src/layouts/Page.astro @@ -17,7 +17,7 @@ import { SITE_TITLE, SITE_DESCRIPTION } from "../config";
-
+