import React, { FC } from 'react' import { Container } from '@components/ui' import { ArrowRight } from '@components/icons' import s from './Hero.module.css' import Link from 'next/link' interface HeroProps { className?: string headline: string description: string } const Hero: FC<HeroProps> = ({ headline, description }) => { return ( <div className="bg-accent-9 border-b border-t border-accent-2"> <Container> <div className={s.root}> <h2 className={s.headline}>{headline}</h2> <div className="md:ml-6"> <p className="mt-4 text-xl leading-8 text-accent-2 mb-1 lg:max-w-4xl"> {description} </p> <Link href="/"> <a className="text-accent-0 pt-3 font-bold hover:underline flex flex-row cursor-pointer w-max-content"> Read it here <ArrowRight width="20" heigh="20" className="ml-1" /> </a> </Link> </div> </div> </Container> </div> ) } export default Hero