Skip to content

Commit

Permalink
fix: hero gap
Browse files Browse the repository at this point in the history
  • Loading branch information
0xHericles committed Jan 6, 2024
1 parent 1d35f48 commit dc147cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions sections/NRF/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ export interface Props {

export default function Hero({ title, cta, alert }: Props) {
return (
<div id="hero" class="relative bg-black min-h-screen space-y-16">
<div class="max-w-fit mx-auto flex flex-col items-center gap-16">
<div id="hero" class="relative bg-black min-h-screen space-y-20">
<div class="max-w-fit mx-auto flex flex-col items-center gap-20">
{
alert?.text && (
<div class="rounded-[56px] border border-white/15 bg-white/5 py-2 px-4">
Expand All @@ -29,7 +29,7 @@ export default function Hero({ title, cta, alert }: Props) {
)
}
<div
class="mt-56 inline-block text-[48px] lg:text-[104px] text-left leading-[100%] font-medium text-white max-w-lg lg:max-w-none"
class="mt-48 inline-block text-[48px] lg:text-[104px] text-left leading-[100%] font-medium text-white max-w-lg lg:max-w-none"
dangerouslySetInnerHTML={{
__html: title,
}}
Expand Down
2 changes: 1 addition & 1 deletion static/tailwind.css

Large diffs are not rendered by default.

0 comments on commit dc147cc

Please sign in to comment.