diff options
| author | Murillo Pinheiro de Oliveira <[email protected]> | 2024-03-28 16:38:12 -0300 |
|---|---|---|
| committer | Murillo Pinheiro de Oliveira <[email protected]> | 2024-03-28 16:38:12 -0300 |
| commit | a3efe1b696263b4fb92858b2f162d48133f78f0f (patch) | |
| tree | 71b56705087f4848fc7cf251efd9cb44548b08b6 /src/components | |
| parent | e6e910e43f8f28501b7f829ab0090088914735a2 (diff) | |
| download | coinos-ui-a3efe1b696263b4fb92858b2f162d48133f78f0f.tar.gz coinos-ui-a3efe1b696263b4fb92858b2f162d48133f78f0f.zip | |
updated: copyright year and small fixes
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/Footer.svelte | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/components/Footer.svelte b/src/components/Footer.svelte index 260afd4f..bfeac41a 100644 --- a/src/components/Footer.svelte +++ b/src/components/Footer.svelte @@ -1,7 +1,10 @@ <script> - import Icon from "$comp/Icon.svelte"; - import LocaleSelector from "$comp/LocaleSelector.svelte"; - import { t } from "$lib/translations"; + import Icon from "$comp/Icon.svelte"; + import LocaleSelector from "$comp/LocaleSelector.svelte"; + import { t } from "$lib/translations"; + + const date = new Date() + const currentYear = date.getFullYear() const followLinks = [ { url: 'https://twitter.com/swapeewallet', titleID: 'twitter' }, @@ -9,10 +12,10 @@ { url: 'https://linktr.ee/swapee.me', titleID: 'linktree' } ]; - const companyLinks = [ - { url: "/docs", titleID: "documentation" }, - { url: "/support", titleID: "support" }, - ]; + const companyLinks = [ + { url: "/docs", titleID: "documentation" }, + { url: "/support", titleID: "support" }, + ]; </script> <footer class="pt-16 bg-black"> <div class="max-w-[1296px] mx-auto px-8"> @@ -20,7 +23,7 @@ <div class="flex-col md:flex-row flex md:items-center justify-between"> <div class="flex-1 mb-12 sm:mb-5"> <a href="#" ><img src="images/footer-logo.png" alt="swapee logo" class="max-w-36" /></a> - <p class="text-gray-200 mt-10">Copyright © 2023. Swapee.me</p> + <p class="text-gray-200 mt-10">Copyright © {currentYear ?? 2024}. Swapee.me</p> <p class="text-gray-200 mt-3">All rights reserved.</p> <a href="#" class="btn_language inline-block mt-6 font-bold !text-white hover:!text-black">English</a> </div> |
