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 @@
{#if data} - - - - + {#each data.socials.filter((s) => s.name != 'Website') as social} + + {/each} {/if}
@@ -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