diff --git a/src/components/Banner.res b/src/components/Banner.res new file mode 100644 index 000000000..65edd15ad --- /dev/null +++ b/src/components/Banner.res @@ -0,0 +1,3 @@ +@react.component +let make = (~children) => +
children
diff --git a/src/components/Navigation.res b/src/components/Navigation.res index a1cc38cdb..02c83ab63 100644 --- a/src/components/Navigation.res +++ b/src/components/Navigation.res @@ -414,11 +414,6 @@ module MobileNav = { } } -module Banner = { - @react.component - let make = (~children) =>
children
-} - /* isOverlayOpen: if the mobile overlay is toggled open */ @react.component let make = (~fixed=true, ~overlayState: (bool, (bool => bool) => unit)) => { @@ -615,13 +610,5 @@ let make = (~fixed=true, ~overlayState: (bool, (bool => bool) => unit)) => { ->unsafeAddProp("WebkitBackdropFilter", "blur(2px)") } /> - // Delete this again, when ReScript 11 is out for some time. - - {React.string("ReScript 11 is out! Read the ")} - - {React.string("announcement blog post")} - - {React.string(".")} - } diff --git a/src/layouts/LandingPageLayout.res b/src/layouts/LandingPageLayout.res index 245eb11b7..7f71742d7 100644 --- a/src/layouts/LandingPageLayout.res +++ b/src/layouts/LandingPageLayout.res @@ -693,7 +693,6 @@ module Sponsors = { @react.component let make = (~components=MarkdownComponents.default, ~children) => { let overlayState = React.useState(() => false) - let hasBanner = true <> {
-
+
+ // Delete this again, when ReScript 11 is out for some time. + + {React.string("ReScript 11 is out! Read the ")} + + {React.string("announcement blog post")} + + {React.string(".")} +