elk/components/help/HelpPreview.vue

54 lines
1.9 KiB
Vue
Raw Permalink Normal View History

2022-11-24 02:38:14 +00:00
<script setup lang="ts">
2022-11-27 03:13:39 +00:00
const emit = defineEmits<{
(event: 'close'): void
}>()
const vAutoFocus = (el: HTMLElement) => el.focus()
2022-11-24 02:38:14 +00:00
</script>
<template>
<div my-8 px-3 sm:px-8 md:max-w-200 flex="~ col gap-4" relative>
<button v-auto-focus type="button" btn-action-icon absolute top--8 right-0 m1 aria-label="Close" @click="emit('close')">
<span i-ri:close-line />
2022-11-27 03:13:39 +00:00
</button>
2023-02-12 11:56:29 +00:00
<img :alt="$t('app_logo')" :src="`/${''}logo.svg`" w-20 h-20 height="80" width="80" mxa class="rtl-flip">
2022-11-24 02:38:14 +00:00
<h1 mxa text-4xl mb4>
{{ $t('help.title') }}
2022-11-24 02:38:14 +00:00
</h1>
<p>
{{ $t('help.desc_para1') }}
2022-11-24 02:38:14 +00:00
</p>
<p>
<b text-primary>{{ $t('help.desc_highlight') }}</b>
{{ $t('help.desc_para2') }}
2022-11-24 02:38:14 +00:00
</p>
2022-12-20 10:58:50 +00:00
<p>
2023-01-03 10:32:02 +00:00
{{ $t('help.desc_para4') }}
<NuxtLink font-bold text-primary href="https://github.com/elk-zone/elk" target="_blank">
2023-01-03 10:32:02 +00:00
{{ $t('help.desc_para5') }}
</NuxtLink>
2023-01-03 10:32:02 +00:00
{{ $t('help.desc_para6') }}
2022-12-20 10:58:50 +00:00
</p>
2024-04-02 04:17:45 +01:00
<NuxtLink hover:text-primary href="https://github.com/sponsors/elk-zone" target="_blank">
{{ $t('help.desc_para3') }}
</NuxtLink>
<p flex="~ gap-2 wrap justify-center" mxa>
<template v-for="team of elkTeamMembers" :key="team.github">
2024-04-02 04:17:45 +01:00
<NuxtLink :href="team.link" target="_blank" external 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">
</NuxtLink>
2022-11-24 02:38:14 +00:00
</template>
</p>
2022-12-20 10:58:50 +00:00
<p italic flex justify-center w-full>
<NuxtLink href="https://github.com/sponsors/elk-zone" target="_blank">
<span text-xl font-script hover:text-primary transition duration-300>{{ $t('help.footer_team') }}</span>
</NuxtLink>
2022-11-24 02:38:14 +00:00
</p>
2022-11-27 03:13:39 +00:00
<button type="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>