Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HMT-37 Under Construction Placeholder #3

Merged
merged 5 commits into from
Feb 24, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import PagePlaceholder from "@/components/PagePlaceholder";

export default function Home() {
return (
<main className="flex min-h-screen flex-col items-center justify-between p-24">
Hackathon Management Tool | Landing Page
<main>
<PagePlaceholder />
</main>
);
}
35 changes: 35 additions & 0 deletions src/components/PagePlaceholder.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import { FaInstagram, FaLinkedin } from "react-icons/fa";

import { enableLandingPage } from "@/featureFlags";

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

const PagePlaceholder = () => {
hannagracec marked this conversation as resolved.
Show resolved Hide resolved
return enableLandingPage ? (
<div className={PagePlaceholderStyles}>
hannagracec marked this conversation as resolved.
Show resolved Hide resolved
<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>
) : null;
};

export default PagePlaceholder;
Loading