<template>
  <v-app>
    <v-main>
      <div v-if="store.token === null">
        <loginPage />
      </div>
      <div v-else>
        <MainPage />
      </div>
    </v-main>
  </v-app>
</template>

<script setup lang="ts">
import MainPage from "./components/MainPage.vue";
import loginPage from "./components/loginPage.vue";
import { store } from "./store";
</script>

<style scoped>
html,
body,
main {
  background-color: #e3e3e3;
}
</style>
