Skip to content

Commit ba9b5c7

Browse files
committed
feat: create governance members section and mini-card stub
1 parent 9fe1b25 commit ba9b5c7

File tree

1 file changed

+45
-3
lines changed

1 file changed

+45
-3
lines changed

app/pages/about.vue

Lines changed: 45 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,17 +138,59 @@ const { data: contributors, status: contributorsStatus } = useLazyFetch('/api/co
138138
</div>
139139

140140
<div>
141-
<h2 class="text-lg text-fg-subtle uppercase tracking-wider mb-4">
141+
<h2 class="text-lg text-fg-subtle uppercase tracking-wider mb-4">Team</h2>
142+
<p class="text-fg-muted leading-relaxed mb-6">
143+
{{ $t('about.contributors.description') }}
144+
</p>
145+
146+
<!-- TODO: update string and maintainers list -->
147+
<div v-if="contributors?.some(c => c.role !== 'contributor')" class="mb-12">
148+
<h3 class="text-sm text-fg-subtle uppercase tracking-wider mb-4">Governance</h3>
149+
<p class="text-fg-muted leading-relaxed mb-6">
150+
TODO: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
151+
incididunt ut labore et dolore magna aliqua.
152+
</p>
153+
154+
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-3">
155+
<a
156+
v-for="person in contributors
157+
.filter(c => c.role !== 'contributor')
158+
.concat(contributors.filter(c => c.role !== 'contributor'))
159+
.concat(contributors.filter(c => c.role !== 'contributor'))
160+
.concat(contributors.filter(c => c.role !== 'contributor'))
161+
.concat(contributors.filter(c => c.role !== 'contributor'))"
162+
:key="person.id"
163+
:href="person.html_url"
164+
target="_blank"
165+
rel="noopener noreferrer"
166+
class="flex items-center gap-3 p-2 border border-border rounded-lg hover:bg-fg/5 transition-colors group"
167+
>
168+
<img
169+
:src="`${person.avatar_url}&s=64`"
170+
alt=""
171+
class="w-10 h-10 rounded-md ring-1 ring-border group-hover:ring-accent"
172+
/>
173+
<div class="min-w-0">
174+
<div class="font-mono text-sm text-fg truncate">@{{ person.login }}</div>
175+
<div class="text-sm text-fg-muted tracking-tight">{{ person.role }}</div>
176+
</div>
177+
</a>
178+
TODO: add other maintainers
179+
</div>
180+
</div>
181+
182+
<h3 class="text-sm text-fg-subtle uppercase tracking-wider mb-4">
142183
{{
143184
$t(
144185
'about.contributors.title',
145186
{ count: $n(contributors?.length ?? 0) },
146187
contributors?.length ?? 0,
147188
)
148189
}}
149-
</h2>
190+
</h3>
150191
<p class="text-fg-muted leading-relaxed mb-6">
151-
{{ $t('about.contributors.description') }}
192+
TODO: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
193+
incididunt ut labore et dolore magna aliqua.
152194
</p>
153195

154196
<!-- Contributors cloud -->

0 commit comments

Comments
 (0)