Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | 2x 1x 2x 4x 2x 4x 1x | <template>
<section class="border-y border-default bg-muted">
<UContainer class="py-16 lg:py-24">
<BaseSectionHeading
:kicker="$t('aboutTopics.kicker')"
:title="$t('aboutTopics.title')"
:action="{ label: $t('aboutTopics.action'), to: { name: 'categories' } }"
/>
<ul class="mt-6 divide-y divide-default">
<UPageFeature
v-for="(topic, index) in TOPICS"
:key="topic.key"
as="li"
orientation="horizontal"
:icon="topic.icon"
:description="$t(`aboutTopics.${topic.key}.body`)"
:style="{ '--step': index }"
:ui="{
root: 'hl-about-reveal gap-5 py-6 md:items-center md:gap-10',
leading: 'mt-1 p-0 md:mt-0',
leadingIcon: 'size-7 md:size-8',
wrapper:
'md:grid md:flex-1 md:grid-cols-[minmax(0,18rem)_1fr] md:items-center md:gap-x-10',
description: 'md:mt-0',
}"
>
<template #title>
<h3 class="md:text-h3">
{{ $t(`aboutTopics.${topic.key}.title`) }}
</h3>
</template>
</UPageFeature>
</ul>
</UContainer>
</section>
</template>
<script setup lang="ts">
const TOPICS = [
{ key: "criminal", icon: "i-lucide-gavel" },
{ key: "fundamentalRights", icon: "i-lucide-shield-check" },
{ key: "caseLaw", icon: "i-lucide-landmark" },
{ key: "more", icon: "i-lucide-library" },
] as const;
</script>
|