Add sections

This commit is contained in:
2023-01-16 10:14:39 +01:00
parent ea00e78a8d
commit 02b0685f48
17 changed files with 193 additions and 15 deletions

View File

@ -0,0 +1,20 @@
<template>
<Navbar />
<main>
<div class="container mx-auto">
<h1 class="text-5xl font-bold">
{{ t("hello") }}
</h1>
</div>
</main>
</template>
<script setup lang="ts">
import Navbar from "@/components/navbar/Navbar.vue";
import { useI18n } from "vue-i18n";
import locale from "./locale.json";
const { t } = useI18n({ messages: locale });
</script>

View File

@ -0,0 +1,8 @@
{
"en": {
"hello": "Hello"
},
"it": {
"hello": "Ciao"
}
}