jointrashposs/pages/docs/index.vue

68 lines
2.6 KiB
Vue
Raw Normal View History

2023-07-10 13:41:29 +02:00
<template>
<div>
<GHero>
<template #title>{{ $t('_docs.title') }}</template>
<template #description>
2023-12-02 07:01:48 +01:00
{{ $t('_docs.description') }}
2023-07-10 13:41:29 +02:00
</template>
<template #icon>
<div class="hidden lg:block relative px-6 py-8">
<GDots class="absolute top-0 left-0 w-32 h-32 text-accent-600" />
<GDots class="absolute bottom-0 right-0 w-32 h-32 text-accent-600" />
<div class="relative lg:w-64 rotate-6">
2023-07-10 13:41:29 +02:00
<img class="drop-shadow-xl" src="/img/emojis/green_book_3d.png" />
</div>
</div>
</template>
</GHero>
2023-07-11 19:19:32 +02:00
<div class="pb-12 lg:mt-12 pt-6 bg-white dark:bg-slate-950">
2023-09-09 08:09:04 +02:00
<div class="container mx-auto max-w-screen-xl px-6 space-y-6 lg:space-y-12">
2023-07-10 19:54:13 +02:00
<GLocalNav :items="[
{
name: $t('_docs._forUsers.title'),
anchor: '#forUsers',
},
{
name: $t('_docs._forAdmin.title'),
anchor: '#forAdmin',
},
{
name: $t('_docs._forDevelopers.title'),
anchor: '#forDevelopers',
}
]" />
<GLargeLinks :items="[
{
to: localePath('/docs/about-misskey/'),
title: $t('_docs._aboutMisskey.title'),
description: $t('_docs._aboutMisskey.description'),
img: '/img/docs/mi_ai_docs.png',
cutBottom: true,
},
{
to: localePath('/docs/releases'),
title: $t('_docs._changelog.title'),
description: $t('_docs._changelog.description'),
img: '/img/emojis/rocket_3d.png',
}
]" />
2023-07-10 19:54:13 +02:00
<DocsReadersNav section-id="forUsers" id="forUsers" />
2023-07-17 18:43:55 +02:00
<DocsReadersNav section-id="forAdmin" id="forAdmin" />
<DocsReadersNav section-id="forDevelopers" id="forDevelopers" />
2023-07-10 19:54:13 +02:00
</div>
</div>
2023-07-10 13:41:29 +02:00
</div>
</template>
<script setup lang="ts">
2023-07-10 19:54:13 +02:00
const localePath = useLocalePath();
2023-09-26 09:55:14 +02:00
const { t, locale } = useI18n();
const route = useRoute();
route.meta.title = t('_docs.title');
2023-12-02 07:01:48 +01:00
route.meta.description = t('_docs.description');
2023-07-10 13:41:29 +02:00
</script>
<style scoped>
</style>