diff --git a/config/nimbus.yaml b/config/nimbus.yaml index 287e7cd131d..43805d177a2 100644 --- a/config/nimbus.yaml +++ b/config/nimbus.yaml @@ -115,8 +115,8 @@ features: defaults: - channel: local value: { - "enabled": false, - "variant": default, + "enabled": true, + "variant": redesign, } - channel: staging value: { diff --git a/src/app/(proper_react)/(redesign)/(public)/PublicShell.module.scss b/src/app/(proper_react)/(redesign)/(public)/PublicShell.module.scss index 9ca660cf32a..2b67bcaa8ff 100644 --- a/src/app/(proper_react)/(redesign)/(public)/PublicShell.module.scss +++ b/src/app/(proper_react)/(redesign)/(public)/PublicShell.module.scss @@ -44,8 +44,10 @@ flex-shrink: 0; } - @media screen and (max-width: $screen-xl) { - display: none; + &.navDesktop { + @media screen and (max-width: $screen-xl) { + display: none; + } } } diff --git a/src/app/(proper_react)/(redesign)/(public)/PublicShell.tsx b/src/app/(proper_react)/(redesign)/(public)/PublicShell.tsx index 1a386522f6a..d87236b7232 100644 --- a/src/app/(proper_react)/(redesign)/(public)/PublicShell.tsx +++ b/src/app/(proper_react)/(redesign)/(public)/PublicShell.tsx @@ -29,32 +29,40 @@ export type Props = { experimentData: ExperimentData; }; -const PublicMobileShell = (props: Props) => { - if ( - !( - props.enabledFeatureFlags.includes("LandingPageRedesign") && - props.experimentData["landing-page-redesign"].enabled && - props.experimentData["landing-page-redesign"].variant === "redesign" - ) - ) { - return props.children; +const PublicMobileShell = ( + props: Props & { + hasLandingPageRedesign: boolean; + }, +) => { + if (props.hasLandingPageRedesign) { + return ( + + {props.children} + + ); } - return ( - - ); + return props.children; }; export const PublicShell = (props: Props) => { + const hasLandingPageRedesign = + props.enabledFeatureFlags.includes("LandingPageRedesign") && + props.experimentData["landing-page-redesign"].enabled && + props.experimentData["landing-page-redesign"].variant === "redesign"; return ( - +
{ theme="colored" autoClose={false} /> -