All files / apps/huella-legal/layers/archive/app/components/home Recent.vue

100% Statements 3/3
100% Branches 0/0
100% Functions 1/1
100% Lines 3/3

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  2x         2x                       2x    
<template>
    <UContainer as="section" :aria-labelledby="titleId" class="pb-16 lg:pb-20">
        <BaseSectionHeading
            :id="titleId"
            :title="$t('homeRecent.title')"
            :action="{ label: $t('homeRecent.all'), to: { name: 'publications' } }"
        />
        <LazySummaryGrid hydrate-on-visible :articles hide-orphan class="mt-8" />
    </UContainer>
</template>
 
<script setup lang="ts">
interface Props {
    articles: ArticleSummary[];
}
 
defineProps<Props>();
 
const titleId = useId();
</script>