diff --git a/CHANGELOG.md b/CHANGELOG.md index 83a363368..6670213c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -91,6 +91,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Bug fixes +- [#499](https://github.com/alleslabs/celatone-frontend/pull/499) Fix responsive for icns and add cl pool icon - [#506](https://github.com/alleslabs/celatone-frontend/pull/506) Fix simulation bugs - [#504](https://github.com/alleslabs/celatone-frontend/pull/504) Fix response Json schema UI - [#503](https://github.com/alleslabs/celatone-frontend/pull/503) Fix assets `view more` button in account detail and fix txs row diff --git a/src/lib/pages/account-details/components/AccountHeader.tsx b/src/lib/pages/account-details/components/AccountHeader.tsx index 8cbdd4bbc..38bb280b9 100644 --- a/src/lib/pages/account-details/components/AccountHeader.tsx +++ b/src/lib/pages/account-details/components/AccountHeader.tsx @@ -22,7 +22,7 @@ export const AccountHeader = ({ const displayName = icnsName?.primary_name || "Account Details"; return ( - + {publicDetail?.logo || icnsName?.primary_name ? ( {icnsName?.primary_name && ( - + Registered ICNS names: - + {icnsName.names.map((name) => ( {name === icnsName.primary_name && } diff --git a/src/lib/pages/pools/components/FilterByPoolType.tsx b/src/lib/pages/pools/components/FilterByPoolType.tsx index 508092048..236967b21 100644 --- a/src/lib/pages/pools/components/FilterByPoolType.tsx +++ b/src/lib/pages/pools/components/FilterByPoolType.tsx @@ -1,6 +1,11 @@ import { Grid } from "@chakra-ui/react"; -import { BALANCER_ICON, COSMWASM_ICON, STABLESWAP_ICON } from "../constant"; +import { + BALANCER_ICON, + COSMWASM_ICON, + STABLESWAP_ICON, + CLP_ICON, +} from "../constant"; import { SelectInput } from "lib/components/forms"; import { AmpEvent, AmpTrackUseFilter } from "lib/services/amplitude"; import type { PoolTypeFilter } from "lib/types"; @@ -40,7 +45,7 @@ const options: PoolTypeOption[] = [ { label: "Concentrated Liquidity Pools", value: PoolType.CL, - image: BALANCER_ICON, + image: CLP_ICON, disabled: false, }, { diff --git a/src/lib/pages/pools/components/PoolHeader.tsx b/src/lib/pages/pools/components/PoolHeader.tsx index 965b81ed9..485536587 100644 --- a/src/lib/pages/pools/components/PoolHeader.tsx +++ b/src/lib/pages/pools/components/PoolHeader.tsx @@ -5,6 +5,7 @@ import { COSMWASM_ICON, STABLESWAP_ICON, SUPERFLUID_ICON, + CLP_ICON, } from "../constant"; import type { PoolDetail } from "lib/types/pool"; import { PoolType } from "lib/types/pool"; @@ -38,7 +39,7 @@ const poolTypeRender = (type: PoolDetail["type"]) => { case PoolType.CL: return { text: "Concentrated Liquidity Pool", - icon: BALANCER_ICON, + icon: CLP_ICON, }; default: return {}; @@ -128,7 +129,7 @@ export const PoolHeader = ({ /> - + Superfluid diff --git a/src/lib/pages/pools/components/supportedSection/index.tsx b/src/lib/pages/pools/components/supportedSection/index.tsx index d9e2a79a1..714a2e997 100644 --- a/src/lib/pages/pools/components/supportedSection/index.tsx +++ b/src/lib/pages/pools/components/supportedSection/index.tsx @@ -163,7 +163,7 @@ export const SupportedSection = ({ Show only - Superfluid + Superfluid diff --git a/src/lib/pages/pools/components/unsupportedSection/index.tsx b/src/lib/pages/pools/components/unsupportedSection/index.tsx index 226e19640..3b90b6c2e 100644 --- a/src/lib/pages/pools/components/unsupportedSection/index.tsx +++ b/src/lib/pages/pools/components/unsupportedSection/index.tsx @@ -141,7 +141,7 @@ export const UnsupportedSection = ({ Show only - Superfluid + Superfluid diff --git a/src/lib/pages/pools/constant.ts b/src/lib/pages/pools/constant.ts index 41817d6f7..9b202ea34 100644 --- a/src/lib/pages/pools/constant.ts +++ b/src/lib/pages/pools/constant.ts @@ -12,3 +12,5 @@ export const STABLESWAP_ICON = "https://assets.alleslabs.dev/webapp-assets/pool/pool-stableswap.svg"; export const COSMWASM_ICON = "https://assets.alleslabs.dev/webapp-assets/pool/pool-cosmwasm.svg"; +export const CLP_ICON = + "https://assets.alleslabs.dev/webapp-assets/pool/pool-clp.svg";