ContentBlock.vue 445 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 4 5 6 7 8 9
    slot
</template>

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

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