From d3e210306f4d80d30adcacb400a691f0d04277b7 Mon Sep 17 00:00:00 2001 From: "James Morris, MS" <96435344+james-a-morris@users.noreply.github.com> Date: Wed, 19 Feb 2025 11:25:22 -0500 Subject: [PATCH] feat: add hyperliquid (#99) Signed-off-by: james-a-morris --- src/app/_assets/logos/hyperliquid.svg | 14 +++ .../icons/gradient/logos/hyperliquid.tsx | 96 +++++++++++++++++++ src/app/_components/icons/index.tsx | 1 + .../_components/supported-chains-section.tsx | 5 + .../_components/supported-chains-ticker.tsx | 4 + 5 files changed, 120 insertions(+) create mode 100644 src/app/_assets/logos/hyperliquid.svg create mode 100644 src/app/_components/icons/gradient/logos/hyperliquid.tsx diff --git a/src/app/_assets/logos/hyperliquid.svg b/src/app/_assets/logos/hyperliquid.svg new file mode 100644 index 0000000..d6faa88 --- /dev/null +++ b/src/app/_assets/logos/hyperliquid.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/src/app/_components/icons/gradient/logos/hyperliquid.tsx b/src/app/_components/icons/gradient/logos/hyperliquid.tsx new file mode 100644 index 0000000..e545c34 --- /dev/null +++ b/src/app/_components/icons/gradient/logos/hyperliquid.tsx @@ -0,0 +1,96 @@ +import { LogoIconProps } from "./types"; + +export function HyperliquidIcon({ variant = "aqua", ...props }: LogoIconProps) { + const linearGradientBasedId = `paint_linear_gradient_${variant}`; + return ( + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ); +} diff --git a/src/app/_components/icons/index.tsx b/src/app/_components/icons/index.tsx index 24c194b..5af7985 100644 --- a/src/app/_components/icons/index.tsx +++ b/src/app/_components/icons/index.tsx @@ -60,3 +60,4 @@ export { AlephZeroIcon } from "./gradient/logos/alephzero"; export { InkIcon } from "./gradient/logos/ink"; export { SoneiumIcon } from "./gradient/logos/soneium"; export { UnichainIcon } from "./gradient/logos/unichain"; +export { HyperliquidIcon } from "./gradient/logos/hyperliquid"; diff --git a/src/app/_components/supported-chains-section.tsx b/src/app/_components/supported-chains-section.tsx index 6e385c9..a17c15f 100644 --- a/src/app/_components/supported-chains-section.tsx +++ b/src/app/_components/supported-chains-section.tsx @@ -18,6 +18,7 @@ import { InkIcon, SoneiumIcon, UnichainIcon, + HyperliquidIcon, } from "@/app/_components/icons"; import { Text } from "@/app/_components/text"; @@ -98,6 +99,10 @@ const chains = [ label: "Unichain", Icon: UnichainIcon, }, + { + label: "Hyperliquid", + Icon: HyperliquidIcon, + }, ]; const variants = { diff --git a/src/app/_components/supported-chains-ticker.tsx b/src/app/_components/supported-chains-ticker.tsx index 2155126..37faafd 100644 --- a/src/app/_components/supported-chains-ticker.tsx +++ b/src/app/_components/supported-chains-ticker.tsx @@ -20,6 +20,7 @@ import alephZeroIconSrc from "@/app/_assets/logos/alephzero.svg"; import inkLogoSrc from "@/app/_assets/logos/ink.svg"; import soneiumLogoSrc from "@/app/_assets/logos/soneium.svg"; import unichainLofoSrc from "@/app/_assets/logos/unichain.svg"; +import hyperliquidLogoSrc from "@/app/_assets/logos/hyperliquid.svg"; const chains = [ { @@ -76,6 +77,9 @@ const chains = [ { logo: unichain logo, }, + { + logo: hyperliquid logo, + }, ]; export function SupportedChainsTicker() {