<template>
  <EventsMinimalListing
    :filters="filters"
    :fractions="3"
    :pagination="false"
    direction="horizontal"
  />
</template>

<script>
import EventsMinimalListing from '@inside-events/components/lib/MinimalListing'
import { upcomingEventsDateFilters } from '@inside-events/constants'

export default {
  name: 'HomeEventsListing',
  $_i18nRootPath: 'customs.HOMEPAGE.events',
  components: { EventsMinimalListing },
  data() {
    return {
      filters: {
        'status:eq': 1,
        ...upcomingEventsDateFilters,
        limit: 3,
        sort: 'date:asc'
      }
    }
  }
}
</script>
