mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-14 04:03:51 +00:00
42 lines
1008 B
Vue
42 lines
1008 B
Vue
<template>
|
|
<div id="app" class="d-flex flex-column vh-100">
|
|
<NavBar />
|
|
<BToaster></BToaster>
|
|
<BodyLayout class="flex-fill overflow-auto" />
|
|
<NavFooter />
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import NavBar from '@/components/layout/NavBar.vue';
|
|
import NavFooter from '@/components/layout/NavFooter.vue';
|
|
import BodyLayout from '@/components/layout/BodyLayout.vue';
|
|
import { setTimezone } from './shared/formatters';
|
|
import { onMounted, watch } from 'vue';
|
|
import { useSettingsStore } from './stores/settings';
|
|
const settingsStore = useSettingsStore();
|
|
onMounted(() => {
|
|
setTimezone(settingsStore.timezone);
|
|
});
|
|
watch(
|
|
() => settingsStore.timezone,
|
|
(tz) => {
|
|
console.log('timezone changed', tz);
|
|
setTimezone(tz);
|
|
},
|
|
);
|
|
</script>
|
|
|
|
<style scoped>
|
|
#app {
|
|
font-family: Avenir, Helvetica, Arial, sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
text-align: center;
|
|
}
|
|
|
|
/* * {
|
|
outline: 1px solid #f00 !important;
|
|
} */
|
|
</style>
|