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

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

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