diff --git a/src/app/admin/game/create/api/route.ts b/src/app/admin/game/create/api/route.ts index 7b5feeb..721b633 100644 --- a/src/app/admin/game/create/api/route.ts +++ b/src/app/admin/game/create/api/route.ts @@ -108,6 +108,7 @@ const GAME_TYPES: Record< theme: "first-contact", breakingNewsBanner: true, components: ["Defcon"], + hidePressInSidebar: true, }, components: [ { diff --git a/src/components/DefconStatuses.tsx b/src/components/DefconStatuses.tsx index 6162fba..7143a26 100644 --- a/src/components/DefconStatuses.tsx +++ b/src/components/DefconStatuses.tsx @@ -95,7 +95,7 @@ export function CountryDefcon({ country, status }: CountryDefconProps) { } return ( -
+
@@ -121,7 +121,7 @@ function DisplayDefconStatus({ defcon }: DefconProps) { return (
-
+

DEFCON Levels

@@ -129,7 +129,7 @@ function DisplayDefconStatus({ defcon }: DefconProps) { return (
{countries.map((country, key) => { return ( diff --git a/src/components/SideComponents.tsx b/src/components/SideComponents.tsx index 8bde6d4..50f84c5 100644 --- a/src/components/SideComponents.tsx +++ b/src/components/SideComponents.tsx @@ -128,9 +128,10 @@ export default function SideComponentWrapper({ }); return ( -
+
- {setupInformation.press === false ? ( + {setupInformation.press === false || + setupInformation.hidePressInSidebar ? ( ) : toShow.length > 0 ? (