<script setup lang="ts">
import { useI18nMenus } from '../composables/useI18nMenus'
import type { Feature } from '../../types/i18nLists'

const { t, tm, rt } = useI18n()
const features = useI18nMenus<Feature>('home.features.items', tm, rt)
</script>

<template>
  <NuxtLayout>
    <UPageHero
      :title="t('website.title')"
      :description="t('website.description')"
    />
    <UPageSection
      :title="t('home.features.title')"
      :description="t('home.features.description')"
      :features="features.flat()"
    />
  </NuxtLayout>
</template>
