Skip to content

Commit c796e3c

Browse files
committed
removed subcom recruitment popup from landing page - subcom recruitment phase over
1 parent 91b9678 commit c796e3c

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

frontend/src/app/page.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { Metadata } from "next";
66
import { ItemList, WithContext } from "schema-dts";
77
import { get } from "@/utils/request";
88
import { Course, Courses } from "@/types/api";
9-
import SubcomRecruitmentPopup from "@/components/SubcomRecruitmentPopup/SubcomRecruitmentPopup";
109

1110

1211
export async function generateMetadata(): Promise<Metadata> {
@@ -63,7 +62,6 @@ export default async function Home() {
6362

6463
return (
6564
<div className='mb-20 bg-white dark:bg-slate-800 transition-color duration-150'>
66-
<SubcomRecruitmentPopup/>
6765
{/* Landing page graphic */}
6866
<Image
6967
src={navbar}
@@ -92,7 +90,6 @@ export default async function Home() {
9290
</p>
9391
{/* Sponsors Section */}
9492
<Sponsorships/>
95-
9693
</div>
9794
</div>
9895
</div>

frontend/src/components/SubcomRecruitmentPopup/SubcomRecruitmentPopup.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { notification } from "antd";
55

66
const SubcomRecruitmentPopup = () => {
77
useEffect(() => {
8-
console.log('TESTING');
98
const lastShown = localStorage.getItem("popupLastShown");
109
const now = new Date();
1110
const showPopup = !lastShown || new Date(lastShown).getTime() < now.getTime() - 24 * 60 * 60 * 1000;

0 commit comments

Comments
 (0)