Skip to content

Commit

Permalink
chore: remove en construction
Browse files Browse the repository at this point in the history
  • Loading branch information
lsagetlethias committed Sep 9, 2024
1 parent 3fd76ba commit 98e5082
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { cx } from "@codegouvfr/react-dsfr/tools/cx";
import { type Metadata } from "next";
import { Fragment } from "react";

import { config } from "@/config";
import { Box, CenteredContainer, Container } from "@/dsfr";
import { CollapsedSectionDynamicGroup } from "@/dsfr/base/client/CollapsedSectionDynamicGroup";

Expand All @@ -16,7 +15,6 @@ import { LandingTextOnlyBloc } from "./_landing/blocs/text-only";
import { loadFaq } from "./_landing/faq/faqLoader";
import { LandingHero } from "./_landing/hero";
import { CTA } from "./CTA";
import { ErrorDisplay } from "./ErrorDisplay";
import styles from "./index.module.scss";
import { sharedMetadata } from "./shared-metadata";

Expand All @@ -34,9 +32,9 @@ export const metadata: Metadata = {
};

const Home = async () => {
if (config.env === "prod") {
return <ErrorDisplay code="construction" noRedirect />;
}
// if (config.env === "prod") {
// return <ErrorDisplay code="construction" noRedirect />;
// }

const [blocs, faqQuestions] = await Promise.all([loadBlocs(), loadFaq()]);

Expand Down

0 comments on commit 98e5082

Please sign in to comment.