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">
|
|
|
|
$font-stack: 'Secular One';
|
|
|
|
#app {
|
|
|
|
font-family: Avenir, Helvetica, Arial, sans-serif;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
text-align: center;
|
|
|
|
color: #2c3e50;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
.navbar-brand {
|
|
|
|
font-family: 'Secular One', sans-serif;
|
|
|
|
}
|
|
|
|
.navbar-nav a {
|
|
|
|
font-family: 'Rubik';
|
|
|
|
}
|
|
|
|
</style>
|