<template>
  <Block :title="$_tr('title')" title-tag="h5" class="mb-xl">
    <component-listing
      id="project-news-listing"
      :static-data="news"
      direction="vertical"
    >
      <template #default="{ item }">
        <Resume v-bind="item" :key="item.uuid" />
      </template>
    </component-listing>
  </Block>
</template>

<script>
import Block from '@inside-commons/components/lib/Block'
import Resume from '@inside-news/components/lib/Resume'

export default {
  name: 'ProjectNews',
  $_i18nRootPath: 'customs.PROJECTS.news',
  components: {
    Block,
    Resume
  },
  props: {
    news: {
      type: Array,
      required: true
    }
  }
}
</script>
