From b3fbdff3421e2091060600e1627b4e38403586fe Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Sun, 5 May 2024 14:17:37 +0100 Subject: [PATCH] static & manually optimized token logos --- components/TokenLogo/TokenLogo.tsx | 18 ++++++++++++++---- images/agix.png | Bin 0 -> 2474 bytes images/fet.png | Bin 0 -> 1475 bytes images/ocean.png | Bin 0 -> 1240 bytes 4 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 images/agix.png create mode 100644 images/fet.png create mode 100644 images/ocean.png diff --git a/components/TokenLogo/TokenLogo.tsx b/components/TokenLogo/TokenLogo.tsx index e09c6c0..b4ec3a7 100644 --- a/components/TokenLogo/TokenLogo.tsx +++ b/components/TokenLogo/TokenLogo.tsx @@ -1,6 +1,8 @@ import { Token } from '@/types' -import Image from 'next/image' import styles from './TokenLogo.module.css' +import oceanImage from '@/images/ocean.png' +import agixImage from '@/images/agix.png' +import fetImage from '@/images/fet.png' export function TokenLogo({ token, @@ -9,13 +11,21 @@ export function TokenLogo({ token: Token | undefined size?: number }) { + const imageSrc = + token?.symbol === 'OCEAN' + ? oceanImage + : token?.symbol === 'AGIX' + ? agixImage + : fetImage + return token ? ( - {token.symbol} ) : null diff --git a/images/agix.png b/images/agix.png new file mode 100644 index 0000000000000000000000000000000000000000..7ea9acdfdaa53b4a827774d0f64d5a09928ee516 GIT binary patch literal 2474 zcmV;b303xqP)yc6#} za_uNH@IaED7VzlP{q9hk&l5VF=B=SLZ!HD9VG4Mv$nVj)hg8>jtXl424$qbG!}4sv zqfJjcAsjFhg0+6%W&rmmRi^vh+CvPWi-8Cz0Q7kPsF%n4xc94_C)J~BtWW01To46< zKuj0j>8;2Zw5HQm=xR86VAnmNnGB$Z7d1e8Gyxm|P15Ti$A4Ot6o^4cymU^&V*cz$7{l5qil$jXk68m7_M(KR$CPz^%(IV#Ah zrOcEn8g-n;a&LhvSW72GNRvGxl-S6FO2ML#(>S}HI$Q(DlKeVi>E%8VM5LV%;{Ria z0r0(g=1d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