2022-11-24 02:38:14 +00:00
|
|
|
<script setup lang="ts">
|
|
|
|
interface Team {
|
|
|
|
github: string
|
|
|
|
display: string
|
|
|
|
twitter: string
|
|
|
|
mastodon: string
|
|
|
|
}
|
|
|
|
|
2022-11-27 03:13:39 +00:00
|
|
|
const emit = defineEmits<{
|
|
|
|
(event: 'close'): void
|
|
|
|
}>()
|
|
|
|
|
2022-11-24 02:38:14 +00:00
|
|
|
const teams: Team[] = [
|
|
|
|
{
|
|
|
|
github: 'antfu',
|
|
|
|
display: 'Anthony Fu',
|
|
|
|
twitter: 'antfu7',
|
|
|
|
mastodon: 'antfu@mas.to',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
github: 'patak-dev',
|
|
|
|
display: 'Patak',
|
|
|
|
twitter: 'patak_dev',
|
2022-12-06 22:54:28 +00:00
|
|
|
mastodon: 'patak@webtoo.ls',
|
2022-11-24 02:38:14 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
github: 'danielroe',
|
|
|
|
display: 'Daniel Roe',
|
|
|
|
twitter: 'danielcroe',
|
2022-12-06 22:54:28 +00:00
|
|
|
mastodon: 'daniel@roe.dev',
|
2022-11-24 02:38:14 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
github: 'sxzz',
|
|
|
|
display: 'sxzz',
|
2022-12-06 23:15:38 +00:00
|
|
|
twitter: 'sanxiaozhizi',
|
2022-11-24 02:38:14 +00:00
|
|
|
mastodon: 'sxzz@mas.to',
|
|
|
|
},
|
|
|
|
].sort(() => Math.random() - 0.5)
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2022-12-04 06:27:08 +00:00
|
|
|
<div my-8 px-3 sm:px-8 md:max-w-200 flex="~ col gap-4" relative>
|
2022-12-02 07:27:44 +00:00
|
|
|
<button btn-action-icon absolute top--8 right-0 m1 aria-label="Close" @click="emit('close')">
|
2022-11-27 03:13:39 +00:00
|
|
|
<div i-ri:close-fill />
|
|
|
|
</button>
|
|
|
|
|
2022-11-24 02:38:14 +00:00
|
|
|
<img src="/logo.svg" w-20 h-20 mxa alt="logo">
|
|
|
|
<h1 mxa text-4xl mb4>
|
2022-12-02 18:18:16 +00:00
|
|
|
{{ $t('help.title') }}
|
2022-11-24 02:38:14 +00:00
|
|
|
</h1>
|
|
|
|
<p>
|
2022-12-02 18:18:16 +00:00
|
|
|
{{ $t('help.desc_para1') }}
|
2022-11-24 02:38:14 +00:00
|
|
|
</p>
|
|
|
|
<p>
|
2022-12-02 18:18:16 +00:00
|
|
|
<b text-primary>{{ $t('help.desc_highlight') }}</b>
|
|
|
|
{{ $t('help.desc_para2') }}
|
2022-11-24 02:38:14 +00:00
|
|
|
</p>
|
2022-12-02 18:18:16 +00:00
|
|
|
{{ $t('help.desc_para3') }}
|
2022-11-25 07:39:30 +00:00
|
|
|
<p flex="~ gap-2 wrap" mxa>
|
2022-11-24 02:38:14 +00:00
|
|
|
<template v-for="team of teams" :key="team.github">
|
2022-11-27 03:13:39 +00:00
|
|
|
<a :href="`https://github.com/sponsors/${team.github}`" target="_blank" rounded-full>
|
2022-12-06 23:07:31 +00:00
|
|
|
<img :src="`https://res.cloudinary.com/dchoja2nb/image/twitter_name/h_120,w_120/f_auto/${team.twitter}.jpg`" :alt="team.display" rounded-full w-15 h-15 height="60" width="60">
|
2022-11-24 02:38:14 +00:00
|
|
|
</a>
|
|
|
|
</template>
|
|
|
|
</p>
|
|
|
|
<p italic text-2xl>
|
|
|
|
<span text-lg font-script>The Elk Team</span>
|
|
|
|
</p>
|
2022-11-27 03:13:39 +00:00
|
|
|
|
|
|
|
<button btn-solid mxa @click="emit('close')">
|
2022-11-29 07:18:28 +00:00
|
|
|
{{ $t('action.enter_app') }}
|
2022-11-27 03:13:39 +00:00
|
|
|
</button>
|
2022-11-24 02:38:14 +00:00
|
|
|
</div>
|
|
|
|
</template>
|