Skip to content

Commit 5a18c15

Browse files
committed
fix(walking): correct OPC grid layout (2x2) and highlight stages
- OPC: 2x2 grid for 171/65/24/10, highlight 24 (finalists) - WAIC: highlight 160 (shortlisted) not 30
1 parent b1d5fa3 commit 5a18c15

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/pages/WalkingXiuxian.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ export function WalkingXiuxian() {
241241
<p className="font-noto text-sm text-text-secondary leading-relaxed mb-4 flex-grow">{c.waicDesc}</p>
242242
<div className="grid grid-cols-2 gap-2 mb-4">
243243
{c.waicSteps.map((step, i) => (
244-
<div key={step.count} className={`p-2 rounded border text-center ${i === 2 ? 'border-[#6cbcb2]/70 bg-[#6cbcb2]/10' : 'border-border-custom bg-bg-primary/70'}`}>
244+
<div key={step.count} className={`p-2 rounded border text-center ${i === 1 ? 'border-[#6cbcb2]/70 bg-[#6cbcb2]/10' : 'border-border-custom bg-bg-primary/70'}`}>
245245
<span className="font-inter font-bold text-xl text-text-primary">{step.count}</span>
246246
<p className="font-noto text-xs text-text-secondary mt-1">{step.label}</p>
247247
</div>
@@ -275,9 +275,9 @@ export function WalkingXiuxian() {
275275
</div>
276276
<h3 className="font-noto font-bold text-lg text-text-primary mb-2">{c.opcTitle}</h3>
277277
<p className="font-noto text-sm text-text-secondary leading-relaxed mb-4 flex-grow">{c.opcDesc}</p>
278-
<div className="grid grid-cols-3 gap-2 mb-4">
278+
<div className="grid grid-cols-2 gap-2 mb-4">
279279
{c.opcSteps.map((step, i) => (
280-
<div key={step.count} className={`p-2 rounded border text-center ${i === 1 ? 'border-[#6cbcb2]/70 bg-[#6cbcb2]/10' : 'border-border-custom bg-bg-primary/70'}`}>
280+
<div key={step.count} className={`p-2 rounded border text-center ${i === 2 ? 'border-[#6cbcb2]/70 bg-[#6cbcb2]/10' : 'border-border-custom bg-bg-primary/70'}`}>
281281
<span className="font-inter font-bold text-xl text-text-primary">{step.count}</span>
282282
<p className="font-noto text-xs text-text-secondary mt-1">{step.label}</p>
283283
</div>

0 commit comments

Comments
 (0)