forked from npmx-dev/npmx.dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaccessibility.vue
More file actions
133 lines (125 loc) · 4.62 KB
/
accessibility.vue
File metadata and controls
133 lines (125 loc) · 4.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<script setup lang="ts">
definePageMeta({
name: 'accessibility',
})
useSeoMeta({
title: () => `${$t('a11y.title')} - npmx`,
description: () => $t('a11y.welcome', { app: 'npmx' }),
})
defineOgImageComponent('Default', {
title: () => $t('a11y.title'),
description: () => $t('a11y.welcome', { app: 'npmx' }),
})
</script>
<template>
<main class="container flex-1 py-12 sm:py-16 overflow-x-hidden">
<article class="max-w-2xl mx-auto">
<header class="mb-12">
<div class="flex items-baseline justify-between gap-4 mb-4">
<h1 class="font-mono text-3xl sm:text-4xl font-medium">
{{ $t('a11y.title') }}
</h1>
<BackButton />
</div>
</header>
<section class="max-w-none space-y-8">
<p class="text-fg-muted leading-relaxed">
<i18n-t keypath="a11y.welcome" tag="span" scope="global">
<template #app>
<strong class="text-fg">npmx</strong>
</template>
</i18n-t>
</p>
<!-- Our Approach -->
<div>
<h2 class="text-lg text-fg-subtle uppercase tracking-wider mb-4">
{{ $t('a11y.approach.title') }}
</h2>
<p class="text-fg-muted leading-relaxed mb-4">
{{ $t('a11y.approach.p1') }}
</p>
<p class="text-fg-muted leading-relaxed">
<i18n-t keypath="a11y.approach.p2" tag="span" scope="global">
<template #about>
<NuxtLink
:to="{ name: 'about' }"
class="text-fg-muted hover:text-fg underline decoration-fg-subtle/50 hover:decoration-fg"
>
{{ $t('a11y.approach.about_link') }}
</NuxtLink>
</template>
</i18n-t>
</p>
</div>
<!-- What We Do -->
<div>
<h2 class="text-lg text-fg-subtle uppercase tracking-wider mb-4">
{{ $t('a11y.measures.title') }}
</h2>
<p class="text-fg-muted leading-relaxed mb-4">
{{ $t('a11y.measures.p1') }}
</p>
<ul class="space-y-3 text-fg-muted list-none p-0">
<li class="flex items-start gap-3">
<span class="text-fg-subtle shrink-0">—</span>
<span>{{ $t('a11y.measures.li1') }}</span>
</li>
<li class="flex items-start gap-3">
<span class="text-fg-subtle shrink-0">—</span>
<span>{{ $t('a11y.measures.li2') }}</span>
</li>
<li class="flex items-start gap-3">
<span class="text-fg-subtle shrink-0">—</span>
<span>{{ $t('a11y.measures.li3') }}</span>
</li>
<li class="flex items-start gap-3">
<span class="text-fg-subtle shrink-0">—</span>
<span>{{ $t('a11y.measures.li4') }}</span>
</li>
<li class="flex items-start gap-3">
<span class="text-fg-subtle shrink-0">—</span>
<span>{{ $t('a11y.measures.li5') }}</span>
</li>
<li class="flex items-start gap-3">
<span class="text-fg-subtle shrink-0">—</span>
<span>{{ $t('a11y.measures.li6') }}</span>
</li>
</ul>
</div>
<!-- Known Limitations -->
<div>
<h2 class="text-lg text-fg-subtle uppercase tracking-wider mb-4">
{{ $t('a11y.limitations.title') }}
</h2>
<p class="text-fg-muted leading-relaxed">
{{ $t('a11y.limitations.p1') }}
</p>
</div>
<!-- Feedback -->
<div>
<h2 class="text-lg text-fg-subtle uppercase tracking-wider mb-4">
{{ $t('a11y.contact.title') }}
</h2>
<p class="text-fg-muted leading-relaxed">
<i18n-t keypath="a11y.contact.p1" tag="span" scope="global">
<template #app>
<strong class="text-fg">npmx</strong>
</template>
<template #link>
<a
href="https://github.com/npmx-dev/npmx.dev/issues"
target="_blank"
rel="noopener noreferrer"
class="inline-flex items-center gap-1 text-fg-muted hover:text-fg underline decoration-fg-subtle/50 hover:decoration-fg"
>
{{ $t('a11y.contact.link') }}
<span class="i-lucide:external-link rtl-flip w-4 h-4" aria-hidden="true" />
</a>
</template>
</i18n-t>
</p>
</div>
</section>
</article>
</main>
</template>