2018-08-11 01:47:10 -04:00
|
|
|
<template>
|
2018-12-08 02:48:15 -05:00
|
|
|
<section class="section fd-content">
|
2018-08-11 01:47:10 -04:00
|
|
|
<div class="container">
|
|
|
|
<div class="columns is-centered">
|
|
|
|
<div class="column is-four-fifths">
|
2020-10-06 11:15:02 -04:00
|
|
|
<section v-if="$slots['options']">
|
|
|
|
<slot name="options"></slot>
|
|
|
|
<nav class="buttons is-centered" style="margin-bottom: 6px; margin-top: 16px;">
|
|
|
|
<a class="button is-small is-white" @click="scroll_to_top"><span class="icon is-small"><i class="mdi mdi-chevron-up"></i></span></a>
|
|
|
|
</nav>
|
|
|
|
</section>
|
2018-12-08 02:48:15 -05:00
|
|
|
<nav class="level" id="top">
|
2018-08-11 01:47:10 -04:00
|
|
|
<!-- Left side -->
|
|
|
|
<div class="level-left">
|
|
|
|
<div class="level-item has-text-centered-mobile">
|
|
|
|
<div>
|
|
|
|
<slot name="heading-left"></slot>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Right side -->
|
|
|
|
<div class="level-right has-text-centered-mobile">
|
|
|
|
<slot name="heading-right"></slot>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
<slot name="content"></slot>
|
|
|
|
<div style="margin-top: 16px;">
|
|
|
|
<slot name="footer"></slot>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2020-10-06 11:15:02 -04:00
|
|
|
export default {
|
|
|
|
name: 'ContentWithHeading',
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
scroll_to_top: function () {
|
|
|
|
window.scrollTo({ top: 0, behavior: 'smooth' })
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-08-11 01:47:10 -04:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
</style>
|