<template>
  <Block class="space-forms-container" title-tag="h3" :title="$_tr('title')">
    <Link
      :inline="false"
      :href="{ name: 'FormPage', params: { slug: 'ajouter-un-collaborateur' } }"
    >
      <Card>
        <IconText icon="directory">
          {{ $_tr('button.add') }}
        </IconText>
      </Card>
    </Link>

    <Link
      :inline="false"
      :href="{
        name: 'FormPage',
        params: { slug: 'supprimer-un-collaborateur' }
      }"
    >
      <Card class="mt-m">
        <IconText icon="directory">
          {{ $_tr('button.delete') }}
        </IconText>
      </Card>
    </Link>
  </Block>
</template>

<script>
import Block from '@inside-commons/components/lib/Block'
import { Card, Link } from 'inside-collection/components'
import { IconText } from 'inside-collection/atoms'

export default {
  name: 'SpaceForms',
  $_i18nRootPath: 'customs.SPACE.FORMS',
  components: { Block, Card, IconText, Link }
}
</script>
