Debian Codegraph @

docs/.vitepress/theme/components/DyneFooter.vue

raw
1 <template>
2 <footer class="dyne-footer">
3 <div class="dyne-footer__inner">
4 <div class="dyne-footer__content">
5 <div class="dyne-footer__top">
6 <a class="dyne-footer__logo" href="https://dyne.org" aria-label="Dyne.org">
7 <img class="dyne-footer__mark" :src="withBase('/dyne-mark.svg')" alt="" />
8 <img class="dyne-footer__logotype" :src="withBase('/dyne-logotype.svg')" alt="Dyne.org" />
9 </a>
10
11 <div class="dyne-footer__right">
12 <nav class="dyne-footer__socials" aria-label="Dyne.org social links">
13 <a
14 v-for="social in socialLinks"
15 :key="social.name"
16 class="dyne-footer__social"
17 :href="social.href"
18 :aria-label="`Follow Dyne.org on ${social.name}`"
19 target="_blank"
20 :rel="social.name === 'mastodon' ? 'me noopener' : 'noopener'"
21 >
22 <SocialIcon :name="social.name" />
23 </a>
24 </nav>
25
26 <div class="dyne-footer__legal">
27 <p>
28 Copyleft &copy;1999-{{ currentYear }} Dyne.org foundation<br />
29 Haparandadam 7-A1 1013AK, Amsterdam, The Netherlands<br />
30 Not for profit org. est. 2005 with reg.num. 34237525 at KvK.NL<br />
31 Contents in this website are protected by the International License<br />
32 Creative Commons Attribution-NonCommercial-ShareAlike 4.0
33 </p>
34 </div>
35 </div>
36 </div>
37 </div>
38 </div>
39 </footer>
40 </template>
41
42 <script setup lang="ts">
43 import { withBase } from 'vitepress'
44 import SocialIcon from './SocialIcon.vue'
45 import { socialLinks } from './social-icons'
46
47 const currentYear = new Date().getFullYear()
48 </script>