All files / apps/huella-legal/layers/archive/app/components/directory Intro.vue

100% Statements 5/5
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 30 31 32 33 34 35 36 37 38 39 40  1x             1x       1x                                                 1x    
<template>
    <div class="grid grid-cols-1 gap-4 lg:grid-cols-12 lg:gap-x-12">
        <BasePageHeading
            :kicker="$t('directoryIntro.kicker')"
            :title="$t('directoryIntro.title')"
            class="lg:col-span-7"
        />
        <div
            class="flex max-w-measure flex-col gap-5 font-serif text-reading text-toned lg:col-span-5 lg:pt-10"
        >
            <p>{{ $t("directoryIntro.lead", { count }) }}</p>
            <p>{{ $t("directoryIntro.thanks") }}</p>
            <div class="flex flex-col gap-3 pt-1 sm:flex-row">
                <UButton
                    :label="$t('directoryIntro.publish')"
                    :to="{ name: 'publish' }"
                    class="justify-center"
                />
                <UButton
                    variant="outline"
                    color="neutral"
                    :label="$t('directoryIntro.contact')"
                    :to="nav.contact"
                    class="justify-center"
                />
            </div>
        </div>
    </div>
</template>
 
<script setup lang="ts">
interface Props {
    count: number;
}
 
defineProps<Props>();
 
const { nav } = useAppConfig();
</script>