|
1 | 1 | <!-- SPDX-License-Identifier: AGPL-3.0-or-later --> |
2 | 2 | <script setup lang="ts"> |
3 | 3 | import { useI18n } from 'vue-i18n' |
4 | | -import { Github, Mail } from 'lucide-vue-next' |
| 4 | +import { Github } from 'lucide-vue-next' |
| 5 | +import AppLogo from '@/components/AppLogo.vue' |
5 | 6 |
|
6 | 7 | const { t } = useI18n() |
7 | 8 | </script> |
8 | 9 |
|
9 | 10 | <template> |
10 | | - <footer class="mt-auto border-t border-border/40 clay-card backdrop-blur supports-[backdrop-filter]:bg-background/60"> |
11 | | - <div class="mx-auto max-w-7xl px-4 py-12 sm:px-6 lg:px-8"> |
12 | | - <div class="grid grid-cols-1 gap-8 md:grid-cols-4"> |
13 | | - <!-- Brand --> |
14 | | - <div class="space-y-4"> |
15 | | - <div class="flex items-center space-x-2"> |
16 | | - <svg class="h-8 w-8 text-primary" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> |
17 | | - <path d="M9 12L11 14L15 10M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12Z" |
18 | | - stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> |
19 | | - </svg> |
20 | | - <span class="text-xl font-bold text-foreground">Ackify</span> |
| 11 | + <footer class="mt-auto border-t border-border clay-card relative z-10"> |
| 12 | + <div class="mx-auto max-w-7xl px-4 py-6 sm:px-6 lg:px-8"> |
| 13 | + <div class="flex flex-col items-center justify-between gap-4 sm:flex-row sm:gap-6"> |
| 14 | + <!-- Brand & Description --> |
| 15 | + <div class="flex items-center gap-3 text-center sm:text-left"> |
| 16 | + <AppLogo size="sm" :show-text="false" /> |
| 17 | + <div class="flex flex-col gap-1 sm:flex-row sm:items-center sm:gap-3"> |
| 18 | + <span class="font-semibold text-base text-foreground leading-none">Ackify</span> |
| 19 | + <span class="text-sm text-muted-foreground leading-tight max-w-md">{{ t('footer.description') }}</span> |
21 | 20 | </div> |
22 | | - <p class="text-sm text-muted-foreground"> |
23 | | - {{ t('footer.description') }} |
24 | | - </p> |
25 | 21 | </div> |
26 | 22 |
|
27 | | - <!-- Navigation --> |
28 | | - <div> |
29 | | - <h3 class="mb-4 text-sm font-semibold text-foreground">{{ t('footer.navigation.title') }}</h3> |
30 | | - <ul class="space-y-3"> |
31 | | - <li> |
32 | | - <router-link to="/" class="text-sm text-muted-foreground hover:text-primary transition-colors"> |
33 | | - {{ t('nav.home') }} |
34 | | - </router-link> |
35 | | - </li> |
36 | | - <li> |
37 | | - <router-link to="/signatures" class="text-sm text-muted-foreground hover:text-primary transition-colors"> |
38 | | - {{ t('nav.myConfirmations') }} |
39 | | - </router-link> |
40 | | - </li> |
41 | | - </ul> |
42 | | - </div> |
43 | | - |
44 | | - <!-- Resources --> |
45 | | - <div> |
46 | | - <h3 class="mb-4 text-sm font-semibold text-foreground">{{ t('footer.resources.title') }}</h3> |
47 | | - <ul class="space-y-3"> |
48 | | - <li> |
49 | | - <a href="https://github.com/btouchard/ackify-ce" target="_blank" rel="noopener noreferrer" class="text-sm text-muted-foreground hover:text-primary transition-colors"> |
50 | | - {{ t('footer.resources.documentation') }} |
51 | | - </a> |
52 | | - </li> |
53 | | - <li> |
54 | | - <a href="https://github.com/btouchard/ackify-ce" target="_blank" rel="noopener noreferrer" class="text-sm text-muted-foreground hover:text-primary transition-colors"> |
55 | | - {{ t('footer.resources.apiReference') }} |
56 | | - </a> |
57 | | - </li> |
58 | | - <li> |
59 | | - <a href="https://github.com/btouchard/ackify-ce/issues" target="_blank" rel="noopener noreferrer" class="text-sm text-muted-foreground hover:text-primary transition-colors"> |
60 | | - {{ t('footer.resources.support') }} |
61 | | - </a> |
62 | | - </li> |
63 | | - </ul> |
64 | | - </div> |
| 23 | + <!-- Links & Copyright --> |
| 24 | + <div class="flex flex-wrap items-center justify-center gap-4 text-sm sm:flex-nowrap"> |
| 25 | + <a |
| 26 | + href="https://github.com/btouchard/ackify-ce" |
| 27 | + target="_blank" |
| 28 | + rel="noopener noreferrer" |
| 29 | + class="inline-flex items-center gap-1.5 text-muted-foreground hover:text-primary transition-colors" |
| 30 | + :aria-label="t('footer.resources.documentation')" |
| 31 | + > |
| 32 | + <Github :size="16" /> |
| 33 | + <span>GitHub</span> |
| 34 | + </a> |
65 | 35 |
|
66 | | - <!-- Legal & Contact --> |
67 | | - <div> |
68 | | - <h3 class="mb-4 text-sm font-semibold text-foreground">{{ t('footer.legal.title') }}</h3> |
69 | | - <ul class="space-y-3"> |
70 | | - <li> |
71 | | - <a href="#" class="text-sm text-muted-foreground hover:text-primary transition-colors"> |
72 | | - {{ t('footer.legal.terms') }} |
73 | | - </a> |
74 | | - </li> |
75 | | - <li> |
76 | | - <a href="#" class="text-sm text-muted-foreground hover:text-primary transition-colors"> |
77 | | - {{ t('footer.legal.privacy') }} |
78 | | - </a> |
79 | | - </li> |
80 | | - <li> |
81 | | - <a href="#" class="text-sm text-muted-foreground hover:text-primary transition-colors"> |
82 | | - {{ t('footer.legal.contact') }} |
83 | | - </a> |
84 | | - </li> |
85 | | - </ul> |
| 36 | + <span class="text-muted-foreground/50">•</span> |
86 | 37 |
|
87 | | - <!-- Social Icons --> |
88 | | - <div class="mt-6 flex space-x-4"> |
89 | | - <a href="https://github.com/btouchard/ackify-ce" target="_blank" rel="noopener noreferrer" |
90 | | - class="text-muted-foreground hover:text-primary transition-colors" |
91 | | - aria-label="GitHub"> |
92 | | - <Github :size="20" /> |
93 | | - </a> |
94 | | - <a href="mailto:support@ackify.eu" class="text-muted-foreground hover:text-primary transition-colors" aria-label="Email"> |
95 | | - <Mail :size="20" /> |
96 | | - </a> |
97 | | - </div> |
| 38 | + <span class="text-muted-foreground whitespace-nowrap"> |
| 39 | + © {{ new Date().getFullYear() }} {{ t('footer.license') }} |
| 40 | + </span> |
98 | 41 | </div> |
99 | 42 | </div> |
100 | | - |
101 | | - <div class="mt-12 border-t border-border/40 pt-8"> |
102 | | - <p class="text-center text-sm text-muted-foreground"> |
103 | | - © {{ new Date().getFullYear() }} Ackify. {{ t('footer.copyright') }} |
104 | | - <span class="text-xs">{{ t('footer.license') }}</span> |
105 | | - </p> |
106 | | - </div> |
107 | 43 | </div> |
108 | 44 | </footer> |
109 | 45 | </template> |
0 commit comments