1
0
elk/components/help/HelpPreview.vue

48 lines
1.5 KiB
Vue
Raw Normal View History

2022-11-24 11:38:14 +09:00
<script setup lang="ts">
2022-11-27 12:13:39 +09:00
const emit = defineEmits<{
(event: 'close'): void
}>()
2022-11-24 11:38:14 +09:00
</script>
<template>
<div my-8 px-3 sm:px-8 md:max-w-200 flex="~ col gap-4" relative>
2022-12-02 16:27:44 +09:00
<button btn-action-icon absolute top--8 right-0 m1 aria-label="Close" @click="emit('close')">
2022-12-20 05:31:12 +09:00
<div i-ri:close-line />
2022-11-27 12:13:39 +09:00
</button>
<img :alt="$t('app_logo')" src="/logo.svg" w-20 h-20 height="80" width="80" mxa class="rtl-flip">
2022-11-24 11:38:14 +09:00
<h1 mxa text-4xl mb4>
{{ $t('help.title') }}
2022-11-24 11:38:14 +09:00
</h1>
<p>
{{ $t('help.desc_para1') }}
2022-11-24 11:38:14 +09:00
</p>
<p>
<b text-primary>{{ $t('help.desc_highlight') }}</b>
{{ $t('help.desc_para2') }}
2022-11-24 11:38:14 +09:00
</p>
2022-12-20 19:58:50 +09:00
<p>
2023-01-03 19:32:02 +09:00
{{ $t('help.desc_para4') }}
<a font-bold text-primary href="/m.webtoo.ls/@elk" target="_blank">
{{ $t('help.desc_para5') }}
</a>
{{ $t('help.desc_para6') }}
2022-12-20 19:58:50 +09:00
</p>
{{ $t('help.desc_para3') }}
<p flex="~ gap-2 wrap" mxa>
2022-11-24 11:38:14 +09:00
<template v-for="team of teams" :key="team.github">
2022-12-20 06:30:27 +09:00
<a :href="`https://github.com/sponsors/${team.github}`" target="_blank" rounded-full transition duration-300 border="~ transparent" hover="scale-105 border-primary">
<img :src="`/avatars/${team.github}-100x100.png`" :alt="team.display" rounded-full w-15 h-15 height="60" width="60">
2022-11-24 11:38:14 +09:00
</a>
</template>
</p>
2022-12-20 19:58:50 +09:00
<p italic flex justify-center w-full>
<span text-xl font-script>The Elk Team</span>
2022-11-24 11:38:14 +09:00
</p>
2022-11-27 12:13:39 +09:00
2022-12-20 06:30:27 +09:00
<button btn-solid mxa tabindex="2" @click="emit('close')">
2022-11-29 16:18:28 +09:00
{{ $t('action.enter_app') }}
2022-11-27 12:13:39 +09:00
</button>
2022-11-24 11:38:14 +09:00
</div>
</template>