-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPageCTA.vue
More file actions
106 lines (102 loc) · 4.66 KB
/
Copy pathPageCTA.vue
File metadata and controls
106 lines (102 loc) · 4.66 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<script setup lang="ts">
const variants = ['solid', 'outline', 'soft', 'subtle', 'naked'] as const
const orientations = ['vertical', 'horizontal'] as const
</script>
<template>
<div class="flex flex-col gap-8">
<GallerySection title="Variants">
<div class="flex w-full flex-col gap-6">
<UPageCTA
v-for="v in variants"
:key="v"
:variant="v"
:title="`${v} — Agent Runtime`"
description="Deploy agents with deterministic scheduling, lease management, and full trace observability."
:links="[
{ label: 'Get started', color: 'primary', icon: 'i-material-symbols-rocket-launch-outline' },
{ label: 'View docs', color: 'neutral', variant: 'ghost', trailingIcon: 'i-material-symbols-arrow-forward' },
]"
/>
</div>
</GallerySection>
<GallerySection title="Orientations">
<div class="flex w-full flex-col gap-6">
<UPageCTA
v-for="o in orientations"
:key="o"
:orientation="o"
variant="outline"
:title="`${o} layout`"
:description="o === 'horizontal' ? 'Two-column layout — ideal for pairing a headline with a live agent status panel or metric widget.' : 'Centred single-column layout — use for high-impact call-to-action banners between doc sections.'"
:links="[
{ label: 'Launch session', color: 'primary', icon: 'i-material-symbols-play-circle-outline' },
]"
>
<div v-if="o === 'horizontal'" class="rounded-lg bg-elevated p-4 text-sm text-muted font-mono space-y-1">
<div class="flex items-center gap-2">
<span class="text-success">●</span>
<span>agent-42 · running · lease 58 s</span>
</div>
<div class="flex items-center gap-2">
<span class="text-warning">●</span>
<span>agent-17 · pending · queue pos 3</span>
</div>
<div class="flex items-center gap-2">
<span class="text-neutral">●</span>
<span>agent-09 · idle · no lease</span>
</div>
</div>
</UPageCTA>
</div>
</GallerySection>
<GallerySection title="Reverse slot order">
<UPageCTA
orientation="horizontal"
variant="soft"
reverse
title="Trace every event"
description="ARCP captures structured runtime traces for every job execution — replay, diff, and audit with zero extra instrumentation."
:links="[
{ label: 'Explore traces', color: 'primary', icon: 'i-material-symbols-timeline' },
{ label: 'Read the spec', color: 'neutral', variant: 'ghost' },
]"
class="w-full"
>
<div class="rounded-lg bg-elevated p-4 text-xs font-mono text-muted space-y-1 leading-relaxed">
<div><span class="text-info">TRACE</span> job:run · span 0 · 0 ms</div>
<div class="pl-4"><span class="text-info">SPAN</span> schedule:assign · 1 ms</div>
<div class="pl-4"><span class="text-info">SPAN</span> lease:acquire · 3 ms</div>
<div class="pl-8"><span class="text-success">EVENT</span> lease.granted ttl=60s</div>
<div class="pl-4"><span class="text-info">SPAN</span> agent:invoke · 214 ms</div>
<div class="pl-8"><span class="text-success">EVENT</span> output.streamed tokens=412</div>
<div class="pl-4"><span class="text-info">SPAN</span> lease:release · 1 ms</div>
<div><span class="text-success">EVENT</span> job.completed · total 219 ms</div>
</div>
</UPageCTA>
</GallerySection>
<GallerySection title="With top / bottom slots">
<UPageCTA
variant="subtle"
title="Ready to ship your first agent?"
description="The ARCP SDK handles scheduling, leasing, and retries so your team focuses on runtime logic — not infrastructure."
:links="[
{ label: 'Start free', color: 'primary', size: 'lg', icon: 'i-material-symbols-bolt' },
{ label: 'Book a demo', color: 'neutral', variant: 'outline', size: 'lg' },
]"
class="w-full"
>
<template #top>
<div class="flex items-center justify-center gap-2 text-xs text-muted uppercase tracking-widest mb-2">
<UIcon name="i-material-symbols-verified-outline" class="text-success" />
Trusted by 200+ engineering teams
</div>
</template>
<template #bottom>
<p class="text-center text-xs text-dimmed mt-4">
No credit card required · SOC 2 Type II · 99.9 % SLA
</p>
</template>
</UPageCTA>
</GallerySection>
</div>
</template>