|
177 | 177 | class="@container col-span-full grid h-[70svh] max-h-156 place-content-center sm:pt-12 md:pt-0" |
178 | 178 | > |
179 | 179 | <Stack class="relative grid justify-items-center gap-5 text-center"> |
180 | | - <img |
181 | | - class="relative z-50 mb-8" |
182 | | - src={vaultaLogo} |
183 | | - alt={networkName} |
184 | | - fetchpriority="high" |
185 | | - loading="eager" |
186 | | - /> |
| 180 | + <svg |
| 181 | + class="z-50 mb-2 h-auto w-64" |
| 182 | + width="81" |
| 183 | + height="33" |
| 184 | + viewBox="0 0 81 33" |
| 185 | + fill="none" |
| 186 | + xmlns="http://www.w3.org/2000/svg" |
| 187 | + > |
| 188 | + <path |
| 189 | + d="M53.9058 8.10812H42.9195C42.4884 8.10812 42.0742 8.27376 41.7692 8.56834L16.4699 33H0V9.47065L9.79565 0.00043682V26.2295H11.1953L36.759 1.54238C37.7818 0.554629 39.1685 0 40.6146 0H53.9058V8.10855V8.10812ZM81 0H64.5297L39.2308 24.4312C38.9258 24.7258 38.5116 24.8912 38.0805 24.8912H27.0942V32.9996H40.3739C41.8274 32.9996 43.2214 32.4423 44.2487 31.4495L69.8042 6.77093H71.2039V28.9321H55.4209V33H71.2039L72.6579 31.5944L74.0137 30.2837L81 23.5298V0Z" |
| 190 | + fill="currentColor" |
| 191 | + /> |
| 192 | + </svg> |
187 | 193 |
|
188 | 194 | <h1 |
189 | 195 | class="max-w-128 text-3xl leading-tight font-bold text-balance lg:text-4xl lg:leading-tight" |
|
193 | 199 | network: networkName |
194 | 200 | })}. |
195 | 201 | </h1> |
196 | | - <p class="text-muted mb-2 text-xl leading-tight text-balance lg:text-xl lg:leading-tight"> |
| 202 | + <p |
| 203 | + class="text-muted mb-2 max-w-md rounded-lg text-xl leading-tight text-pretty backdrop-blur lg:text-xl lg:leading-tight" |
| 204 | + > |
197 | 205 | {m.homepage_hero_description({ |
198 | 206 | network: networkName |
199 | 207 | })} |
|
203 | 211 | <!-- <div class="grid gap-4 @2xl:grid-cols-2"> --> |
204 | 212 | <!-- <Button variant="primary">Create your Vaulta account</Button> --> |
205 | 213 | <Button |
206 | | - class="text-primary bg-black/20 backdrop-blur" |
| 214 | + class="text-primary bg-surface-container-lowest/20 backdrop-blur" |
207 | 215 | href="https://www.vaulta.com/resources/opening-the-gateway-to-web3-banking" |
208 | 216 | > |
209 | 217 | About the Vaulta rebrand |
|
220 | 228 | height="300" |
221 | 229 | class="hidden" |
222 | 230 | > |
223 | | - <filter id="n" x="0" y="0" width="100%" height="100%"> |
| 231 | + <filter id="nd" x="0" y="0" width="100%" height="100%"> |
224 | 232 | <feTurbulence type="fractalNoise" baseFrequency="0.4" /> |
225 | 233 | <feColorMatrix type="saturate" values="0" /> |
226 | 234 | <feBlend in="SourceGraphic" mode="multiply" /> |
227 | 235 | </filter> |
| 236 | + |
| 237 | + <filter id="nl" x="0" y="0" width="100%" height="100%"> |
| 238 | + <feTurbulence type="fractalNoise" baseFrequency="0.5" /> |
| 239 | + <feColorMatrix type="saturate" values="0" /> |
| 240 | + <feBlend in="SourceGraphic" mode="screen" /> |
| 241 | + </filter> |
228 | 242 | </svg> |
229 | 243 |
|
230 | 244 | <style> |
|
233 | 247 | contain: paint; |
234 | 248 | } |
235 | 249 |
|
| 250 | + [data-scheme='light'] { |
| 251 | + body::before { |
| 252 | + background: linear-gradient(to bottom, transparent 60svh, var(--color-background) 95svh), |
| 253 | + radial-gradient( |
| 254 | + farthest-side at 150% 30%, |
| 255 | + var(--color-background), |
| 256 | + #2e3bff30 30%, |
| 257 | + oklch(from var(--color-primary) l c calc(h - 10) / 0.4) 45%, |
| 258 | + oklch(from var(--color-primary) l c calc(h - 10) / 0.6) 50%, |
| 259 | + transparent 65% |
| 260 | + ), |
| 261 | + radial-gradient( |
| 262 | + circle at top 0rem left -60%, |
| 263 | + var(--color-background), |
| 264 | + #2e3bff50 5%, |
| 265 | + oklch(from var(--color-primary) l c calc(h - 10) / 0.9) 10%, |
| 266 | + transparent 50% |
| 267 | + ), |
| 268 | + var(--color-background); |
| 269 | + background-repeat: no-repeat; |
| 270 | + background-size: |
| 271 | + 100% 100%, |
| 272 | + 100% 300vh, |
| 273 | + 100% 100vh; |
| 274 | + position: absolute; |
| 275 | + inset: 0; |
| 276 | + content: ''; |
| 277 | + filter: url(#nl); |
| 278 | + } |
| 279 | + } |
| 280 | +
|
236 | 281 | body::before { |
237 | 282 | background: linear-gradient(to bottom, transparent 70svh, var(--color-background) 90svh), |
238 | 283 | radial-gradient( |
239 | 284 | farthest-side at 150% 30%, |
240 | 285 | #190d1c, |
241 | 286 | #190d1c 30%, |
242 | 287 | #2e3bff30 40%, |
243 | | - #667cff80 55%, |
244 | | - #667cff99 56%, |
| 288 | + #667cff80 52%, |
| 289 | + #667cff95 56%, |
245 | 290 | #667cff90 57%, |
246 | 291 | transparent 65% |
247 | 292 | ), |
|
262 | 307 | position: absolute; |
263 | 308 | inset: 0; |
264 | 309 | content: ''; |
265 | | - filter: url(#n); |
| 310 | + filter: url(#nd); |
266 | 311 | } |
267 | 312 |
|
268 | 313 | /* Safari can't use the noise filter */ |
|
0 commit comments