You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
680 B
40 lines
680 B
<template>
|
|
<div class="dashboard-container">
|
|
<senior v-if="$store.getters.version === '18'" />
|
|
<intermediate v-else />
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import { mapGetters } from 'vuex'
|
|
import Senior from './components/senior'
|
|
import Intermediate from './components/intermediate'
|
|
|
|
export default {
|
|
name: 'Dashboard',
|
|
components: { Senior, Intermediate },
|
|
data() {
|
|
const year = new Date().getFullYear()
|
|
return {
|
|
year: year
|
|
}
|
|
},
|
|
computed: {
|
|
...mapGetters([
|
|
'name'
|
|
])
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.dashboard {
|
|
&-container {
|
|
margin: 30px;
|
|
}
|
|
&-text {
|
|
font-size: 30px;
|
|
line-height: 46px;
|
|
}
|
|
}
|
|
</style>
|
|
|