From fab7041ca7dcb8cd446974558e0bb71c2e88106e Mon Sep 17 00:00:00 2001 From: Firq Date: Fri, 10 Mar 2023 22:51:39 +0100 Subject: [PATCH] Updated favourites, preparing for implementing extra stuff --- src/components/favouriteCard.astro | 22 ++++++++++++++-------- src/pages/ta-collection.astro | 1 + static/_favouritesdata.json | 6 ++++-- static/_othertadata.json | 12 ++++++++++++ 4 files changed, 31 insertions(+), 10 deletions(-) create mode 100644 static/_othertadata.json diff --git a/src/components/favouriteCard.astro b/src/components/favouriteCard.astro index 65854d5..e2cb6a1 100644 --- a/src/components/favouriteCard.astro +++ b/src/components/favouriteCard.astro @@ -3,22 +3,28 @@ export interface Props { name: string origin: string image: string + link: string } -const { image, origin, name } = Astro.props +const { link, image, origin, name } = Astro.props const img: string = `/favourites/${image}.webp` --- -
-
{name}
- {name} -

- {origin} -

-
+ +
+
{name}
+ {name} +

+ {origin} +

+
+