-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from Code-the-Change-YYC/HMT-37-under-construct…
…ion-placeholder HMT-37 Under Construction Placeholder
- Loading branch information
Showing
2 changed files
with
36 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |