docs: add team page

This commit is contained in:
Benjamin Canac
2025-04-02 12:20:26 +02:00
parent 44e6ba039d
commit c21eb32c70
5 changed files with 193 additions and 15 deletions

View File

@@ -23,18 +23,7 @@ const { data: components } = await useAsyncData('ui-components', () => {
.all()
})
const { data: module } = await useFetch<{
stats: {
downloads: number
stars: number
}
contributors: {
username: string
}[]
}>('https://api.nuxt.com/modules/ui', {
key: 'stats',
transform: ({ stats, contributors }) => ({ stats, contributors })
})
const { data: module } = await useFetch('/api/module.json')
const { format } = Intl.NumberFormat('en', { notation: 'compact' })