All files / apps/huella-legal/layers/publish/app/components PublishThesis.vue

100% Statements 4/4
100% Branches 0/0
100% Functions 0/0
100% Lines 4/4

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  1x         1x             1x                         1x    
<template>
    <section
        :aria-labelledby="headingId"
        class="rounded-sm bg-inverted p-6 text-default surface-inverted"
    >
        <span
            class="flex size-11 items-center justify-center rounded-full bg-elevated text-secondary"
        >
            <UIcon name="i-lucide-graduation-cap" class="size-5" />
        </span>
        <h2 :id="headingId" class="mt-4 font-serif text-h3 text-highlighted">
            {{ $t("publish.thesis.title") }}
        </h2>
        <p class="mt-2 font-serif text-base/relaxed">{{ $t("publish.thesis.body") }}</p>
        <UButton
            variant="link"
            color="neutral"
            :label="$t('publish.thesis.action')"
            trailing-icon="i-lucide-arrow-right"
            :to="{ name: 'publications', query: { format: 'tfg-tfm' } }"
            class="mt-2 -ml-3 text-huella-teal-200 hover:text-highlighted"
        />
    </section>
</template>
 
<script setup lang="ts">
const headingId = useId();
</script>