Line data Source code
1 16 : <template>
2 0 : <svg
3 : width="45"
4 : height="28"
5 : viewBox="0 -4 45 28"
6 : class="shrink-0"
7 : aria-hidden="true"
8 : >
9 : <defs>
10 : <mask
11 : :id="cutoutId"
12 : maskUnits="userSpaceOnUse"
13 : x="0"
14 : y="-4"
15 : width="45"
16 : height="28"
17 : >
18 : <rect x="0" y="-4" width="45" height="28" fill="#fff" />
19 : <circle cx="22.5" cy="6.25" r="12" fill="#000" />
20 : </mask>
21 : <linearGradient
22 : :id="codexGradientId"
23 : gradientUnits="userSpaceOnUse"
24 : x1="12"
25 : x2="12"
26 : y1="3"
27 : y2="21"
28 : >
29 0 : <stop
30 : v-for="stop in CODEX_GRADIENT_STOPS"
31 : :key="stop.offset"
32 : :offset="stop.offset"
33 : :stop-color="stop.color"
34 : />
35 : </linearGradient>
36 : </defs>
37 : <g :mask="`url(#${cutoutId})`">
38 : <g transform="rotate(-10 10 10)">
39 : <circle cx="10" cy="10" r="10" fill="#fff" />
40 : <path
41 : transform="translate(2 2) scale(0.8421) translate(-2.5 -2.5)"
42 : :fill="`url(#${codexGradientId})`"
43 : :d="CODEX_MARK_PATH"
44 : />
45 : </g>
46 : <g transform="rotate(10 35 10)">
47 : <circle cx="35" cy="10" r="10" fill="#f1ecec" />
48 : <g transform="translate(28.6 2) scale(0.05) translate(-128 -96)">
49 : <path fill="#cfcecd" d="M320 224V352H192V224H320Z" />
50 : <path
51 : fill="#211e1e"
52 : fill-rule="evenodd"
53 : clip-rule="evenodd"
54 : d="M384 416H128V96H384V416ZM320 160H192V352H320V160Z"
55 : />
56 : </g>
57 : </g>
58 : </g>
59 : <circle cx="22.5" cy="6.25" r="10" fill="#d97757" />
60 : <path
61 : transform="translate(14.5 -1.75) scale(0.6667)"
62 : fill="#fff"
63 : fill-rule="evenodd"
64 : clip-rule="evenodd"
65 : :d="CLAUDE_MARK_PATH"
66 : />
67 : </svg>
68 : </template>
69 :
70 : <script setup lang="ts">
71 : import { useId } from 'vue'
72 :
73 : import {
74 : CLAUDE_MARK_PATH,
75 : CODEX_GRADIENT_STOPS,
76 : CODEX_MARK_PATH
77 : } from '@/platform/workflow/deploy/components/agentMarkPaths'
78 :
79 0 : const cutoutId = useId()
80 0 : const codexGradientId = useId()
81 : </script>
|