|
| 1 | +<script setup lang="ts"></script> |
1 | 2 | <template> |
2 | 3 | <footer class="border-t border-border mt-auto" :aria-label="$t('footer.site_footer')"> |
3 | 4 | <div class="container py-3 sm:py-8 flex flex-col gap-2 sm:gap-4 text-fg-subtle text-sm"> |
4 | | - <div class="flex flex-col sm:flex-row items-center justify-between gap-2 sm:gap-4"> |
| 5 | + <div class="flex flex-col sm:flex-row items-center justify-start gap-2 sm:gap-4"> |
5 | 6 | <p class="font-mono m-0 hidden sm:block">{{ $t('tagline') }}</p> |
6 | | - <div class="flex items-center gap-3 sm:gap-6"> |
| 7 | + <span aria-hidden="true" class="flex-shrink-1 flex-grow-1" /> |
| 8 | + <div class="flex items-center justify-start gap-3 sm:gap-6"> |
7 | 9 | <NuxtLink |
8 | 10 | to="/about" |
9 | 11 | class="link-subtle font-mono text-xs min-h-8 sm:min-h-11 flex items-center" |
10 | 12 | > |
11 | | - {{ $t('footer.about') }} |
| 13 | + <span>{{ $t('footer.about') }}</span> |
12 | 14 | </NuxtLink> |
13 | 15 | <a |
14 | 16 | href="https://docs.npmx.dev" |
15 | 17 | target="_blank" |
16 | 18 | rel="noopener noreferrer" |
17 | | - class="link-subtle font-mono text-xs min-h-8 sm:min-h-11 flex items-center gap-1" |
| 19 | + class="link-subtle font-mono text-xs min-h-8 sm:min-h-11 flex items-center justify-start gap-1" |
18 | 20 | > |
19 | | - {{ $t('footer.docs') }} |
20 | | - <span class="i-carbon-launch w-3 h-3" aria-hidden="true" /> |
| 21 | + <span>{{ $t('footer.docs') }}</span> |
| 22 | + <span class="i-carbon:launch rtl-flip w-3 h-3" aria-hidden="true" /> |
21 | 23 | </a> |
22 | 24 | <a |
23 | 25 | href="https://repo.npmx.dev" |
24 | 26 | target="_blank" |
25 | 27 | rel="noopener noreferrer" |
26 | | - class="link-subtle font-mono text-xs min-h-8 sm:min-h-11 flex items-center gap-1" |
| 28 | + class="link-subtle font-mono text-xs min-h-8 sm:min-h-11 flex justify-start items-center gap-1" |
27 | 29 | > |
28 | | - {{ $t('footer.source') }} |
29 | | - <span class="i-carbon-launch w-3 h-3" aria-hidden="true" /> |
| 30 | + <span>{{ $t('footer.source') }}</span> |
| 31 | + <span class="i-carbon:launch rtl-flip w-3 h-3" aria-hidden="true" /> |
30 | 32 | </a> |
31 | 33 | <a |
32 | 34 | href="https://social.npmx.dev" |
33 | 35 | target="_blank" |
34 | 36 | rel="noopener noreferrer" |
35 | | - class="link-subtle font-mono text-xs min-h-8 sm:min-h-11 flex items-center gap-1" |
| 37 | + class="link-subtle font-mono text-xs min-h-8 sm:min-h-11 flex items-center justify-start gap-1" |
36 | 38 | > |
37 | | - {{ $t('footer.social') }} |
38 | | - <span class="i-carbon-launch w-3 h-3" aria-hidden="true" /> |
| 39 | + <span>{{ $t('footer.social') }}</span> |
| 40 | + <span class="i-carbon:launch rtl-flip w-3 h-3" aria-hidden="true" /> |
39 | 41 | </a> |
40 | 42 | <a |
41 | 43 | href="https://chat.npmx.dev" |
42 | 44 | target="_blank" |
43 | 45 | rel="noopener noreferrer" |
44 | | - class="link-subtle font-mono text-xs min-h-8 sm:min-h-11 flex items-center gap-1" |
| 46 | + class="link-subtle font-mono text-xs min-h-8 sm:min-h-11 flex items-center justify-start gap-1" |
45 | 47 | > |
46 | | - {{ $t('footer.chat') }} |
47 | | - <span class="i-carbon-launch w-3 h-3" aria-hidden="true" /> |
| 48 | + <span>{{ $t('footer.chat') }}</span> |
| 49 | + <span class="i-carbon:launch rtl-flip w-3 h-3" aria-hidden="true" /> |
48 | 50 | </a> |
49 | 51 | </div> |
50 | 52 | </div> |
51 | | - <p class="text-xs text-fg-muted text-center sm:text-left m-0"> |
| 53 | + <p class="text-xs text-fg-muted text-center sm:text-start m-0"> |
52 | 54 | <span class="sm:hidden">{{ $t('non_affiliation_disclaimer') }}</span> |
53 | 55 | <span class="hidden sm:inline">{{ $t('trademark_disclaimer') }}</span> |
54 | 56 | </p> |
|
0 commit comments