diff --git a/public/assets/icons/add.svg b/public/assets/icons/add.svg index 6a3c331c298..690aad5bb2f 100644 --- a/public/assets/icons/add.svg +++ b/public/assets/icons/add.svg @@ -1,3 +1,3 @@ - + diff --git a/src/components/Address.tsx b/src/components/Address.tsx index 5544b5e225b..1acc8b3c07d 100644 --- a/src/components/Address.tsx +++ b/src/components/Address.tsx @@ -55,6 +55,7 @@ const AddressComponent = ({ padding: 1px 5px; border-radius: var(--border-radius-10); word-break: break-word; + color: var(--blue-600); } .addressContainer { diff --git a/src/components/AddressReact.tsx b/src/components/AddressReact.tsx index 84648e9f3e4..46d3e69bace 100644 --- a/src/components/AddressReact.tsx +++ b/src/components/AddressReact.tsx @@ -40,6 +40,7 @@ const AddressComponent = ({ contractUrl, address, endLength, urlClass, urlId }: padding: 1px 0px; border-radius: var(--border-radius-10); word-break: break-word; + color: var(--blue-600); } .addressContainer { diff --git a/src/components/CCIP/AddButton/AddButton.astro b/src/components/CCIP/AddButton/AddButton.astro index f2ade415216..bd52b43b126 100644 --- a/src/components/CCIP/AddButton/AddButton.astro +++ b/src/components/CCIP/AddButton/AddButton.astro @@ -2,12 +2,13 @@ export interface Props { href: string text: string + urlClass?: string } -const { href, text } = Astro.props +const { href, text, urlClass } = Astro.props --- - + Add {text} @@ -39,4 +40,8 @@ const { href, text } = Astro.props width: var(--space-3x); height: var(--space-3x); } + + :global(.chain-add-button) { + /* Styles will be applied from parent component */ + } diff --git a/src/components/CCIP/Chain/Chain.astro b/src/components/CCIP/Chain/Chain.astro index c236891c8b8..1dc9bf70e46 100644 --- a/src/components/CCIP/Chain/Chain.astro +++ b/src/components/CCIP/Chain/Chain.astro @@ -136,7 +136,11 @@ const chainStructuredData = generateChainStructuredData(

Tokens ({allTokens.length})

{ network.chainType !== "solana" && network.chainType !== "aptos" && ( - + ) } @@ -181,6 +185,14 @@ const chainStructuredData = generateChainStructuredData( grid-template-columns: 1fr; gap: var(--space-2x); } + :global(.chain-add-button) { + border-color: var(--blue-600) !important; + color: var(--blue-600) !important; + } + + :global(.chain-add-button:hover) { + background-color: var(--blue-100) !important; + } @media (min-width: 50em) { .layout { diff --git a/src/components/CCIP/ChainHero/ChainHero.tsx b/src/components/CCIP/ChainHero/ChainHero.tsx index 97626aa0e6e..21e6d0cbc08 100644 --- a/src/components/CCIP/ChainHero/ChainHero.tsx +++ b/src/components/CCIP/ChainHero/ChainHero.tsx @@ -1,5 +1,5 @@ import { Environment, LaneConfig, Network, Version } from "~/config/data/ccip/types.ts" -import { getTokenData } from "~/config/data/ccip/data.ts" +import { getTokenData, getNetworkIconUrl } from "~/config/data/ccip/data.ts" import Address from "~/components/AddressReact.tsx" import Breadcrumb from "../Breadcrumb/Breadcrumb.tsx" import Search from "../Search/Search.tsx" @@ -16,7 +16,6 @@ import { Tooltip } from "~/features/common/Tooltip/Tooltip.tsx" import { getChainTooltip } from "../Tooltip/index.ts" import { PoolProgramTooltip } from "../Tooltip/PoolProgramTooltip.tsx" import { ExplorerInfo, ChainType } from "@config/types.ts" -import { getNetworkIconUrl } from "~/config/data/ccip/data.ts" interface ChainHeroProps { chains: { diff --git a/src/components/CCIP/Drawer/TokenDrawer.tsx b/src/components/CCIP/Drawer/TokenDrawer.tsx index 19d31f1cbbe..ac32df98710 100644 --- a/src/components/CCIP/Drawer/TokenDrawer.tsx +++ b/src/components/CCIP/Drawer/TokenDrawer.tsx @@ -26,6 +26,7 @@ import { Tooltip } from "~/features/common/Tooltip/Tooltip.tsx" import { useMultiLaneRateLimits } from "~/hooks/useMultiLaneRateLimits.ts" import { RateLimitCell } from "~/components/CCIP/RateLimitCell.tsx" import { realtimeDataService } from "~/lib/ccip/services/realtime-data-instance.ts" +import { Typography } from "@chainlink/blocks" enum TokenTab { Outbound = "outbound", @@ -202,17 +203,25 @@ function TokenDrawer({ - - - - + + + + {verifiers.length === 0 ? ( ) : ( @@ -226,7 +235,7 @@ function TokenDrawer({ className="ccip-table__logo" style={{ width: "24px", height: "24px" }} /> - {verifier.name} + {verifier.name} - - + + )) )} diff --git a/src/components/CCIP/Tables/ChainTable.tsx b/src/components/CCIP/Tables/ChainTable.tsx index 5e278233d20..7ab6c7c559e 100644 --- a/src/components/CCIP/Tables/ChainTable.tsx +++ b/src/components/CCIP/Tables/ChainTable.tsx @@ -68,9 +68,6 @@ function ChainTable({ lanes, explorer, sourceNetwork, environment }: TableProps) onChange={(key) => setInOutbound(key as LaneFilter)} />
-
- -
View lane status +
+ +
diff --git a/src/components/CCIP/Tables/Table.css b/src/components/CCIP/Tables/Table.css index a99fb0b836a..6adf43a6b31 100644 --- a/src/components/CCIP/Tables/Table.css +++ b/src/components/CCIP/Tables/Table.css @@ -219,6 +219,8 @@ display: flex; align-items: center; gap: var(--space-2x); + border: 1px solid var(--blue-600); + color: var(--blue-600); } .ccip-table__filters__external-icon { diff --git a/src/config/data/ccip/data.ts b/src/config/data/ccip/data.ts index d65ce636aa1..d5cd936e3f2 100644 --- a/src/config/data/ccip/data.ts +++ b/src/config/data/ccip/data.ts @@ -31,7 +31,7 @@ import { getTokenIconUrl, getNativeCurrency, } from "@features/utils/index.ts" -import { normalizeTechnologyName } from "src/features/utils/networkIcons.ts" +import { normalizeTechnologyName } from "@features/utils/networkIcons.ts" // For mainnet import chainsMainnetv120 from "@config/data/ccip/v1_2_0/mainnet/chains.json" with { type: "json" } diff --git a/src/features/chainlink-automation/components/NetworkIcons.tsx b/src/features/chainlink-automation/components/NetworkIcons.tsx index 2b610050934..52b60afa43c 100644 --- a/src/features/chainlink-automation/components/NetworkIcons.tsx +++ b/src/features/chainlink-automation/components/NetworkIcons.tsx @@ -49,7 +49,7 @@ export default function NetworkIcons() { // Create the icon element const icon = document.createElement("img") - icon.src = iconPath + icon.src = iconPath || "" icon.alt = `${technology} icon` icon.style.width = "24px" icon.style.height = "24px" diff --git a/src/features/chainlink-functions/components/NetworkIcons.tsx b/src/features/chainlink-functions/components/NetworkIcons.tsx index 20834173b19..03184e362ae 100644 --- a/src/features/chainlink-functions/components/NetworkIcons.tsx +++ b/src/features/chainlink-functions/components/NetworkIcons.tsx @@ -35,7 +35,7 @@ export default function NetworkIcons() { // Create the icon element const icon = document.createElement("img") - icon.src = iconPath + icon.src = iconPath || "" icon.alt = `${technology} icon` icon.style.width = "24px" icon.style.height = "24px"
VerifierVerifier addressVerifier typeThreshold amount + Verifier name + + Verifier address + + Verifier type + + Threshold amount +
- No verifiers configured + No verifiers found for this network.
@@ -236,8 +245,12 @@ function TokenDrawer({ endLength={4} /> {getVerifierTypeDisplay(verifier.type)}N/A + {getVerifierTypeDisplay(verifier.type)} + + N/A +