elk/composables/about.ts

40 lines
779 B
TypeScript
Raw Permalink Normal View History

import type { BuildInfo } from '~~/types'
2023-01-02 20:19:36 +00:00
export interface Team {
github: string
display: string
twitter: string
mastodon: string
}
export const teams: Team[] = [
{
github: 'antfu',
display: 'Anthony Fu',
twitter: 'antfu7',
2023-01-02 22:22:38 +00:00
mastodon: 'antfu@webtoo.ls',
2023-01-02 20:19:36 +00:00
},
{
github: 'patak-dev',
display: 'Patak',
twitter: 'patak_dev',
mastodon: 'patak@webtoo.ls',
},
{
github: 'danielroe',
display: 'Daniel Roe',
twitter: 'danielcroe',
mastodon: 'daniel@roe.dev',
},
{
github: 'sxzz',
2023-01-02 21:39:07 +00:00
display: '三咲智子 Kevin Deng',
2023-01-02 20:19:36 +00:00
twitter: 'sanxiaozhizi',
2023-01-02 22:22:38 +00:00
mastodon: 'sxzz@webtoo.ls',
2023-01-02 20:19:36 +00:00
},
].sort(() => Math.random() - 0.5)
export function useBuildInfo() {
return useRuntimeConfig().public.buildInfo as BuildInfo
}