|
| 1 | +import { defineComponent, html } from 'regor' |
| 2 | + |
| 3 | +export interface InterruptedConnection {} |
| 4 | + |
| 5 | +const template = html`<svg |
| 6 | + viewBox="0 0 480 350" |
| 7 | + class="w-full d-block tone--accent tone-text" |
| 8 | + aria-hidden="true" |
| 9 | + focusable="false" |
| 10 | + xmlns="http://www.w3.org/2000/svg" |
| 11 | +> |
| 12 | + <defs> |
| 13 | + <radialGradient id="interrupted-connection-glow"> |
| 14 | + <stop stop-color="currentColor" stop-opacity="0.14"/> |
| 15 | + <stop offset="1" stop-color="currentColor" stop-opacity="0"/> |
| 16 | + </radialGradient> |
| 17 | + <filter |
| 18 | + id="interrupted-connection-shadow" |
| 19 | + x="-50%" |
| 20 | + y="-30%" |
| 21 | + width="200%" |
| 22 | + height="180%" |
| 23 | + > |
| 24 | + <feDropShadow |
| 25 | + dx="0" |
| 26 | + dy="12" |
| 27 | + stdDeviation="10" |
| 28 | + flood-color="currentColor" |
| 29 | + flood-opacity="0.1"/> |
| 30 | + </filter> |
| 31 | + </defs> |
| 32 | + <ellipse |
| 33 | + cx="240" |
| 34 | + cy="175" |
| 35 | + rx="190" |
| 36 | + ry="158" |
| 37 | + fill="url(#interrupted-connection-glow)"/> |
| 38 | + <g fill="none" stroke="currentColor"> |
| 39 | + <ellipse |
| 40 | + cx="240" |
| 41 | + cy="177" |
| 42 | + rx="185" |
| 43 | + ry="119" |
| 44 | + transform="rotate(-18 240 177)" |
| 45 | + stroke-opacity="0.12" |
| 46 | + stroke-dasharray="3 8"/> |
| 47 | + <path |
| 48 | + d="M42 292H70Q94 292 94 268V248" |
| 49 | + stroke-opacity="0.1" |
| 50 | + stroke-width="2"/> |
| 51 | + <path |
| 52 | + d="M34 270H56Q78 270 78 248V188Q78 166 104 166" |
| 53 | + stroke-opacity="0.45" |
| 54 | + stroke-width="7" |
| 55 | + stroke-linecap="round"/> |
| 56 | + <path |
| 57 | + d="M376 192H396Q422 192 422 218V270" |
| 58 | + stroke-opacity="0.45" |
| 59 | + stroke-width="7" |
| 60 | + stroke-linecap="round"/> |
| 61 | + <path |
| 62 | + d="M422 285V295" |
| 63 | + stroke-opacity="0.2" |
| 64 | + stroke-width="7" |
| 65 | + stroke-linecap="round"/> |
| 66 | + </g> |
| 67 | + <g filter="url(#interrupted-connection-shadow)"> |
| 68 | + <rect |
| 69 | + x="104" |
| 70 | + y="102" |
| 71 | + width="92" |
| 72 | + height="128" |
| 73 | + rx="20" |
| 74 | + fill="var(--ps-semantic-tone-neutral-canvas)" |
| 75 | + stroke="currentColor" |
| 76 | + stroke-opacity="0.35" |
| 77 | + stroke-width="1.5"/> |
| 78 | + <rect |
| 79 | + x="148" |
| 80 | + y="114" |
| 81 | + width="36" |
| 82 | + height="104" |
| 83 | + rx="11" |
| 84 | + fill="currentColor" |
| 85 | + opacity="0.08"/> |
| 86 | + <path |
| 87 | + d="M196 146H220M196 172H220" |
| 88 | + stroke="currentColor" |
| 89 | + stroke-opacity="0.8" |
| 90 | + stroke-width="8" |
| 91 | + stroke-linecap="round"/> |
| 92 | + <path |
| 93 | + d="M116 192V124Q116 114 126 114" |
| 94 | + fill="none" |
| 95 | + stroke="currentColor" |
| 96 | + stroke-opacity="0.12" |
| 97 | + stroke-width="2" |
| 98 | + stroke-linecap="round"/> |
| 99 | + <circle cx="125" cy="208" r="3" fill="currentColor" opacity="0.6"/> |
| 100 | + <rect |
| 101 | + x="284" |
| 102 | + y="128" |
| 103 | + width="92" |
| 104 | + height="128" |
| 105 | + rx="20" |
| 106 | + fill="var(--ps-semantic-tone-neutral-canvas)" |
| 107 | + stroke="currentColor" |
| 108 | + stroke-opacity="0.35" |
| 109 | + stroke-width="1.5"/> |
| 110 | + <rect |
| 111 | + x="296" |
| 112 | + y="140" |
| 113 | + width="36" |
| 114 | + height="104" |
| 115 | + rx="11" |
| 116 | + fill="currentColor" |
| 117 | + opacity="0.08"/> |
| 118 | + <path |
| 119 | + d="M260 170H284M260 196H284" |
| 120 | + stroke="currentColor" |
| 121 | + stroke-opacity="0.8" |
| 122 | + stroke-width="8" |
| 123 | + stroke-linecap="round"/> |
| 124 | + <path |
| 125 | + d="M364 218V150Q364 140 354 140" |
| 126 | + fill="none" |
| 127 | + stroke="currentColor" |
| 128 | + stroke-opacity="0.12" |
| 129 | + stroke-width="2" |
| 130 | + stroke-linecap="round"/> |
| 131 | + <circle cx="355" cy="234" r="3" fill="currentColor" opacity="0.3"/> |
| 132 | + </g> |
| 133 | + <g |
| 134 | + fill="none" |
| 135 | + stroke="currentColor" |
| 136 | + stroke-width="2.5" |
| 137 | + stroke-linecap="round" |
| 138 | + opacity="0.7" |
| 139 | + > |
| 140 | + <path d="M236 141L247 130M242 154H254M232 165L241 175"/> |
| 141 | + </g> |
| 142 | + <g transform="translate(251 71)"> |
| 143 | + <circle |
| 144 | + r="35" |
| 145 | + fill="none" |
| 146 | + stroke="currentColor" |
| 147 | + stroke-opacity="0.12" |
| 148 | + stroke-dasharray="2 6"/> |
| 149 | + <circle |
| 150 | + r="23" |
| 151 | + fill="var(--ps-semantic-tone-neutral-canvas)" |
| 152 | + stroke="currentColor" |
| 153 | + stroke-opacity="0.35"/> |
| 154 | + <path |
| 155 | + d="M0-9V2" |
| 156 | + stroke="currentColor" |
| 157 | + stroke-width="3" |
| 158 | + stroke-linecap="round"/> |
| 159 | + <circle cy="9" r="1.8" fill="currentColor"/> |
| 160 | + </g> |
| 161 | + <g fill="currentColor"> |
| 162 | + <circle cx="160" cy="284" r="3" opacity="0.2"/> |
| 163 | + <circle cx="177" cy="284" r="3" opacity="0.35"/> |
| 164 | + <circle cx="194" cy="284" r="3" opacity="0.6"/> |
| 165 | + </g> |
| 166 | + <path |
| 167 | + d="M365 78H377M371 72V84" |
| 168 | + stroke="currentColor" |
| 169 | + stroke-opacity="0.3" |
| 170 | + stroke-width="1.5" |
| 171 | + stroke-linecap="round"/> |
| 172 | +</svg>` |
| 173 | + |
| 174 | +export function defineInterruptedConnectionComponent() { |
| 175 | + return defineComponent<InterruptedConnection>(template) |
| 176 | +} |
0 commit comments