* navbar with protected routes

feature: #3
This commit is contained in:
2023-01-03 02:26:15 +01:00
parent 23c40c5468
commit 46dd4ef361
18 changed files with 304 additions and 443 deletions

View File

@@ -1,15 +1,17 @@
<template>
<div class="about">
<h1>This is an about page</h1>
<font-awesome-icon icon="fa-solid fa-user-secret" />
</div>
</template>
<style>
@media (min-width: 1024px) {
.about {
min-height: 100vh;
display: flex;
align-items: center;
}
}
</style>
<script setup>
import Navbar from "../components/Navbar.vue";
</script>
<script>
export default {
mounted() {
}
}
</script>
<template>
<Navbar/><!-- Causes rerendering each time todo: possible use in App.vue-->
<div class="about">
<h1>This is a About page</h1>
</div>
</template>
<style>
</style>