From daae03b40f07ea6e71526690e7629fd4a202428d Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sun, 3 Mar 2024 02:27:23 +0100 Subject: [PATCH] fix: Add missing socials (#174) Co-authored-by: Ushie --- src/layout/Hero/SocialButton.svelte | 11 +++-------- src/layout/Hero/SocialHost.svelte | 8 ++++---- static/socials/twitter.svg | 6 ++++++ static/socials/youtube.svg | 9 +++++++++ 4 files changed, 22 insertions(+), 12 deletions(-) create mode 100644 static/socials/twitter.svg create mode 100644 static/socials/youtube.svg diff --git a/src/layout/Hero/SocialButton.svelte b/src/layout/Hero/SocialButton.svelte index a6772fc..5079b49 100644 --- a/src/layout/Hero/SocialButton.svelte +++ b/src/layout/Hero/SocialButton.svelte @@ -1,16 +1,11 @@ - jsonSocial.name.toLowerCase() === social.toLowerCase())?.url} - rel="noreferrer" - target="_blank" -> +
- {social} + {social.name}
diff --git a/src/layout/Hero/SocialHost.svelte b/src/layout/Hero/SocialHost.svelte index f73bab7..f583f0c 100644 --- a/src/layout/Hero/SocialHost.svelte +++ b/src/layout/Hero/SocialHost.svelte @@ -10,10 +10,9 @@ @@ -36,6 +35,7 @@ left: 0; width: 100%; display: flex; + flex-wrap: wrap; justify-content: center; } } diff --git a/static/socials/twitter.svg b/static/socials/twitter.svg new file mode 100644 index 0000000..85e060f --- /dev/null +++ b/static/socials/twitter.svg @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/static/socials/youtube.svg b/static/socials/youtube.svg new file mode 100644 index 0000000..ed2e24b --- /dev/null +++ b/static/socials/youtube.svg @@ -0,0 +1,9 @@ + + + + + + \ No newline at end of file