From 58f9021223f4f42bb3f3f93ae184460c4a8f64d6 Mon Sep 17 00:00:00 2001
From: Aditya Pawar <34043950+adityapawar1@users.noreply.github.com>
Date: Fri, 17 Jan 2025 19:19:50 -0800
Subject: [PATCH] [sp25] Recruitment dates (#12)
---
app/(hero-layout)/apply/nonprofits/page.tsx | 30 ++--
app/(hero-layout)/apply/students/page.tsx | 158 ++++++++++++--------
data/nonprofit_applications.json | 9 +-
data/students_applications.json | 20 ++-
4 files changed, 138 insertions(+), 79 deletions(-)
diff --git a/app/(hero-layout)/apply/nonprofits/page.tsx b/app/(hero-layout)/apply/nonprofits/page.tsx
index 7f59a2c..edcaf1a 100644
--- a/app/(hero-layout)/apply/nonprofits/page.tsx
+++ b/app/(hero-layout)/apply/nonprofits/page.tsx
@@ -7,7 +7,7 @@ import HeroButton from '@/components/HeroButton/HeroButton';
import HeroMessage from '@/components/HeroMessage/HeroMessage';
import PageNav from '@/components/PageNav/PageNav';
import data from '@/data/external_links.json';
-import settings from '@/data/nonprofit_applications.json';
+import config from '@/data/nonprofit_applications.json';
import carouselImage1 from '@/public/images/apply/nonprofits/carousel_1.jpg';
import carouselImage2 from '@/public/images/apply/nonprofits/carousel_2.jpg';
import carouselImage3 from '@/public/images/apply/nonprofits/carousel_3.jpg';
@@ -30,7 +30,7 @@ export const metadata: Metadata = {
};
export default function NonprofitApplyPage() {
- const appsEnabled = settings.nonprofit_applications_enabled;
+ const appsEnabled = config.nonprofit_applications_enabled;
const appsDisabledText =
'Applications for Blueprint are closed for this semester. We will recruit more nonprofit partners next summer. If you have any questions, contact us at team@calblueprint.org.';
@@ -38,7 +38,7 @@ export default function NonprofitApplyPage() {
const action = appsEnabled ? (