Some checks are pending
Automatisch Backend Tests / test (push) Waiting to run
Automatisch CI / linter (push) Waiting to run
Automatisch CI / start-backend-server (push) Waiting to run
Automatisch CI / start-backend-worker (push) Waiting to run
Automatisch CI / build-web (push) Waiting to run
Automatisch UI Tests / test (push) Waiting to run
25 lines
521 B
Vue
25 lines
521 B
Vue
<script setup>
|
|
import { computed } from 'vue';
|
|
import { useData, withBase } from 'vitepress';
|
|
import { VPTeamMembers } from 'vitepress/theme';
|
|
|
|
const { frontmatter: fm } = useData();
|
|
|
|
const computedItems = computed(() => {
|
|
const itemsLength = fm.value.items?.length;
|
|
|
|
if (!itemsLength) return [];
|
|
|
|
return fm.value.items.map((item) => {
|
|
return {
|
|
...item,
|
|
avatar: withBase(fm.value.favicon),
|
|
};
|
|
});
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<VPTeamMembers size="small" :members="computedItems" />
|
|
</template>
|