apiary/web/frontend/src/App.vue

72 lines
1.7 KiB
Vue
Raw Normal View History

2021-04-10 05:58:01 +00:00
<template>
<div id="app">
<div id="apiary-navbar">
2021-04-10 21:53:39 +00:00
<b-navbar toggleable="md" type="dark" variant="dark">
2021-04-10 05:58:01 +00:00
<b-navbar-brand href="#">
<img
alt="logo"
src="logo192.png"
width="29"
height="29"
class="d-inline-block align-top"
/>
apiary.t-juice.club
</b-navbar-brand>
2021-04-10 21:53:39 +00:00
<b-navbar-toggle target="nav-collapse"></b-navbar-toggle>
<b-collapse id="nav-collapse" is-nav>
<b-navbar-nav class="mr-auto">
<b-nav-item :to="'/'">Home</b-nav-item>
<b-nav-item :to="'/stats'">Stats</b-nav-item>
<b-nav-item :to="'/attempts'">Attempts</b-nav-item>
</b-navbar-nav>
</b-collapse>
2021-04-10 05:58:01 +00:00
</b-navbar>
</div>
2021-04-10 21:53:39 +00:00
<b-container id="main-content-container" fluid="md">
<router-view></router-view>
</b-container>
2021-04-10 05:58:01 +00:00
</div>
</template>
<script lang="ts">
import { Component, Vue } from 'vue-property-decorator';
import AttemptList from '@/components/AttemptList.vue';
import Stats from '@/components/Stats.vue';
@Component({
components: {
AttemptList,
Stats,
},
})
export default class App extends Vue {}
</script>
<style lang="scss">
2021-04-10 22:17:23 +00:00
$font-stack-header: 'Secular One', sans-serif;
$font-stack-content: 'Rubik', sans-serif;
2021-04-10 05:58:01 +00:00
#app {
2021-04-10 22:17:23 +00:00
font-family: $font-stack-content;
2021-04-10 05:58:01 +00:00
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
margin-top: 0;
}
.navbar-brand {
2021-04-10 22:17:23 +00:00
font-family: $font-stack-header;
2021-04-10 05:58:01 +00:00
}
.navbar-nav a {
2021-04-10 22:17:23 +00:00
font-family: $font-stack-content;
}
h1 h2 h3 {
font-family: $font-stack-header;
}
#main-content-container {
margin: 50px;
2021-04-10 22:21:47 +00:00
text-align: center;
2021-04-10 05:58:01 +00:00
}
</style>