Skip to content

Commit 792c5ff

Browse files
V48 (impl-only): Optically balance Bitcoin mark with Bitcode logo
Scale the masked bitcoin-logo.svg slightly so the exchange pair matches visual weight despite different raw asset geometry.
1 parent 272143b commit 792c5ff

1 file changed

Lines changed: 22 additions & 18 deletions

File tree

uapi/components/marketing/MarketingLandingTestnetSection/MarketingLandingTestnetSection.tsx

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -68,27 +68,23 @@ export function MarketingLandingTestnetSection() {
6868
<div className="relative overflow-visible rounded-none border border-emerald-300/16 bg-emerald-300/[0.045] px-4 py-4 backdrop-blur-sm phone:px-5 phone:py-5">
6969
{/*
7070
Absolute so the larger exchange mark never expands card layout.
71-
Bitcoin (orange) ⇄ Bitcode (green) — order matches title.
71+
Bitcode (green) ⇄ Bitcoin (orange) — opposite of title word order.
7272
*/}
7373
<div
7474
className="pointer-events-none absolute right-2 top-2 z-10 inline-flex items-center gap-1.5 phone:right-3 phone:top-3"
7575
aria-hidden="true"
76-
title="Bitcoins for Bitcodes exchange"
76+
title="Bitcodes for Bitcoins exchange"
7777
>
7878
{/*
7979
Larger marks; gap scales only with size (gap-1.5 ≈ prior gap/size ratio),
8080
not extra whitespace between arrows and icons.
8181
*/}
82-
<span className="inline-flex h-14 w-14 shrink-0 items-center justify-center [filter:drop-shadow(0_0_10px_rgba(251,146,60,0.8))_drop-shadow(0_0_22px_rgba(251,191,36,0.45))]">
83-
<span
84-
className="inline-block h-14 w-14 origin-center scale-[1.28] bg-orange-300"
85-
style={{
86-
maskImage: 'url(/bitcoin-logo.svg)',
87-
WebkitMaskImage: 'url(/bitcoin-logo.svg)',
88-
maskSize: 'contain',
89-
maskRepeat: 'no-repeat',
90-
maskPosition: 'center',
91-
}}
82+
<span className="inline-flex h-14 w-14 shrink-0 items-center justify-center [filter:drop-shadow(0_0_10px_rgba(103,254,183,0.75))_drop-shadow(0_0_22px_rgba(52,211,153,0.45))]">
83+
<Logo
84+
height="h-14"
85+
width="w-14"
86+
fill="#65FEB7"
87+
className="opacity-95"
9288
/>
9389
</span>
9490
{/* Filter on wrapper so purple glow paints outside the stroke. */}
@@ -98,12 +94,20 @@ export function MarketingLandingTestnetSection() {
9894
strokeWidth={2}
9995
/>
10096
</span>
101-
<span className="inline-flex h-14 w-14 shrink-0 items-center justify-center [filter:drop-shadow(0_0_10px_rgba(103,254,183,0.75))_drop-shadow(0_0_22px_rgba(52,211,153,0.45))]">
102-
<Logo
103-
height="h-14"
104-
width="w-14"
105-
fill="#65FEB7"
106-
className="opacity-95"
97+
<span className="inline-flex h-14 w-14 shrink-0 items-center justify-center [filter:drop-shadow(0_0_10px_rgba(251,146,60,0.8))_drop-shadow(0_0_22px_rgba(251,191,36,0.45))]">
98+
{/*
99+
Raw bitcoin-logo.svg paints smaller in the same h-14 box than the
100+
Bitcode mark — scale only the mask so optical sizes match.
101+
*/}
102+
<span
103+
className="inline-block h-14 w-14 origin-center scale-[1.39] bg-orange-300"
104+
style={{
105+
maskImage: 'url(/bitcoin-logo.svg)',
106+
WebkitMaskImage: 'url(/bitcoin-logo.svg)',
107+
maskSize: 'contain',
108+
maskRepeat: 'no-repeat',
109+
maskPosition: 'center',
110+
}}
107111
/>
108112
</span>
109113
</div>

0 commit comments

Comments
 (0)