feat: align project with OZON Track 3 official specification
- Fix critical parameters: min dimensions 10×10×2 mm (was 10×10×10) - Fix roundness threshold: K ≥ 0.7 (was 0.8) - Add input_info analysis document (INPUT_INFO_ANALYSIS.md) - Update Hero: new title, badges (Min 10×10×2, K≥0.7→D, C priority), proof-line - Add CurrentProofCard summary block: Category/Command/Target/Why (cyan border) - Add CPriorityExplanation component (orange card, dedicated section) - Update all docs: README, DEMO_SCRIPT (7-min timing), JURY_QA, SUBMISSION_CHECKLIST - Update tests: 16/16 passed under new parameters - Update 3D twin: dynamic DIMENSION_LIMITS display - Update criteria cards: roundness ≥ 0.7 - Tested: build OK, Docker OK, domains OK (arhipovdan.ru, www, ai-shorts.ru)
This commit is contained in:
26
src/components/CPriorityExplanation.tsx
Normal file
26
src/components/CPriorityExplanation.tsx
Normal file
@@ -0,0 +1,26 @@
|
||||
interface CPriorityExplanationProps {
|
||||
onShowCPriority: () => void;
|
||||
}
|
||||
|
||||
export default function CPriorityExplanation({ onShowCPriority }: CPriorityExplanationProps) {
|
||||
return (
|
||||
<section className="c-priority-section" aria-labelledby="c-priority-title">
|
||||
<div className="c-priority-card">
|
||||
<div className="c-priority-icon" aria-hidden="true">
|
||||
C
|
||||
</div>
|
||||
<div className="c-priority-content">
|
||||
<h3 id="c-priority-title">Почему C имеет приоритет?</h3>
|
||||
<p>
|
||||
Если товар одновременно негабаритный и имеет круг в сечении, он направляется в C.
|
||||
Сначала проверяются габариты, и только если они проходят — форма.
|
||||
Это предотвращает попадание негабаритных объектов в основной сортировщик.
|
||||
</p>
|
||||
<button type="button" className="btn-primary" onClick={onShowCPriority}>
|
||||
Показать C-priority
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user