diff --git a/sections/NRF/Hero.tsx b/sections/NRF/Hero.tsx index bbc87732..63933829 100644 --- a/sections/NRF/Hero.tsx +++ b/sections/NRF/Hero.tsx @@ -9,31 +9,44 @@ export interface Props { * @format html */ title: string; + /** + * @format html + */ + subtitle?: string; // Add subtitle property cta?: CTA[]; alert?: { image?: string; text?: string; href?: string; - } + }; } -export default function Hero({ title, cta, alert }: Props) { +export default function Hero({ title, subtitle, cta, alert }: Props) { return (
- { - alert?.text && ( -
- {alert.text} -
- ) - } + {alert?.text && ( +
+ {alert.text} +
+ )}
+ > +
+ {subtitle && + ( +
+
+ )} {cta && cta?.map((item) => (