|
11 | 11 | </script> |
12 | 12 |
|
13 | 13 | {#if props.network.config.legacytoken} |
14 | | - <section class="@container col-span-full grid *:col-span-full *:col-start-1 *:row-start-1"> |
| 14 | + <section class="@container col-span-full"> |
15 | 15 | <aside |
16 | | - class="text-on-surface grid grid-cols-[auto_1fr_auto] items-center justify-items-center gap-4 rounded-lg bg-linear-to-r from-[#1C2399] to-[#2E3BFF] p-2 pr-4 shadow-lg *:row-start-1" |
| 16 | + class="flex flex-wrap items-center gap-4 gap-y-6 rounded-lg bg-linear-to-r from-[#1C2399] to-[#2E3BFF] p-4 shadow-lg" |
17 | 17 | > |
18 | | - <div class="text-on-surface col-start-2 py-4 md:col-span-3 md:col-start-1 md:text-center"> |
19 | | - <p class="text-lg font-semibold text-white"> |
20 | | - {m.common_network_swap_begun({ |
21 | | - network: props.network.chain.name |
22 | | - })} |
23 | | - </p> |
24 | | - <p class="text-sm"> |
25 | | - {m.common_network_swap_description_ratio({ |
26 | | - legacytoken: props.network.config.legacytoken?.name, |
27 | | - systemtoken: props.network.token.name, |
28 | | - ratio: '1:1' |
| 18 | + <div class="flex flex-1 items-center gap-4"> |
| 19 | + <svg |
| 20 | + class="mx-6 shrink-0" |
| 21 | + width="81" |
| 22 | + height="33" |
| 23 | + viewBox="0 0 81 33" |
| 24 | + fill="none" |
| 25 | + xmlns="http://www.w3.org/2000/svg" |
| 26 | + > |
| 27 | + <path |
| 28 | + 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" |
| 29 | + fill="currentColor" |
| 30 | + /> |
| 31 | + </svg> |
| 32 | + |
| 33 | + <div class="grid min-w-40 gap-1"> |
| 34 | + <p class="text-lg leading-tight font-semibold text-balance text-white"> |
| 35 | + {m.common_network_swap_begun({ |
| 36 | + network: props.network.chain.name |
| 37 | + })} |
| 38 | + </p> |
| 39 | + <p class="text-sm leading-snug text-pretty text-white/80"> |
| 40 | + {m.common_network_swap_description_ratio({ |
| 41 | + legacytoken: props.network.config.legacytoken?.name, |
| 42 | + systemtoken: props.network.token.name, |
| 43 | + ratio: '1:1' |
| 44 | + })} |
| 45 | + </p> |
| 46 | + </div> |
| 47 | + </div> |
| 48 | + |
| 49 | + <div class="grid w-full grid-cols-1 gap-2 @sm:grid-cols-2 @3xl:w-auto"> |
| 50 | + <Button |
| 51 | + class="text-white ring-white/10" |
| 52 | + variant="secondary" |
| 53 | + href="https://www.vaulta.com/resources/vaulta-token-swap-a-begins-may-14" |
| 54 | + > |
| 55 | + {m.common_learn_more()} |
| 56 | + </Button> |
| 57 | + <Button |
| 58 | + class="text-on-primary bg-white/90" |
| 59 | + href="/{props.network}/swap/{props.network.config.legacytoken.id.url}/{props.network.token |
| 60 | + .id.url}" |
| 61 | + > |
| 62 | + {m.common_swap_to_token({ |
| 63 | + token: props.network.token.name |
29 | 64 | })} |
30 | | - </p> |
| 65 | + </Button> |
31 | 66 | </div> |
32 | | - <Button |
33 | | - class="text-white" |
34 | | - variant="secondary" |
35 | | - href="https://www.vaulta.com/resources/vaulta-token-swap-a-begins-may-14" |
36 | | - > |
37 | | - {m.common_learn_more()} |
38 | | - </Button> |
39 | | - <Button |
40 | | - variant="primary" |
41 | | - href="/{props.network}/swap/{props.network.config.legacytoken.id.url}/{props.network.token |
42 | | - .id.url}" |
43 | | - > |
44 | | - {m.common_swap_to_token({ |
45 | | - token: props.network.token.name |
46 | | - })} |
47 | | - </Button> |
48 | 67 | </aside> |
49 | 68 | </section> |
50 | 69 | {/if} |
0 commit comments