feat(ui): add 'Not found' catch all
[e-mobility-charging-stations-simulator.git] / ui / web / src / App.vue
CommitLineData
32de5a57 1<template>
32de5a57 2 <router-view />
877b880c
JB
3 <Container
4 v-show="$route.name !== 'charging-stations' && $route.name !== 'not-found'"
5 id="action-container"
6 >
c317ae3e
JB
7 <router-view name="action" />
8 </Container>
32de5a57
LM
9</template>
10
c317ae3e
JB
11<script setup lang="ts">
12import Container from '@/components/Container.vue'
13</script>
14
32de5a57
LM
15<style>
16#app {
1d41bc6b 17 height: fit-content;
c6308554
JB
18 width: 100%;
19 font-family: Tahoma, 'Arial Narrow', Arial, Helvetica, sans-serif;
32de5a57
LM
20 -webkit-font-smoothing: antialiased;
21 -moz-osx-font-smoothing: grayscale;
c317ae3e
JB
22 display: flex;
23 flex-direction: row;
9dc8b66f
JB
24 color: black;
25 background-color: white;
32de5a57
LM
26}
27
ca1e5439 28#action-container {
ef2b2d03 29 min-width: max-content;
c317ae3e
JB
30 display: flex;
31 flex-direction: column;
c317ae3e 32 justify-content: center;
239bd875 33 align-items: center;
ef2b2d03 34 text-align: center;
916f0920
JB
35 margin: 0.4%;
36 padding: 0.4%;
c317ae3e
JB
37 border: solid black;
38}
39
32de5a57 40body {
916f0920
JB
41 margin: 0.008%;
42 padding: 0.008%;
32de5a57
LM
43}
44</style>