<template>
  <NewcomersListingBlock :items-per-page="2" :block-options="blockOptions" />
</template>

<script>
import NewcomersListingBlock from '@inside-newcomers/components/lib/NewcomersListingBlock'

export default {
  name: 'HomeMovementListing',
  components: { NewcomersListingBlock },
  data() {
    return {
      blockOptions: {
        title: this.$t(
          'customs.HOMEPAGE.movements.title',
          this.$store.getters.getCurrentLang
        ),
        link: { name: 'NewcomersListingPage' },
        linkLabel: this.$t(
          'customs.HOMEPAGE.movements.moreMovements',
          this.$store.getters.getCurrentLang
        ),
        titleTag: 'h3'
      }
    }
  }
}
</script>
