Skip to content

Commit 2bd8446

Browse files
Fix banner on landing page
1 parent 6cd7b18 commit 2bd8446

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/layouts/LandingPageLayout.res

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -693,6 +693,7 @@ module Sponsors = {
693693
@react.component
694694
let make = (~components=MarkdownComponents.default, ~children) => {
695695
let overlayState = React.useState(() => false)
696+
let hasBanner = true
696697

697698
<>
698699
<Meta
@@ -702,9 +703,9 @@ let make = (~components=MarkdownComponents.default, ~children) => {
702703
ogImage="/static/Art-3-rescript-launch.jpg"
703704
/>
704705
<div className="mt-4 xs:mt-16">
705-
<div className="text-gray-80 text-18">
706+
<div className="text-gray-80 text-18 z">
706707
<Navigation overlayState />
707-
<div className="absolute top-16 w-full">
708+
<div className={`absolute w-full ${hasBanner ? "top-[99px]" : "top-16"}`}>
708709
<div className="relative overflow-hidden pb-32">
709710
<main className="mt-10 min-w-320 lg:align-center w-full">
710711
<MdxProvider components>

0 commit comments

Comments
 (0)