-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ed14895
commit 775a275
Showing
5 changed files
with
178 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
<script> | ||
export let website = undefined; | ||
export let email = undefined; | ||
export let nostr = undefined; | ||
export let twitter = undefined; | ||
export let secondTwitter = undefined; | ||
export let meetup = undefined; | ||
export let eventbrite = undefined; | ||
export let telegram = undefined; | ||
export let discord = undefined; | ||
export let youtube = undefined; | ||
export let github = undefined; | ||
export let reddit = undefined; | ||
export let instagram = undefined; | ||
export let whatsapp = undefined; | ||
export let facebook = undefined; | ||
export let linkedin = undefined; | ||
export let rss = undefined; | ||
export let signal = undefined; | ||
export let style = undefined; | ||
import { Icon } from '$comp'; | ||
</script> | ||
|
||
<div class="flex flex-wrap items-center justify-center {style || ''}"> | ||
{#if website} | ||
<a href={website} target="_blank" rel="noreferrer" class="m-1"> | ||
<span class="flex h-[40px] w-[40px] items-center justify-center rounded-full bg-bitcoin"> | ||
<i class="fa-solid fa-globe h-7 w-7 text-white" /> | ||
</span> | ||
</a> | ||
{/if} | ||
{#if email} | ||
<a href="mailto:{email}" target="_blank" rel="noreferrer" class="m-1"> | ||
<span class="flex h-[40px] w-[40px] items-center justify-center rounded-full bg-[#53C5D5]"> | ||
<i class="fa-solid fa-envelope h-7 w-7 text-white" /> | ||
</span> | ||
</a> | ||
{/if} | ||
{#if nostr} | ||
<a href="https://snort.social/p/{nostr}" target="_blank" rel="noreferrer" class="m-1"> | ||
<span class="flex h-[40px] w-[40px] items-center justify-center rounded-full bg-nostr"> | ||
<Icon w="28" h="28" icon="nostr" type="socials" style="text-white" /> | ||
</span> | ||
</a> | ||
{/if} | ||
{#if twitter} | ||
<a href={twitter} target="_blank" rel="noreferrer" class="m-1"> | ||
<img src="/icons/socials/twitter.svg" alt="twitter" /> | ||
</a> | ||
{/if} | ||
{#if secondTwitter} | ||
<a href={secondTwitter} target="_blank" rel="noreferrer" class="m-1"> | ||
<img src="/icons/socials/twitter.svg" alt="twitter" /> | ||
</a> | ||
{/if} | ||
{#if meetup} | ||
<a href={meetup} target="_blank" rel="noreferrer" class="m-1"> | ||
<img src="/icons/socials/meetup.jpg" alt="meetup" class="h-10 w-10 rounded-full" /> | ||
</a> | ||
{/if} | ||
{#if eventbrite} | ||
<a href={eventbrite} target="_blank" rel="noreferrer" class="m-1"> | ||
<img src="/icons/socials/eventbrite.png" alt="eventbrite" class="h-10 w-10 rounded-full" /> | ||
</a> | ||
{/if} | ||
{#if telegram} | ||
<a href={telegram} target="_blank" rel="noreferrer" class="m-1"> | ||
<img src="/icons/socials/telegram.svg" alt="telegram" /> | ||
</a> | ||
{/if} | ||
{#if discord} | ||
<a href={discord} target="_blank" rel="noreferrer" class="m-1"> | ||
<img src="/icons/socials/discord.svg" alt="discord" /> | ||
</a> | ||
{/if} | ||
{#if youtube} | ||
<a href={youtube} target="_blank" rel="noreferrer" class="m-1"> | ||
<img src="/icons/socials/youtube.svg" alt="youtube" /> | ||
</a> | ||
{/if} | ||
{#if github} | ||
<a href={github} target="_blank" rel="noreferrer" class="m-1"> | ||
<img src="/icons/socials/github.svg" alt="github" /> | ||
</a> | ||
{/if} | ||
{#if reddit} | ||
<a href={reddit} target="_blank" rel="noreferrer" class="m-1"> | ||
<img src="/icons/socials/reddit.svg" alt="reddit" /> | ||
</a> | ||
{/if} | ||
{#if instagram} | ||
<a href={instagram} target="_blank" rel="noreferrer" class="m-1"> | ||
<img src="/icons/socials/instagram.svg" alt="instagram" class="h-10 w-10 rounded-full" /> | ||
</a> | ||
{/if} | ||
{#if whatsapp} | ||
<a href={whatsapp} target="_blank" rel="noreferrer" class="m-1"> | ||
<img src="/icons/socials/whatsapp.svg" alt="whatsapp" /> | ||
</a> | ||
{/if} | ||
{#if facebook} | ||
<a href={facebook} target="_blank" rel="noreferrer" class="m-1"> | ||
<img src="/icons/socials/facebook.svg" alt="facebook" /> | ||
</a> | ||
{/if} | ||
{#if linkedin} | ||
<a href={linkedin} target="_blank" rel="noreferrer" class="m-1"> | ||
<img src="/icons/socials/linkedin.svg" alt="linkedin" /> | ||
</a> | ||
{/if} | ||
{#if rss} | ||
<a href={rss} target="_blank" rel="noreferrer" class="m-1"> | ||
<span class="flex h-[40px] w-[40px] items-center justify-center rounded-full bg-orange-500"> | ||
<i class="fa-solid fa-rss h-7 w-7 text-white" /> | ||
</span> | ||
</a> | ||
{/if} | ||
{#if signal} | ||
<a href={signal} target="_blank" rel="noreferrer" class="m-1"> | ||
<img src="/icons/socials/signal.svg" alt="signal" class="h-10 w-10 rounded-full" /> | ||
</a> | ||
{/if} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.