Skip to content

Commit

Permalink
Merge pull request #20 from HackAtUCI/setup/env-vars
Browse files Browse the repository at this point in the history
Set up environment variables
  • Loading branch information
samderanova authored Nov 13, 2023
2 parents 3528ad0 + 8583752 commit 344f352
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 344f352

Please sign in to comment.