upend/ui/src/App.vue

63 lines
1.0 KiB
Vue

<template>
<div id="app">
<header><h1>UpEnd</h1></header>
<main>
<router-view/>
</main>
<footer>
<Jobs/>
</footer>
</div>
</template>
<script lang="ts">
import {defineComponent} from "vue";
import Jobs from "@/components/Jobs.vue";
export default defineComponent({
name: "App",
components: {Jobs}
});
</script>
<style lang="scss">
@import "../node_modules/normalize.css/normalize.css";
@import "../node_modules/@shoelace-style/shoelace/dist/shoelace/shoelace.css";
html, body, #app {
height: calc(100% - 1rem);
}
#app {
font-family: Helvetica, Arial, sans-serif;
color: #2c3e50;
display: flex;
flex-direction: column;
justify-content: space-between;
margin: 1rem;
--monospace-font: "Fira Code", "Consolas", "JetBrains Mono", "Inconsolata", monospace;
}
header {
box-shadow: var(--sl-shadow-large);
margin-bottom: 1rem;
padding: 1rem;
display: block;
background: white;
h1,
h2 {
font-size: 14pt;
font-weight: normal;
margin: 0;
}
}
main {
flex-grow: 1;
}
</style>