diff options
author | axtloss <axtlos@disroot.org> | 2024-12-24 19:25:48 +0100 |
---|---|---|
committer | axtloss <axtlos@disroot.org> | 2024-12-24 20:04:59 +0100 |
commit | e46cb88d3763a64e97557b2db2f9b74ae7627555 (patch) | |
tree | 9c00ad1e59f4fdc36e050d9329eb7cfdeb0588d2 /src/routes/ContactCard.svelte | |
parent | c19fb8828e1dfdd4ce548269ff7cf08de96adf95 (diff) | |
download | website-e46cb88d3763a64e97557b2db2f9b74ae7627555.tar.gz website-e46cb88d3763a64e97557b2db2f9b74ae7627555.tar.bz2 |
new website dropped
Diffstat (limited to '')
-rw-r--r-- | src/routes/ContactCard.svelte | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/src/routes/ContactCard.svelte b/src/routes/ContactCard.svelte deleted file mode 100644 index d347deb..0000000 --- a/src/routes/ContactCard.svelte +++ /dev/null @@ -1,40 +0,0 @@ -<script lang="ts"> - export let inline: boolean = false; - export let svg: string; - export let onclick; -</script> - -<div - role="button" - tabindex="0" - on:click={onclick} - on:keydown={onclick}> - <span class:inline={inline}> - {@html svg} - </span> -</div> - -<span class:inline={inline}> - {@html svg} -</span> - -<style lang="scss"> - span { - & :global(svg) { - width: 1em; - height: 1em; - fill: currentColor; - } - &.inline :global(svg) { transform: translate(0, 0.125em); } - } - - div { - background-color: green; - user-select: none; - padding: 1px 18px; - border-radius: 9999px; - display: flex; - align-items: center; - justify-content: center; - } -</style> |