45 lines
787 B
Vue
Raw Normal View History

2023-11-04 00:27:28 +01:00
<template>
<div id="container">
<NavBar />
<router-view />
</div>
2023-11-04 00:27:28 +01:00
</template>
<script setup>
import { useSession } from './stores/session'
const session = useSession()
2023-11-07 18:55:20 +01:00
session.checkSession()
</script>
<!-- eslint-disable -->
<!-- eslint wants to combine this <script> and <script setup> which breaks the code ... -->
2023-11-04 00:27:28 +01:00
<script>
import NavBar from './components/NavBar'
2023-11-04 00:27:28 +01:00
export default {
name: 'App',
components: { NavBar }
2023-11-04 00:27:28 +01:00
}
</script>
<style>
html,
body {
background-color: #091833;
color: #ffffff;
}
2023-11-04 00:27:28 +01:00
#app {
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #ffffff;
margin-top: 1em;
}
#container {
margin: 1em auto;
width: fit-content;
2023-11-04 00:27:28 +01:00
}
</style>