- {cSpanning("Welcome to the Yoo-Rhee caucus. We are committed to delivering on our promises \n through well organized initiatives, including cabinet restructuring, enhancing \n college readiness, and meaningful themed events.")}
-
+ {cSpanning(
+ "Welcome to the Yoo-Rhee caucus. We are committed to delivering on our promises \n through well organized initiatives, including cabinet restructuring, enhancing \n college readiness, and meaningful themed events.",
+ )}
+
+
+
+
+
+
+
+ We'll stay with you this year
+
+
+
+
+
+
+
>
- );
+ );
}
-
const getTimes = (schedule) => {
- let final = [];
- for (let i = 0; i < schedule.length; i++) {
- final.push(schedule[i].name);
- }
- return final;
-}
+ let final = [];
+ for (let i = 0; i < schedule.length; i++) {
+ final.push(schedule[i].name);
+ }
+ return final;
+};
const getPeriods = (schedule) => {
- let final = [];
- for (let i = 0; i < schedule.length; i++) {
- if (!(schedule[i].name.includes("Before") && i !== 0)) {
- final.push(schedule[i].name);
- }
+ let final = [];
+ for (let i = 0; i < schedule.length; i++) {
+ if (!(schedule[i].name.includes("Before") && i !== 0)) {
+ final.push(schedule[i].name);
}
- return final;
-}
+ }
+ return final;
+};
const getDayInfo = (DayType) => {
- switch (DayType) {
- case "Conference":
- return Data.Conference.schedule;
- case "Homeroom":
- return Data.Homeroom.schedule;
- case "Extended":
- return Data["Extended Homeroom"].schedule;
- case "Regular":
- return Data.Regular.schedule;
- case "TF":
- return Data["Thurs-Fri"].schedule;
- default:
- return Data.Regular.schedule;
- }
-}
+ switch (DayType) {
+ case "Conference":
+ return Data.Conference.schedule;
+ case "Homeroom":
+ return Data.Homeroom.schedule;
+ case "Extended":
+ return Data["Extended Homeroom"].schedule;
+ case "Regular":
+ return Data.Regular.schedule;
+ case "TF":
+ return Data["Thurs-Fri"].schedule;
+ default:
+ return Data.Regular.schedule;
+ }
+};
const getPeriodTimes = (DayType) => {
- const info = getDayInfo(DayType);
- let final = [];
- for (let i = 0; i < info.length; i++) {
- if (!(info[i].name.includes("Before") && i !== 0)) {
- if (i === 0) {
- final.push(`Before ${info[i + 1].startTime}`)
- } else if (i === info.length - 1) {
- final.push(`After ${info[i].startTime}`)
- } else {
- const start = info[i].startTime;
- const end = new Date();
- end.setHours(parseInt(start.split(":")[0]));
- end.setMinutes(parseInt(start.split(":")[1]) + info[i].duration);
- final.push(`${start} - ${end.getHours()}:${end.getMinutes() < 10 ? "0" + end.getMinutes() : end.getMinutes()}`)
-
- }
- }
+ const info = getDayInfo(DayType);
+ let final = [];
+ for (let i = 0; i < info.length; i++) {
+ if (!(info[i].name.includes("Before") && i !== 0)) {
+ if (i === 0) {
+ final.push(`Before ${info[i + 1].startTime}`);
+ } else if (i === info.length - 1) {
+ final.push(`After ${info[i].startTime}`);
+ } else {
+ const start = info[i].startTime;
+ const end = new Date();
+ end.setHours(parseInt(start.split(":")[0]));
+ end.setMinutes(parseInt(start.split(":")[1]) + info[i].duration);
+ final.push(
+ `${start} - ${end.getHours()}:${
+ end.getMinutes() < 10 ? "0" + end.getMinutes() : end.getMinutes()
+ }`,
+ );
+ }
}
- return final;
-}
+ }
+ return final;
+};
const updateCharacterOpacity = () => {
- const chars = document.querySelectorAll('.mission-statement .character');
- const viewportHeight = window.innerHeight;
+ const chars = document.querySelectorAll(".mission-statement .character");
+ const viewportHeight = window.innerHeight;
- chars.forEach(char => {
- const charRect = char.getBoundingClientRect();
- const charCenter = charRect.top + charRect.height / 2;
- const distanceFromCenter = Math.abs(viewportHeight / 2 - charCenter);
- const opacity = Math.max(0, 1 - 2 * distanceFromCenter / viewportHeight);
- char.style.opacity = opacity;
- });
+ chars.forEach((char) => {
+ const charRect = char.getBoundingClientRect();
+ const charCenter = charRect.top + charRect.height / 2;
+ const distanceFromCenter = Math.abs(viewportHeight / 2 - charCenter);
+ const opacity = Math.max(0, 1 - (2 * distanceFromCenter) / viewportHeight);
+ char.style.opacity = opacity;
+ });
};
const handleScroll = () => {
- window.requestAnimationFrame(updateCharacterOpacity);
+ window.requestAnimationFrame(updateCharacterOpacity);
};
-window.addEventListener('scroll', handleScroll);
+window.addEventListener("scroll", handleScroll);
updateCharacterOpacity();
diff --git a/src/components/Jprom.css b/src/components/Jprom.css
index e395be9..fd8f396 100644
--- a/src/components/Jprom.css
+++ b/src/components/Jprom.css
@@ -1,4 +1,4 @@
.jprom-body {
min-width: 100vw;
min-height: 100vh;
-}
\ No newline at end of file
+}
diff --git a/src/components/Jprom.jsx b/src/components/Jprom.jsx
index 17f2d17..84ec796 100644
--- a/src/components/Jprom.jsx
+++ b/src/components/Jprom.jsx
@@ -5,14 +5,12 @@ import Cursor from "./NonPage/Cursor";
import Footer from "./NonPage/Footer";
export default function JProm() {
- return (
-
diff --git a/src/components/People.jsx b/src/components/People.jsx
index b2ee31d..4d85cbb 100644
--- a/src/components/People.jsx
+++ b/src/components/People.jsx
@@ -4,36 +4,35 @@ import CustomCursor from "./NonPage/Cursor";
import Texture from "./NonPage/Texture";
import Footer from "./NonPage/Footer";
import "./People.css";
-import Ayla_Irshad from '../Images/people/Ayla_Irshad.jpg';
-import Chenming_Fang from '../Images/people/Chenming_Fang.jpg';
-import Chloe_Wong from '../Images/people/Chloe_Wong.jpeg';
-import Elias_Xu from '../Images/people/Elias_Xu.jpg';
-import Emily_Li from '../Images/people/Emily_Li.jpeg';
-import Ethan_Sie from '../Images/people/Ethan_Sie.jpg';
-import Grace_Rhee from '../Images/people/Grace_Rhee.jpeg';
-import Josephine_Gunawan from '../Images/people/Josephine_Gunawan.jpeg';
-import Maegan_Diep from '../Images/people/Maegan_Diep.jpeg';
-import Stacie_Au from '../Images/people/Stacie_Au.jpeg';
-import Josephine_Yoo from '../Images/people/Josephine_Yoo.png';
-import Will from '../Images/people/Will.jpeg';
-import John from '../Images/people/John.jpeg';
+import Ayla_Irshad from "../Images/people/Ayla_Irshad.jpg";
+import Chenming_Fang from "../Images/people/Chenming_Fang.jpg";
+import Chloe_Wong from "../Images/people/Chloe_Wong.jpeg";
+import Elias_Xu from "../Images/people/Elias_Xu.jpg";
+import Emily_Li from "../Images/people/Emily_Li.jpeg";
+import Ethan_Sie from "../Images/people/Ethan_Sie.jpg";
+import Grace_Rhee from "../Images/people/Grace_Rhee.jpeg";
+import Josephine_Gunawan from "../Images/people/Josephine_Gunawan.jpeg";
+import Maegan_Diep from "../Images/people/Maegan_Diep.jpeg";
+import Stacie_Au from "../Images/people/Stacie_Au.jpeg";
+import Josephine_Yoo from "../Images/people/Josephine_Yoo.png";
+import Will from "../Images/people/Will.jpeg";
+import John from "../Images/people/John.jpeg";
import Vicki_Chen from "../Images/people/Vicki_Chen.png";
export default function People() {
-
useEffect(() => {
const handleScroll = () => {
- const meetText = document.querySelector('.meet');
- const teamText = document.querySelector('.the-team');
+ const meetText = document.querySelector(".meet");
+ const teamText = document.querySelector(".the-team");
const screenHeight = window.innerHeight;
const scrollY = window.scrollY;
let transformPercentage = Math.min(scrollY / (screenHeight * 0.5), 1);
meetText.style.transform = `translateX(${transformPercentage * 100}%)`;
teamText.style.transform = `translateX(-${transformPercentage * 100}%)`;
};
- window.addEventListener('scroll', handleScroll);
+ window.addEventListener("scroll", handleScroll);
return () => {
- window.removeEventListener('scroll', handleScroll);
+ window.removeEventListener("scroll", handleScroll);
};
}, []);
@@ -48,12 +47,12 @@ export default function People() {
} else {
element.target.classList.remove("show");
}
- })
- })
+ });
+ });
hiddenElements.forEach((entry) => {
observer.observe(entry);
- })
- })
+ });
+ });
//flying in from left
useEffect(() => {
@@ -66,12 +65,12 @@ export default function People() {
} else {
element.target.classList.remove("show");
}
- })
- })
+ });
+ });
hiddenElements.forEach((entry) => {
observer.observe(entry);
- })
- })
+ });
+ });
useEffect(() => {
const hiddenElements = document.querySelectorAll(".to-fade-in");
@@ -83,19 +82,19 @@ export default function People() {
} else {
element.target.classList.remove("show");
}
- })
- })
+ });
+ });
hiddenElements.forEach((entry) => {
observer.observe(entry);
- })
- })
+ });
+ });
const pres1Ref = useRef(null);
const pres2Ref = useRef(null);
useEffect(() => {
const handleScroll = () => {
- [pres1Ref, pres2Ref].forEach(ref => {
+ [pres1Ref, pres2Ref].forEach((ref) => {
if (ref.current) {
// Calculate the width of the screen
//let screenWidth = window.innerWidth;
@@ -109,16 +108,14 @@ export default function People() {
});
};
- window.addEventListener('scroll', handleScroll);
+ window.addEventListener("scroll", handleScroll);
handleScroll(); // Call it once initially
return () => {
- window.removeEventListener('scroll', handleScroll);
+ window.removeEventListener("scroll", handleScroll);
};
}, []);
-
-
let peoplePage = (
@@ -137,21 +134,48 @@ export default function People() {
Presidents
-
+
-
+
Josephine
- Hi everyone! I'm Josephine, one of your Co-Presidents this year, and I'm so excited to be working with you all to make the most of our junior year! One of my biggest goals for the year are to make sure there's constant and clear communication between the Junior Caucus and the student body. We want to make sure that your voices are heard and taken into consideration! Whether your worries are about college or general high school lifestyle, I hope to alleviate your stress and foster a positive and supportive junior student body. A fun fact about me is that I once dropped my phone in pasta sauce trying to take a picture of my food! 🍽
+ Hi everyone! I'm Josephine, one of your Co-Presidents this year,
+ and I'm so excited to be working with you all to make the most of
+ our junior year! One of my biggest goals for the year are to make
+ sure there's constant and clear communication between the Junior
+ Caucus and the student body. We want to make sure that your voices
+ are heard and taken into consideration! Whether your worries are
+ about college or general high school lifestyle, I hope to
+ alleviate your stress and foster a positive and supportive junior
+ student body. A fun fact about me is that I once dropped my phone
+ in pasta sauce trying to take a picture of my food! 🍽
-
+
-
+
+
Grace
- Hi! I'm Grace, and it is my pleasure to be your Junior Caucus co-president this year. I am super excited to work with everybody to bring you the best Junior year possible! My biggest goal this year is to make this year less stressful and more enjoyable. This includes planning an affordable and exciting JProm and providing the most relatable and accessible resources for both general academics and college! One fun fact about me is that I love to go try different restaurants’ nachos around the city! 🌮
+ Hi! I'm Grace, and it is my pleasure to be your Junior Caucus
+ co-president this year. I am super excited to work with everybody
+ to bring you the best Junior year possible! My biggest goal this
+ year is to make this year less stressful and more enjoyable. This
+ includes planning an affordable and exciting JProm and providing
+ the most relatable and accessible resources for both general
+ academics and college! One fun fact about me is that I love to go
+ try different restaurants’ nachos around the city! 🌮
@@ -161,19 +185,34 @@ export default function People() {
John J. Wang
- Hi! I’m John Jay, and I’m so excited to be working as the Chief of Staff! My goals this year are to help plan the best Junior Prom possible, help guide the junior grade through courses and tests, and provide accessible college resources, amidst all the junior year stress. We want your voices to be heard, and with your help, we hope to make this year the best year for all of our juniors! We can’t wait to work with you all! One fun fact about me is that I can play three instruments.
+ Hi! I’m John Jay, and I’m so excited to be working as the Chief of
+ Staff! My goals this year are to help plan the best Junior Prom
+ possible, help guide the junior grade through courses and tests,
+ and provide accessible college resources, amidst all the junior
+ year stress. We want your voices to be heard, and with your help,
+ we hope to make this year the best year for all of our juniors! We
+ can’t wait to work with you all! One fun fact about me is that I
+ can play three instruments.
Ethan Sie
- Hey! I’m Ethan, and I work as one of the Chiefs of Staff alongside John Jay. I can’t wait to get started on all of the projects we have planned for this year, and I hope you guys are excited for everything to come (especially Jprom!). In my free time, I like to play my Saxophone, and I'm still working on 3D modeling and building a lightsaber (if I ever get around to it). Stay tuned for more fun events, internals resources/guides, and college events!
+ Hey! I’m Ethan, and I work as one of the Chiefs of Staff alongside
+ John Jay. I can’t wait to get started on all of the projects we
+ have planned for this year, and I hope you guys are excited for
+ everything to come (especially Jprom!). In my free time, I like to
+ play my Saxophone, and I'm still working on 3D modeling and
+ building a lightsaber (if I ever get around to it). Stay tuned for
+ more fun events, internals resources/guides, and college events!
-
Chiefs of Staff
+
+ Chiefs of Staff
+
@@ -185,7 +224,6 @@ export default function People() {
-
Events
@@ -194,13 +232,15 @@ export default function People() {
Emily Li
- Hello! I’m Emily, director of events for Junior Caucus. I love eating at new restaurants, taking pretty pictures and listening to music. I run on the XC and track and field team. Lastly, I am very excited to help plan this year’s events and J-Prom.
+ Hello! I’m Emily, director of events for Junior Caucus. I love
+ eating at new restaurants, taking pretty pictures and
+ listening to music. I run on the XC and track and field team.
+ Lastly, I am very excited to help plan this year’s events and
+ J-Prom.
-
-
@@ -209,14 +249,24 @@ export default function People() {
Chenming Fang
- Hi I'm Chenming, co-director for Internals Department. I like exercising and discovering new music and food. I run long distance for track and cross country. I'm excited to help in creating more useful resources for everyone!
+ Hi I'm Chenming, co-director for Internals Department. I
+ like exercising and discovering new music and food. I run
+ long distance for track and cross country. I'm excited to
+ help in creating more useful resources for everyone!
-
+
Josephine Gunawan
- Hi, I'm Josephine, and I am so excited to be one of your Internals Directors this year! I love literature and history, but when I have free time, my favorite thing to do is bake pecan pie tarts.
+ Hi, I'm Josephine, and I am so excited to be one of your
+ Internals Directors this year! I love literature and
+ history, but when I have free time, my favorite thing to
+ do is bake pecan pie tarts.
@@ -230,13 +280,21 @@ export default function People() {
Elias Xu
- Hi! I’m Elias! I’m a beekeeper, book enthusiast, and programmer. Even though I mainly come from a background in Artificial Intelligence and Competitive Programming, I’ve been deemed competent enough to run (with Will Zhang) the I/T department. Cheers!
+ Hi! I’m Elias! I’m a beekeeper, book enthusiast, and
+ programmer. Even though I mainly come from a background in
+ Artificial Intelligence and Competitive Programming, I’ve
+ been deemed competent enough to run (with Will Zhang) the
+ I/T department. Cheers!
Will Zhang
-
Hi! I'm Will. I love having a good steak, telling stories, and designing websites. I am thrilled to hold up the caucus infrastructure this year with Elias!
+
+ Hi! I'm Will. I love having a good steak, telling stories,
+ and designing websites. I am thrilled to hold up the caucus
+ infrastructure this year with Elias!
+
@@ -248,14 +306,26 @@ export default function People() {
Stacie Au
- Hi I’m Stacie, this year’s Junior Caucus finance director, and I look forward to making JProm cheaper (or at least a little more affordable)! I’ve worked in this department for 2 years now and have been in the finance space for 3/4 years. Other than being interested in finance and business, I often enjoy doing different sports such as diving or stunt.
+ Hi I’m Stacie, this year’s Junior Caucus finance director,
+ and I look forward to making JProm cheaper (or at least a
+ little more affordable)! I’ve worked in this department for
+ 2 years now and have been in the finance space for 3/4
+ years. Other than being interested in finance and business,
+ I often enjoy doing different sports such as diving or
+ stunt.
Ayla Irshad
- Hi, I'm Ayla! This is my third year as finance director, and this year I am excited to be working on fundraisers and budgeting for events! In particular, I look forward to helping make JProm as successful and accessible as possible. Aside from caucus I also work in the SU Finance Department. In my free time, I enjoy going on bike rides as well as traveling to experience new cultures!
+ Hi, I'm Ayla! This is my third year as finance director, and
+ this year I am excited to be working on fundraisers and
+ budgeting for events! In particular, I look forward to
+ helping make JProm as successful and accessible as possible.
+ Aside from caucus I also work in the SU Finance Department.
+ In my free time, I enjoy going on bike rides as well as
+ traveling to experience new cultures!
@@ -268,7 +338,12 @@ export default function People() {
Chloe Wong
- Hey! I'm Chloe, and I've been in Caucus Graphics since my freshman year. I'm extremely passionate about graphic design, and I enjoy exploring its applications both within and outside digital media. I look forward to bringing my creative vision for the Junior Caucus to life this school year!
+ Hey! I'm Chloe, and I've been in Caucus Graphics since my
+ freshman year. I'm extremely passionate about graphic
+ design, and I enjoy exploring its applications both within
+ and outside digital media. I look forward to bringing my
+ creative vision for the Junior Caucus to life this school
+ year!
@@ -276,7 +351,15 @@ export default function People() {
Vicki Chen
- Hi! I’m Vicki, this year’s Junior Caucus Graphics Department Co-director. Besides the Junior Caucus, I’m also the Co-director for the Student Union’s Social Media Department and a member of Stuy’s Varsity Girls Fencing Team. On my free time, my favorite thing to do is baking and gifting what I bake to my friends. My specialty is matcha brownies! I’m so excited to be working with all our departments this year to bring you guys the best events, opportunities, and energy for our junior year at Stuy!
+ Hi! I’m Vicki, this year’s Junior Caucus Graphics Department
+ Co-director. Besides the Junior Caucus, I’m also the
+ Co-director for the Student Union’s Social Media Department
+ and a member of Stuy’s Varsity Girls Fencing Team. On my free
+ time, my favorite thing to do is baking and gifting what I
+ bake to my friends. My specialty is matcha brownies! I’m so
+ excited to be working with all our departments this year to
+ bring you guys the best events, opportunities, and energy for
+ our junior year at Stuy!
@@ -285,16 +368,19 @@ export default function People() {
Maegan Diep
- Hi! I'm Maegan, but I also go by Mae. This is my second year as the Social Media Director, and I'm excited to be working on our main project, the Junior Athlete Spotlight, and promoting events/information. Aside from running social media, I also enjoy baking, making art, and traveling! Fun fact: I've been to Dominican Republic four times... (I highly recommend visiting though.)
+ Hi! I'm Maegan, but I also go by Mae. This is my second year
+ as the Social Media Director, and I'm excited to be working
+ on our main project, the Junior Athlete Spotlight, and
+ promoting events/information. Aside from running social
+ media, I also enjoy baking, making art, and traveling! Fun
+ fact: I've been to Dominican Republic four times... (I
+ highly recommend visiting though.)
-
-
-
@@ -314,4 +400,4 @@ const calculateZoom = (element) => {
// calculate the zoom level - closer to center means more zoom
const zoomLevel = 1 + (1 - distanceFromCenter / maxDistance) * 0.1; // controls max zoom
return Math.max(zoomLevel, 1); // the scale is not less than 1
-};
\ No newline at end of file
+};
diff --git a/src/components/Resources.css b/src/components/Resources.css
index d8089f7..5bb88a7 100644
--- a/src/components/Resources.css
+++ b/src/components/Resources.css
@@ -19,4 +19,4 @@
.resource-title {
font-weight: 200 !important; /* ovveride needed here*/
-}
\ No newline at end of file
+}
diff --git a/src/components/Resources.jsx b/src/components/Resources.jsx
index 68a4058..202696b 100644
--- a/src/components/Resources.jsx
+++ b/src/components/Resources.jsx
@@ -7,40 +7,48 @@ import "./Resources.css";
import ResourceCard from "./NonPage/ResourceCard";
export default function Resources() {
- const [Resources, setResources] = useState([])
- useEffect(() => {
- const fetchSheetsData = async () => {
- try {
- const ID = "1yB7zzw0I3hUjLwgKZXMpBioQ9FNkTg2bp3skTwtatHk";
- const sheet_name = "Resources";
- const response = await fetch(`https://docs.google.com/spreadsheets/d/${ID}/gviz/tq?tqx=out:csv&sheet=${sheet_name}`);
- const text = await response.text();
- let data = text.split("\n");
- data = data.map(x => {
- return x.replaceAll("\"", "").split(",");
- });
- data.shift();
- setResources(data);
- } catch (err) {
- console.log(err);
- }
- };
- fetchSheetsData()
- }, []);
- let resourcesPage = (
-
- );
- return resourcesPage;
-}
\ No newline at end of file
+
+
+
+
+
+ );
+ return resourcesPage;
+}
diff --git a/src/components/Socials.css b/src/components/Socials.css
index c0e447f..c5d9b62 100644
--- a/src/components/Socials.css
+++ b/src/components/Socials.css
@@ -1,4 +1,4 @@
.socials {
width: 100vw;
height: 100vh;
-}
\ No newline at end of file
+}
diff --git a/src/components/Socials.jsx b/src/components/Socials.jsx
index 055051f..8d73e97 100644
--- a/src/components/Socials.jsx
+++ b/src/components/Socials.jsx
@@ -6,13 +6,13 @@ import Texture from "./NonPage/Texture";
import "./Socials.css";
export default function Socials() {
- return (
-
-
-
-
-
-
-
-
);
-}
\ No newline at end of file
+ return (
+
+
+
+
+
+
+
+ );
+}
diff --git a/src/index.css b/src/index.css
index 243d3f3..a1d7d35 100644
--- a/src/index.css
+++ b/src/index.css
@@ -19,4 +19,4 @@ body {
a, .interactable {
cursor: none;
-}
\ No newline at end of file
+}