Skip to main content

Hero

Client page hero with optional accent span in the title.

Exports​

  • Hero — named export
  • HeroProps — interface (inline in module)

Props (HeroProps)​

PropTypeBehavior
titlestringMain h1 text
subtitlestringParagraph under title
accentTextstringOptional hero__accent span appended in h1

Render​

Hero.module.css classes: hero, hero__content, hero__title, hero__subtitle.


Sources: src/app/components/hero/Hero.tsx, src/app/components/hero/Hero.module.css