<template>
  <CtaItemBlock
    :title="$_tr('title')"
    :link="link"
    :link_label="$_tr('link')"
    :image="eventImage"
    background_color="#50748A"
  />
</template>

<script>
import CtaItemBlock from '@inside-commons/components/sub-components/CtaItemBlock'

export default {
  name: 'EventCtaItem',
  $_i18nRootPath: 'customs.HOMEPAGE.events.cta',
  components: {
    CtaItemBlock
  },
  computed: {
    eventImage() {
      return this.$store.getters.getInsideSettings('homepage.events_image_hp')
    },
    link() {
      return { name: 'EventsCalendarPage' }
    }
  }
}
</script>
