<script setup lang="ts">
import WelcomeHeader from '@/components/WelcomeHeader.vue'
</script>

<template>
  <article>
    <WelcomeHeader>
      <template #main>{{ $t('welcomeHeader.mainTitle') }}</template>
      <template #sub>{{ $t('welcomeHeader.subTitle') }}</template>
    </WelcomeHeader>

    <section>
      <h3>{{ $t('home.heading') }}</h3>

      <p v-for="(p, i) in $tm('home.paragraphs')" :key="i">{{ p }}</p>
    </section>
  </article>
</template>
