Files
ozone-tech_owl_prime/src/components/CPriorityExplanation.tsx
root 17c37c2580 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)
2026-07-04 13:09:49 +02:00

27 lines
1.2 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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>
);
}