2020-12-20 17:27:26 +01:00
|
|
|
<template>
|
2021-01-03 20:50:52 +01:00
|
|
|
<main>
|
2021-01-01 16:35:35 +01:00
|
|
|
<BaseLogo id="logo" size="medium" center class="space-top" />
|
2021-01-03 20:50:52 +01:00
|
|
|
<BaseContainer
|
|
|
|
:width="width"
|
|
|
|
center
|
|
|
|
class="space-bottom"
|
|
|
|
:class="{ 'center-content': center }"
|
|
|
|
>
|
2020-12-20 17:27:26 +01:00
|
|
|
<BaseTitle v-if="title" center size="huge" class="centered">
|
|
|
|
{{ title }}
|
|
|
|
</BaseTitle>
|
|
|
|
<slot />
|
|
|
|
</BaseContainer>
|
2021-01-03 20:50:52 +01:00
|
|
|
</main>
|
2020-12-20 17:27:26 +01:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import BaseContainer from "@/components/base/BaseContainer";
|
|
|
|
import BaseLogo from "@/components/base/BaseLogo";
|
|
|
|
import BaseTitle from "@/components/base/BaseTitle";
|
|
|
|
|
|
|
|
export default {
|
|
|
|
name: "LayoutMinimal",
|
|
|
|
components: {
|
|
|
|
BaseContainer,
|
|
|
|
BaseLogo,
|
|
|
|
BaseTitle
|
|
|
|
},
|
|
|
|
props: {
|
|
|
|
width: {
|
|
|
|
default: "",
|
|
|
|
type: String
|
|
|
|
},
|
|
|
|
title: {
|
|
|
|
default: "",
|
|
|
|
type: String
|
2021-01-03 20:50:52 +01:00
|
|
|
},
|
|
|
|
center: {
|
|
|
|
default: false,
|
|
|
|
required: false,
|
|
|
|
type: Boolean
|
2020-12-20 17:27:26 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="sass" scoped>
|
|
|
|
.space-top
|
|
|
|
margin-top: 5rem
|
|
|
|
|
|
|
|
.space-bottom
|
|
|
|
margin-bottom: 5rem
|
2021-01-03 20:50:52 +01:00
|
|
|
|
|
|
|
.center-content
|
|
|
|
text-align: center
|
2020-12-20 17:27:26 +01:00
|
|
|
</style>
|