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

33.33% Statements 1/3
0% Branches 0/2
0% Functions 0/1
50% Lines 1/2

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  7x                                                                    
<template>
    <ol class="flex flex-wrap gap-1.5">
        <li
            v-for="(step, index) in PIPELINE"
            :key="step"
            data-pipeline-step
            class="border border-default px-2 py-1 font-mono text-xs text-muted"
            :style="{ '--step': index }"
        >
            {{ $t(`method.agents.pipeline.${step}.step`) }}
        </li>
    </ol>
</template>
 
<style scoped>
@media (prefers-reduced-motion: no-preference) {
    [data-pipeline-step] {
        animation: lit 3s calc(var(--step) * 0.5s) infinite;
    }
}
 
@keyframes lit {
    0%,
    16% {
        border-color: var(--ui-primary);
        color: var(--ui-primary);
    }
 
    17%,
    100% {
        border-color: var(--ui-border);
        color: var(--ui-text-muted);
    }
}
</style>