Refactor: layout

This commit is contained in:
Rakantor committed 2022-11-03 15:32:22 +01:00
1 parent fe7d3d98b0
commit dba0ab3e23
8 files changed
+100 -62

No files matched your search

-17
View File
@@ -1,10 +1,5 @@
<template>
<v-container fluid fill-height>
<v-row>
<v-col cols="12">
<span class="text-h4">{{ title }}</span>
</v-col>
</v-row>
<NuxtChild />
</v-container>
</template>
@@ -16,20 +11,8 @@ export default {
courseID: undefined
}
},
computed: {
title () {
const courseName = this.$store.getters.getCourseByID(this.courseID).name
return `${this.courseID.toUpperCase()} - ${courseName}`
}
},
created () {
this.courseID = this.$route.params.course
}
}
</script>
<style>
.tete {
flex: 1 1 auto;
}
</style>