ContentBlock.vue 523 Bytes
Newer Older
1
<template lang="pug">
2
  // div.bg-orange(:class="{'q-mt-xl': position !== 'first', 'q-pb-xl ui-border-bottom': position !== 'last'}")
3
  div(:class="{'q-mt-lg': position !== 'first', '': position !== 'last'}")
4 5 6 7 8 9 10
    slot
</template>

<script>
  import { mapGetters } from 'vuex'
  export default {
    name: 'content-block',
11
    props: ['position'],
12 13 14 15 16 17 18 19 20 21 22
    computed: {
      ...mapGetters({
        isMobile: 'globalSettings/getIsMobile'
      })
    }
  }
</script>

<style scoped lang="stylus">
  @import '~variables'
</style>