diff --git a/src/components/Back.astro b/src/components/Back.astro index addc1ba..4a8281c 100644 --- a/src/components/Back.astro +++ b/src/components/Back.astro @@ -5,14 +5,15 @@ export interface Props { const { url } = Astro.props; --- - + diff --git a/src/components/Card.astro b/src/components/Card.astro index 33a0497..0453b66 100644 --- a/src/components/Card.astro +++ b/src/components/Card.astro @@ -3,16 +3,21 @@ export interface Props { title: string; body: string; href: string; + newTab?: boolean; } -const { href, title, body } = Astro.props; +const { href, title, body, newTab = false } = Astro.props; ---
{body}
diff --git a/src/pages/index.astro b/src/pages/index.astro
index 4cc901a..9b987ca 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -25,11 +25,13 @@ import Footer from "../components/Footer.astro";