feat: replace hard-coded content with i18n translation keys
This commit is contained in:
parent
7fe9cdeef3
commit
eefc4cc8d4
9 changed files with 80 additions and 272 deletions
|
@ -4,14 +4,13 @@ import WelcomeHeader from "@/components/WelcomeHeader.vue";
|
|||
|
||||
<template>
|
||||
<WelcomeHeader>
|
||||
<template #main>Viktor Kraastav</template>
|
||||
<template #sub>Character Reference Page</template>
|
||||
<template #main>{{ $t("welcomeHeader.mainTitle") }}</template>
|
||||
<template #sub>{{ $t("welcomeHeader.subTitle") }}</template>
|
||||
</WelcomeHeader>
|
||||
|
||||
<section>
|
||||
<h3>Welcome to Viktor's Ref Page</h3>
|
||||
<h3>{{ $t("home.heading") }}</h3>
|
||||
|
||||
<p>Here you can learn all about the ankylosaurus named Viktor.</p>
|
||||
<p>Pick an item from the navigation to dive in!</p>
|
||||
<p v-for="p in $tm('home.paragraphs')">{{ p }}</p>
|
||||
</section>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue