import React from 'react'; interface EscarpmentProps { H: number; Lh: number; x: number; condition: 'Upwind' | 'Downwind'; } export const EscarpmentDiagram: React.FC = ({ H, Lh, x, condition }) => { return ( {/* Ground / Hill Profile */} {/* Ground Hatching (simplified) */} {/* Dashed line for H/2 */} {/* Vertical Reference for Velocity Profile z-axis */} z V(z) {/* Velocity Profile Curve (schematic) */} {/* Speed-up Profile at Crest */} {/* Hatching for speed-up */} Speed-up V(z) {/* Dimensions */} {/* Lh */} Lh = {Lh} {/* H */} H = {H} {/* H/2 */} H/2 H/2 {/* x upwind / downwind */} {/* We show x depending on condition or just schematic arrows with dynamic values if relevant */} {condition === 'Upwind' ? `x = ${x}` : 'x(upwind)'} {condition === 'Downwind' ? `x = ${x}` : 'x(downwind)'} {/* Title - MOVED LOWER */} ESCARPMENT ); };