diff options
| author | secondl1ght <[email protected]> | 2022-07-31 01:02:39 -0600 |
|---|---|---|
| committer | secondl1ght <[email protected]> | 2022-07-31 01:02:39 -0600 |
| commit | f81e273613e95e89087badcc0cb5a9bd007e6d47 (patch) | |
| tree | cbaa10bba6e3834f0532f8f45f590e0d85388c68 /src/components/Footer.svelte | |
| parent | 7ba4e64a5a2671f5104eea2ea9b7c50646e4cfbd (diff) | |
| download | coinos-ui-f81e273613e95e89087badcc0cb5a9bd007e6d47.tar.gz coinos-ui-f81e273613e95e89087badcc0cb5a9bd007e6d47.zip | |
add footer and other refactoring
Diffstat (limited to 'src/components/Footer.svelte')
| -rw-r--r-- | src/components/Footer.svelte | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/components/Footer.svelte b/src/components/Footer.svelte new file mode 100644 index 00000000..0c682179 --- /dev/null +++ b/src/components/Footer.svelte @@ -0,0 +1,39 @@ +<script> + import { Icon } from '$comp'; + + const followLinks = [ + { url: 'https://twitter.com/coinoswallet', title: 'Twitter' }, + { url: 'https://github.com/coinos', title: 'GitHub' }, + { url: 'https://t.me/coinos', title: 'Telegram' } + ]; + + const companyLinks = [ + { url: 'mailto:[email protected]', title: 'Support' }, + { url: '/community', title: 'Community' }, + { url: '/jobs', title: 'Jobs' } + ]; +</script> + +<footer class="space-y-10 md:space-y-0 text-xl block md:flex justify-around items-center mb-20"> + <Icon icon="logo" style="w-48 mx-auto md:mx-0" /> + + <div class="text-center md:text-left"> + <p class="font-semibold">Follow Us</p> + <ul class="mt-5 text-secondary space-y-3 font-medium"> + {#each followLinks as link} + <li><a href={link.url} target="_blank" rel="noreferrer">{link.title}</a></li> + {/each} + </ul> + </div> + + <div class="text-center md:text-left"> + <p class="font-semibold">Company</p> + <ul class="mt-5 text-secondary space-y-3"> + {#each companyLinks as link} + <li><a href={link.url}>{link.title}</a></li> + {/each} + </ul> + </div> + + <Icon icon="shield" style="mx-auto md:mx-0" /> +</footer> |
