-
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.
- Loading branch information
Showing
2 changed files
with
29 additions
and
2 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
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,27 @@ | ||
import { cookies } from "next/headers"; | ||
import Header from "../_components/header"; | ||
import { redirect } from "next/navigation"; | ||
|
||
export default function RewardsPage() { | ||
const cookieStore = cookies(); | ||
const studentId = cookieStore.get("studentId")?.value; | ||
if (!studentId) { | ||
redirect("/techmonth/login"); | ||
} | ||
|
||
return ( | ||
<main className="flex w-full flex-col items-center"> | ||
<div className="flex min-h-screen w-full max-w-screen-xl flex-col space-y-16 px-8 py-16 font-tiny5 md:px-16 xl:px-4"> | ||
<Header studentId={studentId} /> | ||
<div className="flex flex-col justify-between lg:flex-row"> | ||
<div className="flex flex-col space-y-2 lg:space-y-1"> | ||
<h2 className="text-5xl uppercase md:text-6xl lg:text-8xl"> | ||
RE<span className="text-techmonth-magenta">WARDS</span> | ||
</h2> | ||
</div> | ||
</div> | ||
<p className="text-xl">Coming Very Soon 👀</p> | ||
</div> | ||
</main> | ||
); | ||
} |