From bc9e038ab19130e9f825bfcab8270001dd7e3f17 Mon Sep 17 00:00:00 2001 From: Ayo Date: Tue, 18 Oct 2022 14:42:19 +0200 Subject: [PATCH] style: newTab icon; larger back link --- src/components/Back.astro | 5 +++-- src/components/Card.astro | 11 ++++++++--- src/pages/index.astro | 2 ++ 3 files changed, 13 insertions(+), 5 deletions(-) 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; ---