2023-09-24 11:35:25 +02:00
|
|
|
<template>
|
2023-11-11 14:50:19 +01:00
|
|
|
<div class="pt-12">
|
2023-11-11 15:48:24 +01:00
|
|
|
<div class="mx-auto max-w-screen-xl">
|
2023-12-18 09:51:09 +01:00
|
|
|
<GHero class="bg-white dark:bg-slate-950 mx-6 px-3 py-5 rounded-2xl">
|
2023-11-11 15:48:24 +01:00
|
|
|
<template #title>{{ $t('_tools.title') }}</template>
|
|
|
|
<template #description>
|
|
|
|
{{ $t('_tools.description') }}
|
|
|
|
</template>
|
|
|
|
<template #icon>
|
|
|
|
<div class="hidden lg:block relative px-6 py-8">
|
|
|
|
<GDots class="absolute top-0 left-0 w-28 h-28 text-accent-600" />
|
|
|
|
<GDots class="absolute bottom-0 right-0 w-28 h-28 text-accent-600" />
|
|
|
|
<div class="relative lg:w-48 h-48 flex items-center">
|
2023-12-20 11:38:29 +01:00
|
|
|
<img class="drop-shadow-xl hoverTada" src="/img/emojis/toolbox_3d.png" />
|
2023-11-11 15:48:24 +01:00
|
|
|
</div>
|
2023-09-24 11:35:25 +02:00
|
|
|
</div>
|
2023-11-11 15:48:24 +01:00
|
|
|
</template>
|
|
|
|
</GHero>
|
|
|
|
</div>
|
2023-11-11 14:50:19 +01:00
|
|
|
<div class="pb-12 pt-6">
|
|
|
|
<div class="container mx-auto max-w-screen-xl px-6 space-y-6">
|
2023-09-26 14:57:26 +02:00
|
|
|
<GLocalNav :items="sections.map((v) => ({
|
|
|
|
name: $t(v.title),
|
|
|
|
anchor: '#' + v.title.replaceAll('.', '_'),
|
|
|
|
}))" />
|
|
|
|
<section :id="section.title.replaceAll('.', '_')" v-for="section in sections">
|
2023-11-13 13:10:30 +01:00
|
|
|
<h2 class="text-2xl lg:text-3xl font-title font-bold mb-4">
|
2023-09-26 14:57:26 +02:00
|
|
|
{{ $t(section.title) }}
|
2023-09-24 11:35:25 +02:00
|
|
|
</h2>
|
2023-11-11 14:55:07 +01:00
|
|
|
<GLinks :wide="true" :gray="true" :items="section.items.map((e) => ({
|
2023-09-26 14:57:26 +02:00
|
|
|
title: $t(e.i18n),
|
|
|
|
description: $t(e.description),
|
|
|
|
to: localePath(e.to),
|
|
|
|
}))" />
|
2023-09-24 11:35:25 +02:00
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2023-11-11 14:50:19 +01:00
|
|
|
<script setup lang='ts'>
|
2023-09-26 14:57:26 +02:00
|
|
|
import sections from '@/assets/data/toolsNav';
|
|
|
|
|
2023-11-11 14:50:19 +01:00
|
|
|
definePageMeta({
|
|
|
|
layout: 'tools',
|
|
|
|
});
|
|
|
|
|
2023-12-03 05:00:52 +01:00
|
|
|
const { t } = useI18n();
|
2023-09-24 11:35:25 +02:00
|
|
|
const localePath = useLocalePath();
|
2023-12-03 05:00:52 +01:00
|
|
|
const route = useRoute();
|
|
|
|
|
|
|
|
route.meta.title = t('_tools.title');
|
|
|
|
route.meta.description = t('_tools.description');
|
2023-09-24 11:35:25 +02:00
|
|
|
</script>
|
|
|
|
|
2023-11-11 14:50:19 +01:00
|
|
|
<style module>
|
|
|
|
.mfmRoot {
|
|
|
|
@apply rounded-lg p-6 border break-words overflow-hidden;
|
|
|
|
font-family: Hiragino Maru Gothic Pro,BIZ UDGothic,Roboto,HelveticaNeue,Arial,sans-serif;
|
|
|
|
line-height: 1.35;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mfmRoot img {
|
|
|
|
display: inline;
|
2023-09-24 11:35:25 +02:00
|
|
|
}
|
2023-11-13 13:10:30 +01:00
|
|
|
</style>
|