feat: add transitions between pages

This commit is contained in:
Sebin Nyshkim 2023-09-04 22:11:34 +02:00
parent f2b408fce5
commit 68a43b6b9c
9 changed files with 269 additions and 227 deletions

View file

@ -3,14 +3,16 @@ import WelcomeHeader from '@/components/WelcomeHeader.vue'
</script>
<template>
<WelcomeHeader>
<template #main>{{ $t('welcomeHeader.mainTitle') }}</template>
<template #sub>{{ $t('welcomeHeader.subTitle') }}</template>
</WelcomeHeader>
<article>
<WelcomeHeader>
<template #main>{{ $t('welcomeHeader.mainTitle') }}</template>
<template #sub>{{ $t('welcomeHeader.subTitle') }}</template>
</WelcomeHeader>
<section>
<h3>{{ $t('home.heading') }}</h3>
<section>
<h3>{{ $t('home.heading') }}</h3>
<p v-for="(p, i) in $tm('home.paragraphs')" :key="i">{{ p }}</p>
</section>
<p v-for="(p, i) in $tm('home.paragraphs')" :key="i">{{ p }}</p>
</section>
</article>
</template>