add presentation page
This commit is contained in:
@@ -1,12 +1,48 @@
|
|||||||
<template>
|
<template>
|
||||||
<component-debug :component="this" />
|
<b-overlay
|
||||||
|
class="intro"
|
||||||
|
:show="page === undefined"
|
||||||
|
z-index="0"
|
||||||
|
>
|
||||||
|
<page-view v-if="page" :page="page" slug="intro" />
|
||||||
|
</b-overlay>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { PageView } from '@/components/layouts'
|
||||||
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'Introduction'
|
name: 'Introduction',
|
||||||
|
|
||||||
|
components: {
|
||||||
|
PageView
|
||||||
|
},
|
||||||
|
|
||||||
|
data () {
|
||||||
|
return {
|
||||||
|
page: undefined
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
async created () {
|
||||||
|
this.page = await this.$store.dispatch('QUERY_PAGE', 'intro')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
.intro {
|
||||||
|
min-height: 100%;
|
||||||
|
min-width: 100%;
|
||||||
|
|
||||||
|
.page-intro {
|
||||||
|
font-family: $font-family-text;
|
||||||
|
font-size: 3rem;
|
||||||
|
|
||||||
|
@include media-breakpoint-up($size-bp) {
|
||||||
|
font-size: 5rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user