Skip to content

Commit

Permalink
Merge pull request #3 from Code-the-Change-YYC/HMT-37-under-construct…
Browse files Browse the repository at this point in the history
…ion-placeholder

HMT-37 Under Construction Placeholder
  • Loading branch information
hannagracec authored Feb 24, 2024
2 parents 6259898 + 8a30c18 commit 2178185
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import JudgingCriteria from "@/components/LandingPage/JudgingCriteria";
import PagePlaceholder from "@/components/PagePlaceholder";
import { enableLandingPage } from "@/featureFlags";

export default function Home() {
return (
<main>
<JudgingCriteria />
</main>
<main>{enableLandingPage ? <PagePlaceholder /> : <JudgingCriteria />}</main>
);
}
33 changes: 33 additions & 0 deletions src/components/PagePlaceholder.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import { FaInstagram, FaLinkedin } from "react-icons/fa";

const PagePlaceholderStyles =
"flex flex-col w-full h-screen items-center justify-center";

const PagePlaceholder = () => {
return (
<div className={PagePlaceholderStyles}>
<h1 className="text-center text-3xl">
Under construction, stay tuned on social media for more!
</h1>
<div className="mt-[20px] flex">
<a
href="https://www.instagram.com/codethechangeyyc"
target="_blank"
rel="noopener noreferrer"
className="mr-4"
>
<FaInstagram size={35} />
</a>
<a
href="https://www.linkedin.com/company/code-the-change-yyc"
target="_blank"
rel="noopener noreferrer"
>
<FaLinkedin size={35} />
</a>
</div>
</div>
);
};

export default PagePlaceholder;

0 comments on commit 2178185

Please sign in to comment.