diff --git a/src/app/about/SectionHero.tsx b/src/app/about/SectionHero.tsx new file mode 100644 index 0000000..04796ee --- /dev/null +++ b/src/app/about/SectionHero.tsx @@ -0,0 +1,40 @@ +import Image, { StaticImageData } from "next/image"; +import React, { FC, ReactNode } from "react"; +import ButtonPrimary from "@/shared/ButtonPrimary"; + +export interface SectionHeroProps { + className?: string; + rightImg: StaticImageData; + heading: ReactNode; + subHeading: string; + btnText: string; +} + +const SectionHero: FC = ({ + className = "", + rightImg, + heading, + subHeading, + btnText, +}) => { + return ( +
+
+
+

+ {heading} +

+ + {subHeading} + + {!!btnText && {btnText}} +
+
+ +
+
+
+ ); +}; + +export default SectionHero;