Function
OptionalgetLessonHref?: (Optional locale-aware path the "next lesson" link points to. The
calling site (Storybook, Next.js page) supplies the real route once
course routes are wired; defaults to "#" until then. Must return a
path that the locale-aware <Link> can resolve.
Driving adapter: React component that calls the
findNextLessonToRecommenduse case and renders the recommendation.The use case is passed in as a prop — tests inject a stub, Storybook wires the in-memory adapters, and (later) a Next.js page wires its real adapters. The component never imports a domain port directly; ports are resolved by the calling site, preserving the hexágono.