Skip to content

Commit c9edc5e

Browse files
authored
refactor: use justify-content: space-between in AppFooter (#340)
1 parent 0d83ffc commit c9edc5e

1 file changed

Lines changed: 11 additions & 12 deletions

File tree

app/components/AppFooter.vue

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,51 +2,50 @@
22
<footer class="border-t border-border mt-auto">
33
<div class="container py-3 sm:py-8 flex flex-col gap-2 sm:gap-4 text-fg-subtle text-sm">
44
<div
5-
class="flex flex-col sm:flex-row items-center sm:items-baseline justify-start gap-2 sm:gap-4"
5+
class="flex flex-col sm:flex-row items-center sm:items-baseline justify-between gap-2 sm:gap-4"
66
>
77
<p class="font-mono text-balance m-0 hidden sm:block">{{ $t('tagline') }}</p>
8-
<span aria-hidden="true" class="flex-shrink-1 flex-grow-1" />
9-
<div class="flex items-center justify-start gap-3 sm:gap-6">
8+
<div class="flex items-center gap-3 sm:gap-6">
109
<NuxtLink
1110
to="/about"
1211
class="link-subtle font-mono text-xs min-h-8 sm:min-h-11 flex items-center"
1312
>
14-
<span>{{ $t('footer.about') }}</span>
13+
{{ $t('footer.about') }}
1514
</NuxtLink>
1615
<a
1716
href="https://docs.npmx.dev"
1817
target="_blank"
1918
rel="noopener noreferrer"
20-
class="link-subtle font-mono text-xs min-h-8 sm:min-h-11 flex items-center justify-start gap-1"
19+
class="link-subtle font-mono text-xs min-h-8 sm:min-h-11 flex items-center gap-1"
2120
>
22-
<span>{{ $t('footer.docs') }}</span>
21+
{{ $t('footer.docs') }}
2322
<span class="i-carbon:launch rtl-flip w-3 h-3" aria-hidden="true" />
2423
</a>
2524
<a
2625
href="https://repo.npmx.dev"
2726
target="_blank"
2827
rel="noopener noreferrer"
29-
class="link-subtle font-mono text-xs min-h-8 sm:min-h-11 flex justify-start items-center gap-1"
28+
class="link-subtle font-mono text-xs min-h-8 sm:min-h-11 flex items-center gap-1"
3029
>
31-
<span>{{ $t('footer.source') }}</span>
30+
{{ $t('footer.source') }}
3231
<span class="i-carbon:launch rtl-flip w-3 h-3" aria-hidden="true" />
3332
</a>
3433
<a
3534
href="https://social.npmx.dev"
3635
target="_blank"
3736
rel="noopener noreferrer"
38-
class="link-subtle font-mono text-xs min-h-8 sm:min-h-11 flex items-center justify-start gap-1"
37+
class="link-subtle font-mono text-xs min-h-8 sm:min-h-11 flex items-center gap-1"
3938
>
40-
<span>{{ $t('footer.social') }}</span>
39+
{{ $t('footer.social') }}
4140
<span class="i-carbon:launch rtl-flip w-3 h-3" aria-hidden="true" />
4241
</a>
4342
<a
4443
href="https://chat.npmx.dev"
4544
target="_blank"
4645
rel="noopener noreferrer"
47-
class="link-subtle font-mono text-xs min-h-8 sm:min-h-11 flex items-center justify-start gap-1"
46+
class="link-subtle font-mono text-xs min-h-8 sm:min-h-11 flex items-center gap-1"
4847
>
49-
<span>{{ $t('footer.chat') }}</span>
48+
{{ $t('footer.chat') }}
5049
<span class="i-carbon:launch rtl-flip w-3 h-3" aria-hidden="true" />
5150
</a>
5251
</div>

0 commit comments

Comments
 (0)