From 85837529cd6ed87ab22d3e7bf286803433a512f0 Mon Sep 17 00:00:00 2001 From: Sam Der Date: Mon, 13 Nov 2023 12:22:17 -0800 Subject: [PATCH] feat: maintenance mode vars --- apps/site/src/app/(home)/page.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/site/src/app/(home)/page.tsx b/apps/site/src/app/(home)/page.tsx index 19671700..452f8f1a 100644 --- a/apps/site/src/app/(home)/page.tsx +++ b/apps/site/src/app/(home)/page.tsx @@ -1,5 +1,7 @@ import { Landing } from "./sections"; export default function Home() { - return ; + // Show landing section only if still in maintenance, + // otherwise show the rest of the sections + return process.env.MAINTENANCE_MODE_HOME ? : ; }