All files / apps/portfolio/app/components WorkflowTeaser.vue

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

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  9x         7x 7x     7x       7x   7x       9x       9x           7x   9x    
<template>
    <UContainer as="section" id="workflows" class="pb-20">
        <ULink
            to="/agentic-workflows"
            class="group grid items-center gap-10 border-t border-accented pt-10 md:grid-cols-12"
        >
            <div class="flex flex-col gap-5 md:col-span-6">
                <p class="font-mono text-xs text-muted uppercase">
                    {{ $t("workflowTeaser.kicker") }}
                </p>
                <h2 class="font-display text-section text-highlighted md:text-title">
                    {{ $t("workflowTeaser.title") }}
                    <mark>{{ $t("workflowTeaser.titleMark") }}</mark>
                </h2>
                <p class="max-w-md text-lg text-default">{{ $t("workflowTeaser.line") }}</p>
                <span
                    class="font-display text-2xl text-highlighted underline decoration-primary underline-offset-8 group-hover:text-primary"
                >
                    {{ $t("workflowTeaser.cta") }} →
                </span>
            </div>
            <div v-if="glyph" class="flex justify-center md:col-span-6">
                <WorkflowGlyph :map="glyph" :label="$t('workflowTeaser.glyphLabel')" />
            </div>
        </ULink>
    </UContainer>
</template>
 
<script setup lang="ts">
/** The project whose plan the teaser draws; its copy names it too. */
const PLAN = "huella-legal";
 
const { data: glyph } = await useWorkflowGlyph(PLAN);
</script>