From 965e837293be634f114055b4df655caee8a16c93 Mon Sep 17 00:00:00 2001 From: Firq Date: Fri, 10 Mar 2023 21:01:12 +0100 Subject: [PATCH] Added Social Icons, updated cards, updated data, n e w e g g --- src/components/contactCard.astro | 38 +++++++++++++++++++++++----- src/layouts/customFooter.astro | 3 +++ static/_contactdata.json | 18 ++++++++----- static/_servantdata.json | 2 +- static/social/custom-fgo.webp | Bin 0 -> 21818 bytes static/social/discord.webp | Bin 0 -> 12242 bytes static/social/reddit.webp | Bin 0 -> 16294 bytes static/social/twitch.webp | Bin 0 -> 9806 bytes static/social/twitter.webp | Bin 0 -> 15140 bytes static/social/youtube.webp | Bin 0 -> 11682 bytes static/technologies/gitlab.webp | Bin 3122 -> 4514 bytes static/technologies/typescript.webp | Bin 1018 -> 2088 bytes 12 files changed, 47 insertions(+), 14 deletions(-) create mode 100644 static/social/custom-fgo.webp create mode 100644 static/social/discord.webp create mode 100644 static/social/reddit.webp create mode 100644 static/social/twitch.webp create mode 100644 static/social/twitter.webp create mode 100644 static/social/youtube.webp diff --git a/src/components/contactCard.astro b/src/components/contactCard.astro index 8684b5e..c35b78c 100644 --- a/src/components/contactCard.astro +++ b/src/components/contactCard.astro @@ -2,33 +2,57 @@ export interface Props { site: string link: string + image: string } -const { link, site } = Astro.props +const { image, link, site } = Astro.props +const icon: string = `background-image: url('/social/${image}.webp')` ---
-

{site}

+
+

{site}

+