1<template>
2  <div class="page-section">
3    <h2 v-if="sectionTitle">{{ sectionTitle }}</h2>
4    <slot />
5  </div>
6</template>
7
8<script>
9export default {
10  name: 'PageSection',
11  props: {
12    sectionTitle: {
13      type: String,
14      default: ''
15    }
16  }
17};
18</script>
19
20<style lang="scss" scoped>
21.page-section {
22  margin-bottom: $spacer * 4;
23}
24
25h2 {
26  @include font-size($h3-font-size);
27  margin-bottom: $spacer;
28}
29</style>
30