All files / apps/portfolio/app/pages agentic-workflows.vue

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

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 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69                  1x   1x 1x     1x               1x 1x       1x       1x           1x     1x                                                 1x    
<template>
    <PageHero
        carry="hero-workflows"
        :title="$t('agenticWorkflows.title')"
        :mark="$t('agenticWorkflows.titleMark')"
        :lead="$t('agenticWorkflows.lead')"
    />
 
    <UContainer as="section" class="pb-20">
        <ol class="grid gap-10 border-t border-accented pt-10 md:grid-cols-5">
            <li v-for="(step, index) in STEPS" :key="step" class="flex flex-col gap-3">
                <span class="font-display text-section text-primary">{{ index + 1 }}</span>
                <span class="font-display text-2xl text-highlighted">
                    {{ $t(`agenticWorkflows.steps.${step}.title`) }}
                </span>
                <span class="text-base">{{ $t(`agenticWorkflows.steps.${step}.body`) }}</span>
            </li>
        </ol>
    </UContainer>
 
    <WorkflowProjectMaps />
 
    <UContainer as="section" class="pt-20">
        <div class="grid gap-6 md:grid-cols-12">
            <h2 class="font-display text-section text-highlighted md:col-span-5">
                {{ $t("agenticWorkflows.lessons.title") }}
                <mark>{{ $t("agenticWorkflows.lessons.titleMark") }}</mark>
            </h2>
            <p class="self-end text-base md:col-span-6 md:col-start-7">
                {{ $t("agenticWorkflows.lessons.line") }}
            </p>
        </div>
        <ul class="mt-10 flex flex-col">
            <li
                v-for="lesson in LESSONS"
                :key="lesson"
                class="grid gap-2 border-t border-default py-6 md:grid-cols-12"
            >
                <span class="font-display text-2xl text-highlighted md:col-span-5">
                    {{ $t(`agenticWorkflows.lessons.items.${lesson}.rule`) }}
                </span>
                <span class="text-base text-muted md:col-span-7">
                    {{ $t(`agenticWorkflows.lessons.items.${lesson}.paid`) }}
                </span>
            </li>
        </ul>
        <ULink :to="WORKFLOWS" class="mt-6 inline-block text-primary underline underline-offset-4">
            {{ $t("agenticWorkflows.lessons.all") }} →
        </ULink>
    </UContainer>
</template>
 
<script setup lang="ts">
const STEPS = ["template", "unblocked", "file", "agents", "lessons"] as const;
const LESSONS = [
    "answerFirst",
    "unknownsFirst",
    "hostDecision",
    "realDeploy",
    "blockedTicket",
] as const;
 
const WORKFLOWS = portalUrl("/workflows");
 
const { t } = useI18n();
 
useSeoMeta({ title: t("agenticWorkflows.head"), description: t("agenticWorkflows.lead") });
</script>