<template>
  <Page :fetched-data="fetchedData">
    <template #banner>
      <Banner
        :static-data="fetchedData"
        :back="{
          href: {
            name: 'SpacesPage',
            params: {
              slug: $route.query.space || 'espace-rh'
            }
          },
          title: $_tc('customs.SPACES_PAGES.back', ['l’espace RH'])
        }"
      />
    </template>
  </Page>
</template>

<script>
import Page from '@inside-layouts/components/pages/SimplePage'
import Banner from '@inside-commons/components/lib/Banner'

export default {
  name: 'SpacesPagesContainer',
  components: { Page, Banner },
  props: {
    fetchedData: {
      type: Object,
      required: true
    }
  }
}
</script>
