docs/.vitepress/theme/components/Contributors.vue

6a1af22664b7470a4fe300c74ae39c4e0e6f6972
wotaku/docs/.vitepress/theme/components/Contributors.vue
taskylizard chore: update license0dddca8d19 1 year ago

48 lines · 1815 bytes

 1<!--
 2  All Rights Reserved
 3
 4  Copyright (c) 2025 taskylizard
 5
 6  All rights reserved. This code and its associated files may not be copied, modified, distributed, sublicensed, or used in any form, in whole or in part, without prior written permission from the copyright holder.
 7-->
 8<script setup lang="ts">
 9import { computed } from 'vue'
10import { contribs, type Contributors } from '../../credits'
11
12const contributors = computed(() => contribs || ({} as Contributors))
13</script>
14
15<template>
16  <h1 class="text-center">Core Team</h1>
17  <hr />
18  <div class="flex flex-wrap gap-4 pt-2">
19    <div v-for="(c, index) of contributors.core" class="flex items-center gap-2">
20      <img :src="c.avatar" class="h-8 w-8 rounded-full" />
21      <a v-if="c.site" :href="c.site">{{ c.name }}</a>
22      <span v-else>{{ c.name }}</span>
23      <span v-if="index < contributors.core.length - 1">•</span>
24    </div>
25  </div>
26  <span />
27  <h1 class="mt-30px text-center">Contributors</h1>
28  <hr />
29  <div class="flex flex-wrap gap-4 pt-2">
30    <div v-for="(c, index) of contributors.contributors" class="flex items-center gap-2">
31      <img :src="c.avatar" class="h-8 w-8 rounded-full" />
32      <a v-if="c.site" :href="c.site">{{ c.name }}</a>
33      <span v-else>{{ c.name }}</span>
34      <span v-if="index < contributors.contributors.length - 1">•</span>
35    </div>
36  </div>
37  <span />
38  <h1 class="mt-30px text-center">Special Thanks to</h1>
39  <hr />
40  <div class="flex flex-wrap gap-4 pt-2">
41    <div v-for="(c, index) of contributors.special" class="flex items-center gap-2">
42      <img :src="c.avatar" class="h-8 w-8 rounded-full" />
43      <a v-if="c.site" :href="c.site">{{ c.name }}</a>
44      <span v-else>{{ c.name }}</span>
45      <span v-if="index < contributors.special.length - 1">•</span>
46    </div>
47  </div>
48</template>
Keyboard shortcuts

Global

⌘K
Command palette & jump
/
Focus search
?
Show this help
g d
Dashboard
g e
Explore repositories
g n
Notifications

Repository & editor

t
Find file in repository
y
Copy immutable SHA permalink
g c
Code tab
g i
Issues tab
g m
Merge requests tab
g b
Builds tab
⌘↵
Submit active form