ui/src/App.vue

45 lines
949 B
Vue
Raw Normal View History

2022-04-09 03:44:38 +00:00
<script setup lang="ts">
2022-04-09 16:56:23 +00:00
import { MathStatement } from "./support/parse";
import { MathPage } from "./support/page";
(window as any).Stmt = MathStatement;
(window as any).Pg = MathPage;
2022-04-09 03:44:38 +00:00
</script>
<template>
2022-04-09 16:56:23 +00:00
<v-app>
<v-app-bar height="30" elevation="0">
2022-04-09 16:33:41 +00:00
<div id="nav">
<router-link class="links" to="/">Home</router-link> |
<router-link class="links" to="/scratch">Scratch Testing</router-link> |
<router-link class="links" to="/editor">Editor</router-link>
</div>
</v-app-bar>
<v-main>
2022-04-09 16:56:23 +00:00
<v-card elevation="0" height="h-100">
2022-04-09 17:04:02 +00:00
<router-view />
2022-04-09 16:56:23 +00:00
2022-04-09 16:33:41 +00:00
</v-card>
</v-main>
</v-app>
2022-04-09 03:44:38 +00:00
</template>
<style>
#app {
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
margin-top: 60px;
}
2022-04-09 16:33:41 +00:00
.links {
color: #fff;
}
2022-04-09 16:56:23 +00:00
.links:visited {
2022-04-09 16:33:41 +00:00
color: #fff;
}
2022-04-09 03:44:38 +00:00
</style>