Skip to content

Commit 979b75c

Browse files
V48 (impl-only): Refine Read pillar metrics, candles, and Deposit packaged copy
Align candlesticks under metrics with full-scale geometry, taller proportional sticks, and centered wicks; drop Deposit divider and tighten packaged-item wording.
1 parent 8903ea6 commit 979b75c

2 files changed

Lines changed: 27 additions & 17 deletions

File tree

apps/uapi/components/marketing/MarketingLandingPillarCard/MarketingLandingPillarCard.tsx

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,14 @@ export function MarketingLandingPillarCard({
9292
<p className="mt-1.5 text-[11px] leading-4 text-violet-50/88 phone:text-[13px] phone:leading-5">
9393
{description}
9494
</p>
95-
{/* mt-auto keeps lower chrome aligned with Read metrics + Settle list. */}
96-
<div className="mt-auto border-t border-white/12 pt-2">
95+
{/* mt-auto keeps lower chrome aligned with Read metrics + Settle list (no divider). */}
96+
<div className="mt-auto pt-2">
9797
<div className="border-l-4 border-purple-400 pl-3">
9898
<p className="text-[11px] font-semibold uppercase tracking-[0.18em] text-white">
9999
What&apos;s Packaged
100100
</p>
101101
<p className="mt-1 text-[11px] leading-4 text-violet-100/72">
102-
a patchfile, its absolute measurements, metadata
102+
patchfile, absolute measurements, metadata
103103
</p>
104104
</div>
105105
</div>
@@ -125,21 +125,30 @@ export function MarketingLandingPillarCard({
125125
'linear-gradient(180deg, transparent 0%, white 18%, white 82%, transparent 100%)',
126126
}}
127127
/>
128-
<div className="absolute inset-0 translate-y-[5%] overflow-hidden opacity-80">
128+
{/*
129+
Full-card sizing so wick/body % match the original visual scale.
130+
Shifted so the cluster is vertically centered on the metrics band.
131+
*/}
132+
<div
133+
className="pointer-events-none absolute inset-0 overflow-hidden opacity-80"
134+
style={{ transform: 'translateY(27%)' }}
135+
aria-hidden="true"
136+
>
129137
{measuremintCandles.map((candle, candleIndex) => (
130138
<React.Fragment key={`measuremint-candle-${candleIndex}`}>
139+
{/* Wick + body share the same left anchor and -50% X so lines center on boxes. */}
131140
<span
132-
className={`absolute w-[1px] ${candle.bullish ? 'bg-orange-300/50' : 'bg-rose-300/40'}`}
141+
className={`absolute w-px -translate-x-1/2 ${candle.bullish ? 'bg-orange-300/50' : 'bg-rose-300/40'}`}
133142
style={{
134143
left: candle.left,
135144
top: candle.wickTop,
136145
height: candle.wickHeight,
137146
}}
138147
/>
139148
<span
140-
className={`absolute w-[6px] rounded-none ${candle.bullish ? 'bg-orange-300/40' : 'bg-rose-300/30'}`}
149+
className={`absolute w-1.5 -translate-x-1/2 rounded-none ${candle.bullish ? 'bg-orange-300/40' : 'bg-rose-300/30'}`}
141150
style={{
142-
left: `calc(${candle.left} - 2px)`,
151+
left: candle.left,
143152
top: candle.bodyTop,
144153
height: candle.bodyHeight,
145154
}}
@@ -174,8 +183,8 @@ export function MarketingLandingPillarCard({
174183
<p className="mt-1.5 text-[11px] leading-4 text-orange-50/88 phone:text-[13px] phone:leading-5">
175184
{description}
176185
</p>
177-
{/* mt-auto aligns metrics band with Deposit/Settle lower elements. */}
178-
<div className="relative mt-auto border-t border-orange-200/12 pt-2">
186+
{/* Metrics band lifted toward body copy (no divider). */}
187+
<div className="relative z-[1] mt-auto -translate-y-3 pt-2">
179188
<div className="relative grid grid-cols-3">
180189
{measureCardAxes.map((axis, axisIndex) => (
181190
<div

apps/uapi/components/marketing/MarketingLandingShared/MarketingLandingShared.tsx

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -159,15 +159,16 @@ export const previewRows = [
159159
},
160160
] as const;
161161

162+
/** Measuremint underlay — vertical scale 1.4× vs original, centers preserved; width/left unchanged. */
162163
export const measuremintCandles = [
163-
{ left: '8%', wickTop: '38%', wickHeight: '28%', bodyTop: '49%', bodyHeight: '12%', bullish: true },
164-
{ left: '18%', wickTop: '44%', wickHeight: '20%', bodyTop: '52%', bodyHeight: '10%', bullish: false },
165-
{ left: '30%', wickTop: '34%', wickHeight: '30%', bodyTop: '45%', bodyHeight: '14%', bullish: true },
166-
{ left: '42%', wickTop: '46%', wickHeight: '18%', bodyTop: '53%', bodyHeight: '8%', bullish: false },
167-
{ left: '56%', wickTop: '40%', wickHeight: '26%', bodyTop: '48%', bodyHeight: '12%', bullish: true },
168-
{ left: '68%', wickTop: '48%', wickHeight: '18%', bodyTop: '55%', bodyHeight: '9%', bullish: false },
169-
{ left: '80%', wickTop: '36%', wickHeight: '30%', bodyTop: '46%', bodyHeight: '15%', bullish: true },
170-
{ left: '90%', wickTop: '45%', wickHeight: '22%', bodyTop: '52%', bodyHeight: '10%', bullish: false },
164+
{ left: '8%', wickTop: '32.4%', wickHeight: '39.2%', bodyTop: '46.6%', bodyHeight: '16.8%', bullish: true },
165+
{ left: '18%', wickTop: '40%', wickHeight: '28%', bodyTop: '50%', bodyHeight: '14%', bullish: false },
166+
{ left: '30%', wickTop: '28%', wickHeight: '42%', bodyTop: '42.2%', bodyHeight: '19.6%', bullish: true },
167+
{ left: '42%', wickTop: '42.4%', wickHeight: '25.2%', bodyTop: '51.4%', bodyHeight: '11.2%', bullish: false },
168+
{ left: '56%', wickTop: '34.8%', wickHeight: '36.4%', bodyTop: '45.6%', bodyHeight: '16.8%', bullish: true },
169+
{ left: '68%', wickTop: '44.4%', wickHeight: '25.2%', bodyTop: '53.2%', bodyHeight: '12.6%', bullish: false },
170+
{ left: '80%', wickTop: '30%', wickHeight: '42%', bodyTop: '43%', bodyHeight: '21%', bullish: true },
171+
{ left: '90%', wickTop: '40.6%', wickHeight: '30.8%', bodyTop: '50%', bodyHeight: '14%', bullish: false },
171172
] as const;
172173

173174
export const verificationRows = [

0 commit comments

Comments
 (0)