web/src/components/scafold/Footer.astro

31 lines · 748 bytes

 1---
 2const year = new Date().getFullYear();
 3---
 4
 5<footer>
 6	<a href="/about/">Awesome Privacy</a> is licensed under <a
 7		href="https://github.com/Lissy93/awesome-privacy/blob/main/LICENSE"
 8		target="_blank"
 9		rel="noopener noreferrer">CC0 1.0 Universal</a
10	>
11	© <a href="https://aliciasykes.com" target="_blank" rel="noopener noreferrer"
12		>Alicia Sykes</a
13	> 2018 - {year || 'Present'} | Source code available on <a
14		href="https://github.com/Lissy93/awesome-privacy"
15		target="_blank"
16		rel="noopener noreferrer">GitHub</a
17	>
18</footer>
19
20<style lang="scss">
21	footer {
22		font-family: var(--font-subtitle);
23		font-weight: bold;
24		text-align: center;
25		padding: var(--space-sm) 0;
26		margin: 0 auto;
27		a {
28			color: var(--accent-text);
29		}
30	}
31</style>