Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | 6x 4x 5x | <template>
<section
v-if="articles.length"
aria-labelledby="mas-area"
class="border-t border-default bg-muted print:hidden"
>
<UContainer class="grid grid-cols-1 py-16 lg:grid-cols-12 lg:gap-x-8 lg:py-20">
<div class="lg:col-span-9 lg:col-start-4">
<BaseSectionHeading
id="mas-area"
:title="$t('article.related.title', { subject: category.name })"
:action="{
label: $t('article.related.all'),
to: { name: 'category', params: { slug: category.slug } },
}"
/>
<SummaryList :articles variant="row" />
</div>
</UContainer>
</section>
</template>
<script setup lang="ts">
interface Props {
category: Category;
articles: ArticleSummary[];
}
defineProps<Props>();
</script>
|