60 lines
1.1 KiB
Vue
60 lines
1.1 KiB
Vue
<template>
|
|
<div class="page">
|
|
<div class="page-content">
|
|
<router-link class="back" to="/" title="Back">
|
|
<img src="@/assets/feather/arrow-left.svg">
|
|
</router-link>
|
|
<h1 class="page-heading"><slot name="heading"></slot></h1>
|
|
<div class="static-text"><slot name="text"></slot></div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped lang="scss">
|
|
@import "../styles/layout";
|
|
|
|
.page {
|
|
align-items: flex-start;
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: $content-gap;
|
|
margin: 0 auto;
|
|
max-width: $wide-content-width + $content-gap + $wide-sidebar-width;
|
|
padding-top: 20vh;
|
|
}
|
|
|
|
.page-content {
|
|
max-width: $wide-content-width;
|
|
min-width: 0;
|
|
}
|
|
|
|
.back {
|
|
position: absolute;
|
|
top: $body-padding;
|
|
|
|
img {
|
|
filter: var(--text-colorizer);
|
|
height: 40px;
|
|
width: 40px;
|
|
}
|
|
}
|
|
|
|
h1.page-heading {
|
|
font-size: 60px;
|
|
font-weight: bold;
|
|
margin: 0 0 20px;
|
|
//text-transform: uppercase;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.static-text {
|
|
font-size: 24px;
|
|
}
|
|
|
|
@media screen and (max-width: $screen-breakpoint-small) {
|
|
.page {
|
|
padding-top: $content-gap;
|
|
}
|
|
}
|
|
</style>
|