aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Footer.svelte
blob: bfeac41a06cfa1030a0627267d622921d21e78d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<script>
	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' },
		{ url: 'https://t.me/swapeewallet', titleID: 'telegram' },
		{ url: 'https://linktr.ee/swapee.me', titleID: 'linktree' }
	];

	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">
		<div class="footer_top border-b-[1] border-gray-800 pb-4">
			<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 © {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>
				<div class="flex-1 flex items-center justify-start md:justify-center">
					<div class="flex max-sm:flex-col md:justify-end gap-x-6">
						<div class="flex-1 xl:mb-0 mb-4 md:pr-0 sm:pr-5">
							<h6 class="!text-white/80 mb-0">Business enquiries</h6>
							<a href="mailto:[email protected]" class="text-swapee-purple hover:underline">[email protected]</a>
						</div>
						<div class="flex-1 xs:pr-5 mb-4 md:pr-0 sm:pr-5">
							<h6 class="!text-white/80 mb-0">Support enquiries</h6>
							<a href="mailto:[email protected]" class="text-swapee-purple hover:underline">[email protected]</a>
						</div>
					</div>
				</div>
			</div>

			<div class="footer_bottom flex justify-end pt-4 pb-2">
				<ul class="flex flex-wrap justify-center mb-0 ps-0">
					<li class="pb-3 ml-[0.9375rem]">
						<a href="/docs" class="!text-white/80 opacity-100 hover:!text-swapee-purple/100 font-semibold py-[6px] px-[10px]">Documentation</a>
					</li>
					<li class="pb-3 ml-[0.9375rem]">
						<a href="/privacy" class="!text-white/80 opacity-100 hover:!text-swapee-purple/100 font-semibold py-[6px] px-[10px]">Privacy Policy</a>
					</li>
          			<li class="pb-3 ml-[0.9375rem]">
						<a href="/support" class="!text-white/80 opacity-100 hover:!text-swapee-purple/100 font-semibold py-[6px] px-[10px]">Support</a>
					</li>
					<li class="pb-3 ml-[0.9375rem]">
						<a href="/sitemap" class="!text-white/80 opacity-100 hover:!text-swapee-purple/100 font-semibold py-[6px] px-[10px]">Sitemap</a>
					</li>
				</ul>
			</div>
		</div>
	</div>
</footer>