Commit 2b05dc2
feat: add link to Avalanche V4 instance in market switcher
Adds an "Avalanche" entry with a V4 pill to the L1 Networks section of
the market switcher, linking out to pro.aave.com.
Generalises the hardcoded Aave Pro link into a V4_LINKS list plus a
single renderV4Link helper, so V4 instances are one line of config each.
Also fixes the search box for these rows: they were rendered outside the
query filter, so searching "prime" showed Aave Pro while searching "aave
pro" hid the whole Ethereum section and made it unreachable. V4 links are
now filtered by the same query as real markets, and count towards the
no-results check.
Clicks fire DASHBOARD.CHANGE_MARKET so V4 referral traffic is measurable;
previously the Aave Pro link tracked nothing.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 7e5bb41 commit 2b05dc2
6 files changed
Lines changed: 61 additions & 22 deletions
File tree
- src
- components
- locales
- el
- en
- es
- fr
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
188 | 213 | | |
189 | 214 | | |
190 | 215 | | |
| |||
249 | 274 | | |
250 | 275 | | |
251 | 276 | | |
252 | | - | |
| 277 | + | |
253 | 278 | | |
254 | 279 | | |
255 | 280 | | |
| |||
261 | 286 | | |
262 | 287 | | |
263 | 288 | | |
| 289 | + | |
| 290 | + | |
264 | 291 | | |
265 | 292 | | |
266 | 293 | | |
267 | 294 | | |
268 | 295 | | |
269 | 296 | | |
| 297 | + | |
| 298 | + | |
270 | 299 | | |
271 | 300 | | |
272 | 301 | | |
| |||
424 | 453 | | |
425 | 454 | | |
426 | 455 | | |
427 | | - | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
428 | 462 | | |
| 463 | + | |
429 | 464 | | |
430 | 465 | | |
431 | | - | |
| 466 | + | |
| 467 | + | |
432 | 468 | | |
433 | 469 | | |
434 | 470 | | |
435 | | - | |
| 471 | + | |
436 | 472 | | |
437 | 473 | | |
438 | 474 | | |
| |||
449 | 485 | | |
450 | 486 | | |
451 | 487 | | |
452 | | - | |
| 488 | + | |
453 | 489 | | |
454 | 490 | | |
455 | 491 | | |
| |||
475 | 511 | | |
476 | 512 | | |
477 | 513 | | |
478 | | - | |
| 514 | + | |
479 | 515 | | |
480 | 516 | | |
481 | 517 | | |
| |||
520 | 556 | | |
521 | 557 | | |
522 | 558 | | |
523 | | - | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
524 | 565 | | |
525 | 566 | | |
526 | 567 | | |
| |||
609 | 650 | | |
610 | 651 | | |
611 | 652 | | |
612 | | - | |
| 653 | + | |
613 | 654 | | |
614 | 655 | | |
615 | 656 | | |
616 | 657 | | |
617 | | - | |
| 658 | + | |
618 | 659 | | |
619 | | - | |
620 | | - | |
621 | | - | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
622 | 664 | | |
623 | 665 | | |
624 | 666 | | |
625 | 667 | | |
626 | | - | |
| 668 | + | |
627 | 669 | | |
628 | 670 | | |
629 | 671 | | |
630 | 672 | | |
| 673 | + | |
631 | 674 | | |
632 | 675 | | |
633 | 676 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
621 | 621 | | |
622 | 622 | | |
623 | 623 | | |
624 | | - | |
625 | | - | |
626 | | - | |
627 | | - | |
628 | 624 | | |
629 | 625 | | |
630 | 626 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments