diff --git a/components/ui/Hero/Hero.module.css b/components/ui/Hero/Hero.module.css new file mode 100644 index 000000000..364ad6580 --- /dev/null +++ b/components/ui/Hero/Hero.module.css @@ -0,0 +1,6 @@ +.root { + @apply mx-auto grid grid-cols-1 py-32 gap-4; + @screen md { + @apply grid-cols-2; + } +} diff --git a/components/ui/Hero/Hero.tsx b/components/ui/Hero/Hero.tsx index aeb301e9a..125212afa 100644 --- a/components/ui/Hero/Hero.tsx +++ b/components/ui/Hero/Hero.tsx @@ -1,6 +1,8 @@ import React, { FC } from 'react' import { Container } from '@components/ui' import { RightArrow } from '@components/icon' +import s from './Hero.module.css' + interface Props { className?: string headline: string @@ -11,7 +13,7 @@ const Hero: FC = ({ headline, description }) => { return (
-
+

{headline}