diff --git a/components/common/SidebarLayout/SidebarLayout.module.css b/components/common/SidebarLayout/SidebarLayout.module.css index 3b6ceaa17..58fdf6c24 100644 --- a/components/common/SidebarLayout/SidebarLayout.module.css +++ b/components/common/SidebarLayout/SidebarLayout.module.css @@ -1,6 +1,5 @@ .root { @apply relative h-full flex flex-col w-full; - min-width: 400px; } .header { diff --git a/components/ui/Hero/Hero.module.css b/components/ui/Hero/Hero.module.css index 63d6ace72..a0f1798f5 100644 --- a/components/ui/Hero/Hero.module.css +++ b/components/ui/Hero/Hero.module.css @@ -1,18 +1,30 @@ .root { - @apply flex flex-col py-32 mx-auto; + @apply flex flex-col py-16 mx-auto; } -.headline { - @apply text-accent-0 font-extrabold text-5xl leading-none tracking-tight; +.title { + @apply text-accent-0 font-extrabold text-4xl leading-none tracking-tight; } -@screen md { +.description { + @apply mt-4 text-xl leading-8 text-accent-2 mb-1 lg:max-w-4xl; +} + +@screen lg { .root { - @apply flex-row items-center justify-center; + @apply flex-row items-start justify-center py-32; } - - .headline { - @apply text-6xl max-w-xl text-right leading-10 -mt-3; - line-height: 4rem; + .title { + @apply text-5xl max-w-xl text-right leading-10 -mt-3; + line-height: 3.5rem; + } + .description { + @apply mt-0 ml-6; + } +} + +@screen xl { + .title { + @apply text-6xl; } } diff --git a/components/ui/Hero/Hero.tsx b/components/ui/Hero/Hero.tsx index 857b1999d..58d13e5de 100644 --- a/components/ui/Hero/Hero.tsx +++ b/components/ui/Hero/Hero.tsx @@ -14,13 +14,11 @@ const Hero: FC = ({ headline, description }) => {
-

{headline}

-
-

- {description} -

+

{headline}

+
+

{description}

- + Read it here