<template>
  <Slider :extra-filters="extraFilters" :slider-options="sliderOptions" />
</template>

<script>
import Slider from '@inside-news/components/lib/Slider'

export default {
  name: 'HomeNewsSlider',
  $_i18nRootPath: 'customs.HOMEPAGE.newsSlider',
  components: { Slider },
  data() {
    return {
      sliderOptions: {
        title: this.$t('customs.HOMEPAGE.newsSlider.title'),
        border: true,
        titleTag: 'h3'
      }
    }
  },
  computed: {
    extraFilters() {
      return {
        'is_featured:eq': 1
      }
    }
  }
}
</script>
