Skip to content

Commit

Permalink
feat: maintenance mode vars
Browse files Browse the repository at this point in the history
  • Loading branch information
samderanova committed Nov 13, 2023
1 parent 3528ad0 commit 8583752
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/site/src/app/(home)/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { Landing } from "./sections";

export default function Home() {
return <Landing />;
// Show landing section only if still in maintenance,
// otherwise show the rest of the sections
return process.env.MAINTENANCE_MODE_HOME ? <Landing /> : <Landing />;
}

0 comments on commit 8583752

Please sign in to comment.