From 0ce1c401aa49ee4814ada2ac258bd6d790da05ed Mon Sep 17 00:00:00 2001 From: Vordgi Date: Sat, 16 May 2026 14:24:06 +0100 Subject: [PATCH 1/6] feat: update governance list and design --- app/components/About/GovernanceList.vue | 60 +++++++++++++++++++ app/components/About/LogoList.vue | 4 +- app/pages/about.vue | 80 +++++++------------------ i18n/locales/en.json | 1 + i18n/schema.json | 3 + server/api/contributors.get.ts | 17 ++++-- 6 files changed, 100 insertions(+), 65 deletions(-) create mode 100644 app/components/About/GovernanceList.vue diff --git a/app/components/About/GovernanceList.vue b/app/components/About/GovernanceList.vue new file mode 100644 index 0000000000..4c6c7b89f9 --- /dev/null +++ b/app/components/About/GovernanceList.vue @@ -0,0 +1,60 @@ + + + diff --git a/app/components/About/LogoList.vue b/app/components/About/LogoList.vue index 8e9bd819fb..03945b705c 100644 --- a/app/components/About/LogoList.vue +++ b/app/components/About/LogoList.vue @@ -35,7 +35,7 @@ const props = defineProps<{ :href="item.url" target="_blank" rel="noopener noreferrer" - class="relative flex items-center justify-center h-16 rounded-md bg-bg-muted hover:bg-bg-subtle border border-border transition-colors py-1 px-3" + class="relative flex items-center justify-center h-16 rounded-md bg-bg-muted hover:bg-bg-subtle border border-border hover:border-border-hover transition-colors py-1 px-3" :style="{ paddingBlock: item.normalisingIndent }" :aria-label="item.name" > @@ -65,7 +65,7 @@ const props = defineProps<{ :href="groupItem.url" target="_blank" rel="noopener noreferrer" - class="relative flex items-center justify-center h-full aspect-square rounded-md hover:bg-bg-subtle border border-transparent hover:border-border transition-colors p-1.5" + class="relative flex items-center justify-center h-full aspect-square rounded-md hover:bg-bg-subtle border border-transparent hover:border-border-hover transition-colors p-1.5" :style="{ paddingBlock: groupItem.normalisingIndent }" :aria-label="groupItem.name" > diff --git a/app/pages/about.vue b/app/pages/about.vue index 5e898e23c7..45a5fb5aff 100644 --- a/app/pages/about.vue +++ b/app/pages/about.vue @@ -33,19 +33,15 @@ const pmLinks = { const { data: contributors, status: contributorsStatus } = useLazyFetch('/api/contributors') const governanceMembers = computed( - () => contributors.value?.filter(c => c.role !== 'contributor') ?? [], + () => contributors.value?.filter(c => c.role === 'steward' || c.role === 'core') ?? [], ) -const communityContributors = computed( - () => contributors.value?.filter(c => c.role === 'contributor') ?? [], +const maintainersMembers = computed( + () => contributors.value?.filter(c => c.role === 'maintainer') ?? [], ) -const roleLabels = computed( - () => - ({ - steward: $t('about.team.role_steward'), - maintainer: $t('about.team.role_maintainer'), - }) as Partial>, +const communityContributors = computed( + () => contributors.value?.filter(c => c.role === 'contributor') ?? [], ) @@ -179,7 +175,7 @@ const roleLabels = computed( {{ $t('about.contributors.description') }}

- +
-
    -
  • - -
    -
    - - @{{ person.login }} - -
    -
    - {{ roleLabels[person.role] ?? person.role }} -
    - - {{ $t('about.team.sponsor') }} - -
    -
  • -
+ +
+ + +
+

+ {{ $t('about.team.maintainers') }} +

+ +
@@ -263,12 +229,12 @@ const roleLabels = computed(