diff --git a/components/EventCalendar/Calendar.tsx b/components/EventCalendar/Calendar.tsx index aff5a1c..7d2e758 100644 --- a/components/EventCalendar/Calendar.tsx +++ b/components/EventCalendar/Calendar.tsx @@ -3,7 +3,7 @@ import Typography from "@mui/material/Typography"; import Grid2 from "@mui/material/Unstable_Grid2/Grid2"; import PaperItem from "./PaperItem"; import SingleDate from "./SingleDate"; -import { calendarData } from "../../data/EventCalendarData"; +import { calendarData } from "../../data/EventsAndGallery/EventCalendarData"; const Calendar = () => { const currDate = new Date(); diff --git a/data/CulturalClubCrew.ts b/data/Crews/CulturalClubCrew.ts similarity index 63% rename from data/CulturalClubCrew.ts rename to data/Crews/CulturalClubCrew.ts index 396bab8..317eaf9 100644 --- a/data/CulturalClubCrew.ts +++ b/data/Crews/CulturalClubCrew.ts @@ -7,46 +7,46 @@ interface CrewProps { } // import crew -import Panshul_Senapati from "../assets/team_23-24/Panshul_Senapati.jpg"; -import Aseem_Rai from "../assets/team_23-24/Aseem_Rai.jpg"; -import Ashutosh_Jaiswal from "../assets/team_23-24/Ashutosh_Jaiswal.jpeg"; -import Arman_Singh_Kshatri from "../assets/team_23-24/Male-member.jpeg"; -import Ojash_Verma from "../assets/team_23-24/Male-member.jpeg"; -import Simmi_Baghel from "../assets/team_23-24/Simmi_Baghel.jpg"; -import Priyanshu_Srivastava from "../assets/team_23-24/Priyanshu_Srivastava.jpg"; -import Anoushka_Koul from "../assets/team_23-24/Anoushka_koul.jpeg"; -import Tanisi_Jha from "../assets/team_23-24/Female-member.jpeg"; -import Varsha_Sri_Narla from "../assets/team_23-24/Varsha_Sri_Narla.jpg"; -import Akhilesh_Vajrala from "../assets/team_23-24/Male-member.jpeg"; -import Mohd_Kaif from "../assets/team_23-24/Male-member.jpeg"; -import Swastika_Satya from "../assets/team_23-24/Swastika_Satya.jpg"; -import Vishal_Sharma from "../assets/team_23-24/Vishal_Sharma.jpg"; -import Kanika_Malhotra from "../assets/team_23-24/Kanika_Malhotra -.jpg"; -import Juttuka_Saaketh from "../assets/team_23-24/Male-member.jpeg"; -import Anshu_kashyap from "../assets/team_23-24/Female-member.jpeg"; -import Krishna_aggarwal from "../assets/team_23-24/Krishna_Agrawal.jpg"; -import Niharika_Murmu from "../assets/team_23-24/Niharika_Murmu.jpg"; -import Satvik_Yadav from "../assets/team_23-24/Satvik_Yadav.jpg"; -import RamaR_Katta from "../assets/team_23-24/Male-member.jpeg"; -import Aryan_Kumar_Baghel from "../assets/team_23-24/Aryan_Kumar_Baghel.jpg"; -import Anuja_Singh from "../assets/team_23-24/Female-member.jpeg"; -import Eluri_Rithwik from "../assets/team_23-24/Eluri_Rithwik.jpg"; -import Muskan_Dewangan from "../assets/team_23-24/Muskan_Dewangan.jpg"; -import Thanisha_Dewangan from "../assets/team_23-24/Thanisha _Dewangan..jpg"; -import Shalini_Singh from "../assets/team_23-24/Shalini_Singh.jpg"; -import Sanjana_Sori from "../assets/team_23-24/Sanjana_Sori.jpg"; -import Vajrala_Akhilesh from "../assets/team_23-24/Male-member.jpeg"; -import P_Punit from "../assets/team_23-24/Male-member.jpeg"; -import Anjali_Daheriya from "../assets/team_23-24/Female-member.jpeg"; -import Aniket_Pandey from "../assets/team_23-24/Aniket_Pandey.jpg"; -import Shreya_Tiwari from "../assets/team_23-24/Shreya_Tiwari.jpg"; -import Ayush_Yadav from "../assets/team_23-24/Ayush_Yadav.jpg"; -import Muskan_dewangan from "../assets/team_23-24/Muskan_Dewangan.jpg"; -import Apurva_Sahu from "../assets/team_23-24/Apurva_Sahu.jpg"; -import Aayush_Kulkarni from "../assets/team_23-24/Aayush_Kulkarni.jpg"; -import Anoushka_Kaul from "../assets/team_23-24/Anoushka_koul.jpeg"; -import Trisul from "../assets/team_23-24/Trisul.jpeg"; -import Shaurya_Malhan from "../assets/team_23-24/Shaurya_Malhan.jpeg"; +import Panshul_Senapati from "../../assets/team_23-24/Panshul_Senapati.jpg"; +import Aseem_Rai from "../../assets/team_23-24/Aseem_Rai.jpg"; +import Ashutosh_Jaiswal from "../../assets/team_23-24/Ashutosh_Jaiswal.jpeg"; +import Arman_Singh_Kshatri from "../../assets/team_23-24/Male-member.jpeg"; +import Ojash_Verma from "../../assets/team_23-24/Male-member.jpeg"; +import Simmi_Baghel from "../../assets/team_23-24/Simmi_Baghel.jpg"; +import Priyanshu_Srivastava from "../../assets/team_23-24/Priyanshu_Srivastava.jpg"; +import Anoushka_Koul from "../../assets/team_23-24/Anoushka_koul.jpeg"; +import Tanisi_Jha from "../../assets/team_23-24/Female-member.jpeg"; +import Varsha_Sri_Narla from "../../assets/team_23-24/Varsha_Sri_Narla.jpg"; +import Akhilesh_Vajrala from "../../assets/team_23-24/Male-member.jpeg"; +import Mohd_Kaif from "../../assets/team_23-24/Male-member.jpeg"; +import Swastika_Satya from "../../assets/team_23-24/Swastika_Satya.jpg"; +import Vishal_Sharma from "../../assets/team_23-24/Vishal_Sharma.jpg"; +import Kanika_Malhotra from "../../assets/team_23-24/Kanika_Malhotra -.jpg"; +import Juttuka_Saaketh from "../../assets/team_23-24/Male-member.jpeg"; +import Anshu_kashyap from "../../assets/team_23-24/Female-member.jpeg"; +import Krishna_aggarwal from "../../assets/team_23-24/Krishna_Agrawal.jpg"; +import Niharika_Murmu from "../../assets/team_23-24/Niharika_Murmu.jpg"; +import Satvik_Yadav from "../../assets/team_23-24/Satvik_Yadav.jpg"; +import RamaR_Katta from "../../assets/team_23-24/Male-member.jpeg"; +import Aryan_Kumar_Baghel from "../../assets/team_23-24/Aryan_Kumar_Baghel.jpg"; +import Anuja_Singh from "../../assets/team_23-24/Female-member.jpeg"; +import Eluri_Rithwik from "../../assets/team_23-24/Eluri_Rithwik.jpg"; +import Muskan_Dewangan from "../../assets/team_23-24/Muskan_Dewangan.jpg"; +import Thanisha_Dewangan from "../../assets/team_23-24/Thanisha _Dewangan..jpg"; +import Shalini_Singh from "../../assets/team_23-24/Shalini_Singh.jpg"; +import Sanjana_Sori from "../../assets/team_23-24/Sanjana_Sori.jpg"; +import Vajrala_Akhilesh from "../../assets/team_23-24/Male-member.jpeg"; +import P_Punit from "../../assets/team_23-24/Male-member.jpeg"; +import Anjali_Daheriya from "../../assets/team_23-24/Female-member.jpeg"; +import Aniket_Pandey from "../../assets/team_23-24/Aniket_Pandey.jpg"; +import Shreya_Tiwari from "../../assets/team_23-24/Shreya_Tiwari.jpg"; +import Ayush_Yadav from "../../assets/team_23-24/Ayush_Yadav.jpg"; +import Muskan_dewangan from "../../assets/team_23-24/Muskan_Dewangan.jpg"; +import Apurva_Sahu from "../../assets/team_23-24/Apurva_Sahu.jpg"; +import Aayush_Kulkarni from "../../assets/team_23-24/Aayush_Kulkarni.jpg"; +import Anoushka_Kaul from "../../assets/team_23-24/Anoushka_koul.jpeg"; +import Trisul from "../../assets/team_23-24/Trisul.jpeg"; +import Shaurya_Malhan from "../../assets/team_23-24/Shaurya_Malhan.jpeg"; export const ytc: CrewProps[] = [] export const tdb: CrewProps[] = [ diff --git a/data/MediaClubCrew.ts b/data/Crews/MediaClubCrew.ts similarity index 64% rename from data/MediaClubCrew.ts rename to data/Crews/MediaClubCrew.ts index fe0bd99..bf46b62 100644 --- a/data/MediaClubCrew.ts +++ b/data/Crews/MediaClubCrew.ts @@ -7,28 +7,28 @@ interface CrewProps { } // import crew -import Ojash_Verma from "../assets/team_23-24/Male-member.jpeg"; -import Aayush_Kulkarni from "../assets/team_23-24/Aayush_Kulkarni.jpg"; -import Trisul from "../assets/team_23-24/Trisul.jpeg"; -import Shreyansh_Kushwaha from "../assets/team_23-24/Shreyansh_Kushwaha.jpg" -import Ishita_Tegar from "../assets/team_23-24/Ishita_Tegar.jpg"; -import Raj_Bhattacharya from "../assets/team_23-24/Male-member.jpeg"; -import A_Satya_Kartik from "../assets/team_23-24/Male-member.jpeg"; -import S_Chandu from "../assets/team_23-24/Male-member.jpeg"; -import Tanishka from "../assets/team_23-24/Female-member.jpeg"; -import Aryansh_Verma from "../assets/team_23-24/Aryansh_Verma.jpg"; -import Abhijeet_Jharbade from "../assets/team_23-24/Male-member.jpeg"; -import ACHANTA_SATYA_KARTHIK from "../assets/team_23-24/Satya_Karthik_Achanta.jpg"; -import ANKITAN_KUMAR from "../assets/team_23-24/Ankitan_Kumar.jpg"; -import ANUJA_SINGH_PANDAW from "../assets/team_23-24/Female-member.jpeg"; -import APURVA_SAHU from "../assets/team_23-24/Apurva_Sahu.jpg"; -import KARTHIKEYA_PRACHODRAN from "../assets/team_23-24/Male-member.jpeg"; -import RIMJHIM_SHARMA from "../assets/team_23-24/Female-member.jpeg"; -import AAYUSH_KULKARNI from "../assets/team_23-24/Aayush_Kulkarni.jpg"; -import ARYAN_KUMAR_BAGHEL from "../assets/team_23-24/Aryan_Kumar_Baghel.jpg"; -import Manu_Sai from "../assets/team_23-24/Manu_Sai.jpg"; -import Ojas_Dubey1 from "../assets/team_23-24/Ojas_Dubey.jpg"; -import Yashraj from "../assets/team_23-24/Yash_Raj.jpeg"; +import Ojash_Verma from "../../assets/team_23-24/Male-member.jpeg"; +import Aayush_Kulkarni from "../../assets/team_23-24/Aayush_Kulkarni.jpg"; +import Trisul from "../../assets/team_23-24/Trisul.jpeg"; +import Shreyansh_Kushwaha from "../../assets/team_23-24/Shreyansh_Kushwaha.jpg" +import Ishita_Tegar from "../../assets/team_23-24/Ishita_Tegar.jpg"; +import Raj_Bhattacharya from "../../assets/team_23-24/Male-member.jpeg"; +import A_Satya_Kartik from "../../assets/team_23-24/Male-member.jpeg"; +import S_Chandu from "../../assets/team_23-24/Male-member.jpeg"; +import Tanishka from "../../assets/team_23-24/Female-member.jpeg"; +import Aryansh_Verma from "../../assets/team_23-24/Aryansh_Verma.jpg"; +import Abhijeet_Jharbade from "../../assets/team_23-24/Male-member.jpeg"; +import ACHANTA_SATYA_KARTHIK from "../../assets/team_23-24/Satya_Karthik_Achanta.jpg"; +import ANKITAN_KUMAR from "../../assets/team_23-24/Ankitan_Kumar.jpg"; +import ANUJA_SINGH_PANDAW from "../../assets/team_23-24/Female-member.jpeg"; +import APURVA_SAHU from "../../assets/team_23-24/Apurva_Sahu.jpg"; +import KARTHIKEYA_PRACHODRAN from "../../assets/team_23-24/Male-member.jpeg"; +import RIMJHIM_SHARMA from "../../assets/team_23-24/Female-member.jpeg"; +import AAYUSH_KULKARNI from "../../assets/team_23-24/Aayush_Kulkarni.jpg"; +import ARYAN_KUMAR_BAGHEL from "../../assets/team_23-24/Aryan_Kumar_Baghel.jpg"; +import Manu_Sai from "../../assets/team_23-24/Manu_Sai.jpg"; +import Ojas_Dubey1 from "../../assets/team_23-24/Ojas_Dubey.jpg"; +import Yashraj from "../../assets/team_23-24/Yash_Raj.jpeg"; export const website: CrewProps[] = [ { diff --git a/data/SportsClubCrew.ts b/data/Crews/SportsClubCrew.ts similarity index 66% rename from data/SportsClubCrew.ts rename to data/Crews/SportsClubCrew.ts index 6a41672..c6d35ab 100644 --- a/data/SportsClubCrew.ts +++ b/data/Crews/SportsClubCrew.ts @@ -7,22 +7,22 @@ interface CrewProps { } // import crew -import Sanjana_Sori from "../assets/team_23-24/Sanjana_Sori.jpg"; -import Shaurya_Malhan from "../assets/team_23-24/Shaurya_Malhan.jpeg"; -import Suyash_Gupta from "../assets/team_23-24/Suyash_Gupta.jpg"; -import Yash_Raj from "../assets/team_23-24/Yash_Raj.jpeg"; -import Neha_Dhruw from "../assets/team_23-24/Neha_Dhruw.jpg"; -import Ravikant_Shrivas from "../assets/team_23-24/Male-member.jpeg"; -import Aditya_Raj_Banjare from "../assets/team_23-24/Male-member.jpeg"; -import Ravi_Vinayak from "../assets/team_23-24/Ravi_Vinayak.jpeg"; -import Venella_Telli from "../assets/team_23-24/Female-member.jpeg"; -import Ojash_E_Sports from "../assets/team_23-24/Male-member.jpeg"; -import Deependra_Singh_Bhow from "../assets/team_23-24/Deependar.jpeg"; -import Lumani_Verma from "../assets/team_23-24/Female-member.jpeg"; -import Aman_Kumar_Singh from "../assets/team_23-24/Aman_Singh.jpg"; -import Mayank_Chandra from "../assets/team_23-24/Male-member.jpeg"; -import Neha_Dhruw_Volleyball from "../assets/team_23-24/Neha_Dhruw.jpg"; -import Raj_Bhattacharya from "../assets/team_23-24/Male-member.jpeg"; +import Sanjana_Sori from "../../assets/team_23-24/Sanjana_Sori.jpg"; +import Shaurya_Malhan from "../../assets/team_23-24/Shaurya_Malhan.jpeg"; +import Suyash_Gupta from "../../assets/team_23-24/Suyash_Gupta.jpg"; +import Yash_Raj from "../../assets/team_23-24/Yash_Raj.jpeg"; +import Neha_Dhruw from "../../assets/team_23-24/Neha_Dhruw.jpg"; +import Ravikant_Shrivas from "../../assets/team_23-24/Male-member.jpeg"; +import Aditya_Raj_Banjare from "../../assets/team_23-24/Male-member.jpeg"; +import Ravi_Vinayak from "../../assets/team_23-24/Ravi_Vinayak.jpeg"; +import Venella_Telli from "../../assets/team_23-24/Female-member.jpeg"; +import Ojash_E_Sports from "../../assets/team_23-24/Male-member.jpeg"; +import Deependra_Singh_Bhow from "../../assets/team_23-24/Deependar.jpeg"; +import Lumani_Verma from "../../assets/team_23-24/Female-member.jpeg"; +import Aman_Kumar_Singh from "../../assets/team_23-24/Aman_Singh.jpg"; +import Mayank_Chandra from "../../assets/team_23-24/Male-member.jpeg"; +import Neha_Dhruw_Volleyball from "../../assets/team_23-24/Neha_Dhruw.jpg"; +import Raj_Bhattacharya from "../../assets/team_23-24/Male-member.jpeg"; export const atharv: CrewProps[] = [ { diff --git a/data/TechnicalClubCrew.ts b/data/Crews/TechnicalClubCrew.ts similarity index 62% rename from data/TechnicalClubCrew.ts rename to data/Crews/TechnicalClubCrew.ts index 44f8306..240869b 100644 --- a/data/TechnicalClubCrew.ts +++ b/data/Crews/TechnicalClubCrew.ts @@ -7,35 +7,35 @@ interface CrewProps { } // import crew -import Ashutosh_Jaiswal from "../assets/team_23-24/Ashutosh_Jaiswal.jpeg"; -import Arman_Singh_Kshatri from "../assets/team_23-24/Male-member.jpeg"; -import Swastika_Satya from "../assets/team_23-24/Swastika_Satya.jpg"; -import Vishal_Sharma from "../assets/team_23-24/Vishal_Sharma.jpg"; -import Aniket_Pandey from "../assets/team_23-24/Aniket_Pandey.jpg"; -import Ayush_Yadav from "../assets/team_23-24/Ayush_Yadav.jpg"; -import Shaurya_Malhan from "../assets/team_23-24/Shaurya_Malhan.jpeg"; -import YashV_Gautum from "../assets/team_23-24/Yash_Vardhan_Gautam.jpg"; -import Sanskar_Singh from "../assets/team_23-24/Sanskar_Singh.jpeg"; -import Arya_Mahesh from "../assets/team_23-24/Arya_Mahesh_Bhiwapurkar.jpg"; -import Vaibhav_Suntwal from "../assets/team_23-24/Vaibhav_Suntwal.jpg"; -import Shivaibhav from "../assets/team_23-24/Shivaibhav_Dewangan.jpg"; -import Gaurish from "../assets/team_23-24/Gaurish_Ojha.jpg"; -import Dhyanendra from "../assets/team_23-24/Dhyanendra_Tripathi.jpg"; -import Swasti_Srivastava from "../assets/team_23-24/Swasti_Srivastava.jpeg"; -import Manav_Raj from "../assets/team_23-24/Manav_Raj_Singh.jpg"; -import V_Jaswanth from "../assets/team_23-24/Vemula_Jashwanth.jpeg"; -import Alankrit from "../assets/team_23-24/Alankrit_Sharma.jpg" -import Shreyansh_Kushwaha from "../assets/team_23-24/Shreyansh_Kushwaha.jpg" -import Venkata_surya from "../assets/team_23-24/Venkata_Surya_Sundar_Vadali.jpg" -import Priyanshu_shri from "../assets/team_23-24/Priyanshu_Srivastava.jpg" -import Ishita_Tegar from "../assets/team_23-24/Ishita_Tegar.jpg"; -import Umesh_Sinha from "../assets/team_23-24/Umesh_Sinha.jpg"; -import Alankar_Saxena from "../assets/team_23-24/Alankar_Saxena.jpg"; -import Namita from "../assets/team_23-24/Namita_shah.jpg"; -import Krishna_Aggarwal from "../assets/team_23-24/Krishna_Agrawal.jpg"; -import Bhavik from "../assets/team_23-24/Male-member.jpeg"; -import Harsh_Shrivastava from "../assets/team_23-24/Harsh_Shrivastava.jpg"; -import Lokesh_Harmani from "../assets/team_23-24/Male-member.jpeg"; +import Ashutosh_Jaiswal from "../../assets/team_23-24/Ashutosh_Jaiswal.jpeg"; +import Arman_Singh_Kshatri from "../../assets/team_23-24/Male-member.jpeg"; +import Swastika_Satya from "../../assets/team_23-24/Swastika_Satya.jpg"; +import Vishal_Sharma from "../../assets/team_23-24/Vishal_Sharma.jpg"; +import Aniket_Pandey from "../../assets/team_23-24/Aniket_Pandey.jpg"; +import Ayush_Yadav from "../../assets/team_23-24/Ayush_Yadav.jpg"; +import Shaurya_Malhan from "../../assets/team_23-24/Shaurya_Malhan.jpeg"; +import YashV_Gautum from "../../assets/team_23-24/Yash_Vardhan_Gautam.jpg"; +import Sanskar_Singh from "../../assets/team_23-24/Sanskar_Singh.jpeg"; +import Arya_Mahesh from "../../assets/team_23-24/Arya_Mahesh_Bhiwapurkar.jpg"; +import Vaibhav_Suntwal from "../../assets/team_23-24/Vaibhav_Suntwal.jpg"; +import Shivaibhav from "../../assets/team_23-24/Shivaibhav_Dewangan.jpg"; +import Gaurish from "../../assets/team_23-24/Gaurish_Ojha.jpg"; +import Dhyanendra from "../../assets/team_23-24/Dhyanendra_Tripathi.jpg"; +import Swasti_Srivastava from "../../assets/team_23-24/Swasti_Srivastava.jpeg"; +import Manav_Raj from "../../assets/team_23-24/Manav_Raj_Singh.jpg"; +import V_Jaswanth from "../../assets/team_23-24/Vemula_Jashwanth.jpeg"; +import Alankrit from "../../assets/team_23-24/Alankrit_Sharma.jpg" +import Shreyansh_Kushwaha from "../../assets/team_23-24/Shreyansh_Kushwaha.jpg" +import Venkata_surya from "../../assets/team_23-24/Venkata_Surya_Sundar_Vadali.jpg" +import Priyanshu_shri from "../../assets/team_23-24/Priyanshu_Srivastava.jpg" +import Ishita_Tegar from "../../assets/team_23-24/Ishita_Tegar.jpg"; +import Umesh_Sinha from "../../assets/team_23-24/Umesh_Sinha.jpg"; +import Alankar_Saxena from "../../assets/team_23-24/Alankar_Saxena.jpg"; +import Namita from "../../assets/team_23-24/Namita_shah.jpg"; +import Krishna_Aggarwal from "../../assets/team_23-24/Krishna_Agrawal.jpg"; +import Bhavik from "../../assets/team_23-24/Male-member.jpeg"; +import Harsh_Shrivastava from "../../assets/team_23-24/Harsh_Shrivastava.jpg"; +import Lokesh_Harmani from "../../assets/team_23-24/Male-member.jpeg"; export const inquizitive: CrewProps[] = [ { diff --git a/data/EventsAndGallery/ClubGalleryData.ts b/data/EventsAndGallery/ClubGalleryData.ts new file mode 100644 index 0000000..387214d --- /dev/null +++ b/data/EventsAndGallery/ClubGalleryData.ts @@ -0,0 +1,223 @@ +import { StaticImageData } from "next/image"; + +// Technical +import hack1 from "../../assets/club_event_pics/technical/hack1.jpeg"; +import hack2 from "../../assets/club_event_pics/technical/hack2.jpeg"; +import hack3 from "../../assets/club_event_pics/technical/hack3.jpeg"; +import hack4 from "../../assets/club_event_pics/technical/hack4.jpeg"; +import hack5 from "../../assets/club_event_pics/technical/hack5.jpeg"; +import hack6 from "../../assets/club_event_pics/technical/hack6.jpeg"; +import quiz1 from "../../assets/club_event_pics/technical/quiz1.jpeg"; +import quiz2 from "../../assets/club_event_pics/technical/quiz2.jpeg"; +import quiz3 from "../../assets/club_event_pics/technical/quiz3.jpeg"; +import quiz4 from "../../assets/club_event_pics/technical/quiz4.jpeg"; +import quiz5 from "../../assets/club_event_pics/technical/quiz5.jpeg"; +import quiz6 from "../../assets/club_event_pics/technical/quiz6.jpeg"; +import intro_aiml1 from "../../assets/club_event_pics/technical/intro_aiml1.jpeg"; +import intro_aiml2 from "../../assets/club_event_pics/technical/intro_aiml2.jpeg"; +import intro_aiml3 from "../../assets/club_event_pics/technical/intro_aiml3.jpeg"; +import intro_aiml4 from "../../assets/club_event_pics/technical/intro_aiml4.jpeg"; +import kaggle_comp1 from "../../assets/club_event_pics/technical/kaggle_competition1.jpeg"; +import kaggle_comp2 from "../../assets/club_event_pics/technical/kaggle_competition2.jpeg"; +import kaggle_comp3 from "../../assets/club_event_pics/technical/kaggle_competition3.jpeg"; +import kaggle_comp4 from "../../assets/club_event_pics/technical/kaggle_competition4.jpeg"; +import kaggle_comp5 from "../../assets/club_event_pics/technical/kaggle_competition5.jpeg"; +import kaggle_comp6 from "../../assets/club_event_pics/technical/kaggle_competition6.jpeg"; +import kaggle_comp7 from "../../assets/club_event_pics/technical/kaggle_competition7.jpeg"; +import kaggle_comp8 from "../../assets/club_event_pics/technical/kaggle_competition8.jpeg"; +import bit1 from "../../assets/club_event_pics/technical/bit1.jpeg"; +import bit2 from "../../assets/club_event_pics/technical/bit2.jpeg"; +import bit3 from "../../assets/club_event_pics/technical/bit3.jpeg"; +import bit4 from "../../assets/club_event_pics/technical/bit4.jpeg"; +import bit5 from "../../assets/club_event_pics/technical/bit5.jpeg"; +import bit6 from "../../assets/club_event_pics/technical/bit6.jpeg"; +import bit7 from "../../assets/club_event_pics/technical/bit7.jpeg"; +import bit8 from "../../assets/club_event_pics/technical/bit8.jpeg"; +import ctf1 from "../../assets/club_event_pics/technical/ctf1.jpeg"; +import ctf2 from "../../assets/club_event_pics/technical/ctf2.jpeg"; +import ctf3 from "../../assets/club_event_pics/technical/ctf3.jpeg"; +import ctf4 from "../../assets/club_event_pics/technical/ctf4.jpeg"; +import arduino1 from "../../assets/club_event_pics/technical/arduino1.jpeg"; +import arduino2 from "../../assets/club_event_pics/technical/arduino2.jpeg"; +import arduino3 from "../../assets/club_event_pics/technical/arduino3.jpeg"; +import arduino4 from "../../assets/club_event_pics/technical/arduino4.jpeg"; +//Cultural +import ramp1 from "../../assets/club_event_pics/cultural/ramp1.jpeg"; +import ramp2 from "../../assets/club_event_pics/cultural/ramp2.jpeg"; +import ramp3 from "../../assets/club_event_pics/cultural/ramp3.jpeg"; +import ramp4 from "../../assets/club_event_pics/cultural/ramp4.jpeg"; +import canva1 from "../../assets/club_event_pics/cultural/canva1.jpeg"; +import canva2 from "../../assets/club_event_pics/cultural/canva2.jpeg"; +import canva3 from "../../assets/club_event_pics/cultural/canva3.jpeg"; +import canva4 from "../../assets/club_event_pics/cultural/canva4.jpeg"; +import mellow1 from "../../assets/club_event_pics/cultural/mellow_cap1.jpeg"; +import mellow2 from "../../assets/club_event_pics/cultural/mellow_cap2.jpeg"; +import mellow3 from "../../assets/club_event_pics/cultural/mellow_cap3.jpeg"; +import mellow4 from "../../assets/club_event_pics/cultural/mellow_cap4.jpeg"; +import nukkad1 from "../../assets/club_event_pics/cultural/nukkad1.jpeg"; +import nukkad2 from "../../assets/club_event_pics/cultural/nukkad2.jpeg"; +import nukkad3 from "../../assets/club_event_pics/cultural/nukkad3.jpeg"; +import nukkad4 from "../../assets/club_event_pics/cultural/nukkad4.jpeg"; +import dance1 from "../../assets/club_event_pics/cultural/dance1.jpeg"; +import dance2 from "../../assets/club_event_pics/cultural/dance2.jpeg"; +import dance3 from "../../assets/club_event_pics/cultural/dance3.jpeg"; +import dance4 from "../../assets/club_event_pics/cultural/dance4.jpeg"; +import yet1 from "../../assets/club_event_pics/cultural/yet1.jpeg"; +import yet2 from "../../assets/club_event_pics/cultural/yet2.jpeg"; +import yet3 from "../../assets/club_event_pics/cultural/yet3.jpeg"; +import yet4 from "../../assets/club_event_pics/cultural/yet4.jpeg"; +import chai1 from "../../assets/club_event_pics/cultural/chai1.jpeg"; +import chai2 from "../../assets/club_event_pics/cultural/chai2.jpeg"; +import chai3 from "../../assets/club_event_pics/cultural/chai3.jpeg"; +import chai4 from "../../assets/club_event_pics/cultural/chai4.jpeg"; +import whatif1 from "../../assets/club_event_pics/cultural/whatif1.jpeg"; +import whatif2 from "../../assets/club_event_pics/cultural/whatif2.jpeg"; +import whatif3 from "../../assets/club_event_pics/cultural/whatif3.jpeg"; +import whatif4 from "../../assets/club_event_pics/cultural/whatif4.jpeg"; +import munc1 from "../../assets/club_event_pics/cultural/munc1.jpeg"; +import munc2 from "../../assets/club_event_pics/cultural/munc2.jpeg"; +import munc3 from "../../assets/club_event_pics/cultural/munc3.jpeg"; +import munc4 from "../../assets/club_event_pics/cultural/munc4.jpeg"; +import munc5 from "../../assets/club_event_pics/cultural/munc5.jpeg"; +import munc6 from "../../assets/club_event_pics/cultural/munc6.jpeg"; +import munc7 from "../../assets/club_event_pics/cultural/munc7.jpeg"; +import munc8 from "../../assets/club_event_pics/cultural/munc8.jpeg"; +//Media & IT Cell +import bharat1 from "../../assets/club_event_pics/cultural/bharat1.jpeg"; +import bharat3 from "../../assets/club_event_pics/cultural/bharat3.jpeg"; +import bharat4 from "../../assets/club_event_pics/cultural/bharat4.jpeg"; +import bharat5 from "../../assets/club_event_pics/cultural/bharat5.jpeg"; +import bharat6 from "../../assets/club_event_pics/cultural/bharat6.jpeg"; +import ganraya1 from "../../assets/club_event_pics/cultural/ganraya1.jpeg"; +import ganraya2 from "../../assets/club_event_pics/cultural/ganraya2.jpeg"; +import ganraya3 from "../../assets/club_event_pics/cultural/ganraya3.jpeg"; +import ganraya4 from "../../assets/club_event_pics/cultural/ganraya4.jpeg"; + +interface ClubEventsProps { + name: string; date?: string; image: StaticImageData[]; club: string +} +export const allEvents: ClubEventsProps[] = [ + { + name: "Bharat ke Rang", + date: "13 Jan 2023", + image: [bharat1, bharat3, bharat4, bharat5, bharat6], + club: "Shutterbug" + }, + { + name: "Jai Ganraya", + date: "31 Aug 2022", + image: [ganraya1, ganraya2, ganraya3, ganraya4], + club: "Shutterbug" + }, + { + name: "Quizadry", + date: "", + image: [quiz1, quiz2, quiz3, quiz4, quiz5, quiz6], + club: "Inquizitive" + }, + { + name: "Arduino Workshop", + date: "Jan 2023", + image: [arduino2, arduino1, arduino4, arduino3], + club: "ComEt" + }, + { + name: "Bit-2-Byte", + date: "9-10 April 2022", + image: [bit1, bit2, bit3, bit4, bit5, bit6, bit7, bit8], + club: "TSoC" + }, + { + name: "Intra College CTF", + date: "28 March 2022", + image: [ctf1, ctf2, ctf3, ctf4], + club: "Ciphercell" + }, + { + name: "Hacknovate", + date: "", + image: [hack1, hack2, hack3, hack4, hack5, hack6], + club: "" + }, + { + name: "Rampage", + date: "12 Sept 2022", + image: [ramp1, ramp2, ramp3, ramp4], + club: "C2C" + }, + { + name: "CanvaKar", + date: "24 Sept 2022", + image: [canva1, canva2, canva3, canva4], + club: "Indradhanush" + }, + { + name: "Mellow Response", + date: "9 May 2022", + image: [mellow1, mellow2, mellow3, mellow4], + club: "Capriccio" + }, + { + name: "Nukkad Natak", + date: "2 Nov 2022", + image: [nukkad1, nukkad2, nukkad3, nukkad4], + club: "CDT" + }, + { + name: "Dance Workshop", + date: "7 Jan 2023", + image: [dance1, dance2, dance3, dance4], + club: "Igniters" + }, + { + name: "Mellow Response", + date: "9 May 2022", + image: [mellow1, mellow2, mellow3], + club: "Igniters" + }, + { + name: "Yet to be Decided", + date: "20 Jan 2023", + image: [yet1, yet2, yet3, yet4], + club: "TDB" + }, + { + name: "MUN Conference 2022", + date: "7-8 May 2022", + image: [munc1, munc2, munc3, munc4, munc5, munc6, munc7, munc8], + club: "MUN" + }, + { + name: "Chai Pe Charcha", + date: "19 Jan 2023", + image: [chai1, chai2, chai3, chai4], + club: "MUN" + }, + { + name: "What If", + date: "09 Sept 2022", + image: [whatif1, whatif2, whatif3, whatif4], + club: "MUN" + }, + { + name: "Introduction to AIML", + date: "29 Nov 2022", + image: [intro_aiml1, intro_aiml2, intro_aiml3, intro_aiml4], + club: "AIML" + }, + { + name: "Kaggle Competition", + date: "7 Feb 2023", + image: [ + kaggle_comp1, + kaggle_comp2, + kaggle_comp3, + kaggle_comp4, + kaggle_comp5, + kaggle_comp6, + kaggle_comp7, + kaggle_comp8, + ], + club: "AIML" + }, +] \ No newline at end of file diff --git a/data/EventCalendarData.ts b/data/EventsAndGallery/EventCalendarData.ts similarity index 94% rename from data/EventCalendarData.ts rename to data/EventsAndGallery/EventCalendarData.ts index 5948698..103b409 100644 --- a/data/EventCalendarData.ts +++ b/data/EventsAndGallery/EventCalendarData.ts @@ -1,9 +1,9 @@ import { StaticImageData } from "next/image"; -import starIcon from "../assets/calendar_icons/star.svg"; //Festival and Special Events -import circleIcon from "../assets/calendar_icons/circle.svg"; // National Events -import crossIcon from "../assets/calendar_icons/cross.svg"; // sports -import rectangleIcon from "../assets/calendar_icons/rectangle.svg"; // technical -import triangleIcon from "../assets/calendar_icons/triangle.svg"; // cultural +import starIcon from "../../assets/calendar_icons/star.svg"; //Festival and Special Events +import circleIcon from "../../assets/calendar_icons/circle.svg"; // National Events +import crossIcon from "../../assets/calendar_icons/cross.svg"; // sports +import rectangleIcon from "../../assets/calendar_icons/rectangle.svg"; // technical +import triangleIcon from "../../assets/calendar_icons/triangle.svg"; // cultural interface CalendarDataProps { date: string; diff --git a/data/EventsAndGallery/GalleryData.ts b/data/EventsAndGallery/GalleryData.ts new file mode 100644 index 0000000..69351c7 --- /dev/null +++ b/data/EventsAndGallery/GalleryData.ts @@ -0,0 +1,96 @@ +import { StaticImageData } from "next/image"; +import { allEvents } from "./ClubGalleryData"; + +// Major Events +import hackmanthan from "../../assets/major_events_pics/hackmanthan.jpeg"; +import scientfic from "../../assets/major_events_pics/scientfic.jpeg"; +import ganesh_chaturthi from "../../assets/major_events_pics/ganesh_chaturthi.jpeg"; +import technovate from "../../assets/major_events_pics/technovate.jpeg"; + +// Sports +import lakshya1 from "../../assets/club_event_pics/sports/lakshya1.jpeg"; +import lakshya2 from "../../assets/club_event_pics/sports/lakshya2.jpeg"; +import lakshya3 from "../../assets/club_event_pics/sports/lakshya3.jpeg"; +import lakshya4 from "../../assets/club_event_pics/sports/lakshya4.jpeg"; +import lakshya5 from "../../assets/club_event_pics/sports/lakshya5.jpeg"; +import lakshya6 from "../../assets/club_event_pics/sports/lakshya6.jpeg"; + +interface MajorEventsProps { + label: string; + img: StaticImageData; + date: string; +} + +interface RecentClubEventsProps { + image: StaticImageData[]; + name: string; + club: string; + date?: string; +} + +interface ClubEventsProps { + cultural: { name: string; date?: string; image: StaticImageData[], club: string }[]; + technical: { name: string; date?: string; image: StaticImageData[], club: string }[]; + sports: { name: string; date?: string; image: StaticImageData[], club: string }[]; + media: { name: string; date?: string; image: StaticImageData[], club: string }[]; +} + +/* + You need to delete the last entry and add the new entry first for every new entry. + Alternatively, you have to delete the newsData[last] and add the new entry on newsData[0]. + Also you have to make sure that on every new entry you have to delete the images from the assets > major_events_pics + folder and add the new images for major events. +*/ + +export const majorEvents: MajorEventsProps[] = [ + { + label: "SCIη′TFIC", + img: scientfic, + date: "14 January 2023", + }, + { + label: "Technovate", + img: technovate, + date: "5-7 Nov 2022", + }, + { + label: "Ganesh Chaturthi", + img: ganesh_chaturthi, + date: "Aug 31 - Sep 4", + }, + { + label: "HackManthan", + img: hackmanthan, + date: "15 June 2022", + }, +]; + +export const recentClubEvents: RecentClubEventsProps[] = allEvents.filter((event) => + event.name === "Chai Pe Charcha" + || event.name === "Yet to be Decided" + || event.name === "CanvaKar" + || event.name === "Quizadry" + || event.name === "Yet to be Decided" + || event.name === "Bit-2-Byte") + +export const ClubEvents: ClubEventsProps = { + cultural: allEvents.filter((event) => + event.club === "TDB" || event.club === "CDT" || + event.club === "MUN" || event.club === "Igniters" || + event.club === "YTC" || event.club === "Indradhanush" || + event.club === "Capriccio" || event.club === "C2C"), + technical: allEvents.filter((event) => + event.club === "TSoC" || event.club === "AIML" || + event.club === "Inquizitive" || event.club === "ComEt" || + event.club === "BIS" || event.club === "IIC" || event.club === "Ciphercell"), + media: allEvents.filter((event) => + event.club === "Shutterbug"), + sports: [ + { + name: "Lakshya", + date: "", + image: [lakshya1, lakshya2, lakshya3, lakshya4, lakshya5, lakshya6], + club: "Atharv" + }, + ], +}; diff --git a/data/RecentMajorEventsData.ts b/data/EventsAndGallery/RecentMajorEventsData.ts similarity index 89% rename from data/RecentMajorEventsData.ts rename to data/EventsAndGallery/RecentMajorEventsData.ts index 604e148..02e5d1a 100644 --- a/data/RecentMajorEventsData.ts +++ b/data/EventsAndGallery/RecentMajorEventsData.ts @@ -1,8 +1,8 @@ import { StaticImageData } from "next/image"; -import scientfic from "../assets/major_events_poster/scientifc.png"; -import hackmanthan from "../assets/major_events_poster/hackmanthan.jpeg"; -import technovate from "../assets/major_events_poster/technovate.jpeg"; -import ganesh from "../assets/major_events_poster/ganesh.jpeg"; +import scientfic from "../../assets/major_events_poster/scientifc.png"; +import hackmanthan from "../../assets/major_events_poster/hackmanthan.jpeg"; +import technovate from "../../assets/major_events_poster/technovate.jpeg"; +import ganesh from "../../assets/major_events_poster/ganesh.jpeg"; interface RecentMajorEventsDataProps { poster: StaticImageData; diff --git a/features/club/sports/SportsGalleryData.tsx b/data/EventsAndGallery/SportsGalleryData.tsx similarity index 81% rename from features/club/sports/SportsGalleryData.tsx rename to data/EventsAndGallery/SportsGalleryData.tsx index a77513a..33b7719 100644 --- a/features/club/sports/SportsGalleryData.tsx +++ b/data/EventsAndGallery/SportsGalleryData.tsx @@ -1,10 +1,10 @@ import { StaticImageData } from "next/image"; -import DSC_0029_min from "../../../assets/atharv/DSC_0029-min.jpg"; -import DSC_0030_min from "../../../assets/atharv/DSC_0163-min.jpg"; -import DSC_0031_min from "../../../assets/atharv/DSC_0415-min.jpg"; -import DSC_0032_min from "../../../assets/atharv/DSC_1027-min.jpg"; -import DSC_0033_min from "../../../assets/atharv/DSC_0029-min.jpg"; +import DSC_0029_min from "../../assets/atharv/DSC_0029-min.jpg"; +import DSC_0030_min from "../../assets/atharv/DSC_0163-min.jpg"; +import DSC_0031_min from "../../assets/atharv/DSC_0415-min.jpg"; +import DSC_0032_min from "../../assets/atharv/DSC_1027-min.jpg"; +import DSC_0033_min from "../../assets/atharv/DSC_0029-min.jpg"; interface CrewProps { img: StaticImageData; diff --git a/data/GalleryData.ts b/data/GalleryData.ts deleted file mode 100644 index c4be0b9..0000000 --- a/data/GalleryData.ts +++ /dev/null @@ -1,214 +0,0 @@ -import { StaticImageData } from "next/image"; - -// Major Events -import hackmanthan from "../assets/major_events_pics/hackmanthan.jpeg"; -import scientfic from "../assets/major_events_pics/scientfic.jpeg"; -import ganesh_chaturthi from "../assets/major_events_pics/ganesh_chaturthi.jpeg"; -import technovate from "../assets/major_events_pics/technovate.jpeg"; - -// Recent Major Events -import chaipecharcha from "../assets/recent_club_events/chaipecharcha.jpeg"; -import canvakar from "../assets/recent_club_events/canvakar.jpeg"; -import quizadry from "../assets/recent_club_events/quizadry.jpeg"; -import run from "../assets/recent_club_events/run.jpeg"; -import yet from "../assets/recent_club_events/yet.jpeg"; -import blood from "../assets/recent_club_events/blood.png"; -import constitution from "../assets/recent_club_events/constitution.jpeg"; - -// Technical -import robo1 from "../assets/club_event_pics/technical/robo1.jpeg"; -import robo2 from "../assets/club_event_pics/technical/robo2.jpeg"; -import robo3 from "../assets/club_event_pics/technical/robo3.jpeg"; -import robo4 from "../assets/club_event_pics/technical/robo4.jpeg"; -import robo5 from "../assets/club_event_pics/technical/robo5.jpeg"; -import robo6 from "../assets/club_event_pics/technical/robo6.jpeg"; -import hack1 from "../assets/club_event_pics/technical/hack1.jpeg"; -import hack2 from "../assets/club_event_pics/technical/hack2.jpeg"; -import hack3 from "../assets/club_event_pics/technical/hack3.jpeg"; -import hack4 from "../assets/club_event_pics/technical/hack4.jpeg"; -import hack5 from "../assets/club_event_pics/technical/hack5.jpeg"; -import hack6 from "../assets/club_event_pics/technical/hack6.jpeg"; -import quiz1 from "../assets/club_event_pics/technical/quiz1.jpeg"; -import quiz2 from "../assets/club_event_pics/technical/quiz2.jpeg"; -import quiz3 from "../assets/club_event_pics/technical/quiz3.jpeg"; -import quiz4 from "../assets/club_event_pics/technical/quiz4.jpeg"; -import quiz5 from "../assets/club_event_pics/technical/quiz5.jpeg"; -import quiz6 from "../assets/club_event_pics/technical/quiz6.jpeg"; - -// Cultural -import chai1 from "../assets/club_event_pics/cultural/chai1.jpeg"; -import chai2 from "../assets/club_event_pics/cultural/chai2.jpeg"; -import chai3 from "../assets/club_event_pics/cultural/chai3.jpeg"; -import chai4 from "../assets/club_event_pics/cultural/chai4.jpeg"; -import chai5 from "../assets/club_event_pics/cultural/chai5.jpeg"; -import chai6 from "../assets/club_event_pics/cultural/chai6.jpeg"; -import ramp1 from "../assets/club_event_pics/cultural/ramp1.jpeg"; -import ramp2 from "../assets/club_event_pics/cultural/ramp2.jpeg"; -import ramp3 from "../assets/club_event_pics/cultural/ramp3.jpeg"; -import ramp4 from "../assets/club_event_pics/cultural/ramp4.jpeg"; -import ramp5 from "../assets/club_event_pics/cultural/ramp5.jpeg"; -import ramp6 from "../assets/club_event_pics/cultural/ramp6.jpeg"; -import canva1 from "../assets/club_event_pics/cultural/canva1.jpeg"; -import canva2 from "../assets/club_event_pics/cultural/canva2.jpeg"; -import canva3 from "../assets/club_event_pics/cultural/canva3.jpeg"; -import canva4 from "../assets/club_event_pics/cultural/canva4.jpeg"; -import canva5 from "../assets/club_event_pics/cultural/canva5.jpeg"; -import canva6 from "../assets/club_event_pics/cultural/canva6.jpeg"; -import yet1 from "../assets/club_event_pics/cultural/yet1.jpeg"; -import yet2 from "../assets/club_event_pics/cultural/yet2.jpeg"; -import yet3 from "../assets/club_event_pics/cultural/yet3.jpeg"; -import yet4 from "../assets/club_event_pics/cultural/yet4.jpeg"; -import yet5 from "../assets/club_event_pics/cultural/yet5.jpeg"; -import yet6 from "../assets/club_event_pics/cultural/yet6.jpeg"; - -// Sports -import lakshya1 from "../assets/club_event_pics/sports/lakshya1.jpeg"; -import lakshya2 from "../assets/club_event_pics/sports/lakshya2.jpeg"; -import lakshya3 from "../assets/club_event_pics/sports/lakshya3.jpeg"; -import lakshya4 from "../assets/club_event_pics/sports/lakshya4.jpeg"; -import lakshya5 from "../assets/club_event_pics/sports/lakshya5.jpeg"; -import lakshya6 from "../assets/club_event_pics/sports/lakshya6.jpeg"; - -interface MajorEventsProps { - label: string; - img: StaticImageData; - date: string; -} - -interface RecentClubEventsProps { - img: StaticImageData; - name: string; - clubName: string; - date: string; -} - -interface ClubEventsProps { - cultural: { name: string; date?: string; img: StaticImageData[] }[]; - technical: { name: string; date?: string; img: StaticImageData[] }[]; - sports: { name: string; date?: string; img: StaticImageData[] }[]; -} - -/* - You need to delete the last entry and add the new entry first for every new entry. - Alternatively, you have to delete the newsData[last] and add the new entry on newsData[0]. - Also you have to make sure that on every new entry you have to delete the images from the assets > major_events_pics - folder and add the new images for major events. -*/ - -export const majorEvents: MajorEventsProps[] = [ - { - label: "SCIη′TFIC", - img: scientfic, - date: "14 January 2023", - }, - { - label: "Technovate", - img: technovate, - date: "5-7 Nov 2022", - }, - { - label: "Ganesh Chaturthi", - img: ganesh_chaturthi, - date: "Aug 31 - Sep 4", - }, - { - label: "HackManthan", - img: hackmanthan, - date: "15 June 2022", - }, -]; - -export const recentClubEvents: RecentClubEventsProps[] = [ - { - img: chaipecharcha, - name: "Chai Pe Charcha", - clubName: "by MUN club", - date: "19 Jan 2023", - }, - { - img: yet, - name: "Yet to be Decided", - clubName: "by Take-Da-Bait club", - date: "20 Jan 2023", - }, - { - img: constitution, - name: "Constitution Day", - clubName: "by NSS", - date: "26 Nov 2022", - }, - { - img: blood, - name: "Blood Donation Camp", - clubName: "by NSS", - date: "8 Nov 2022", - }, - { - img: canvakar, - name: "CanvaKar", - clubName: "by IndraDhanush club", - date: "14 Oct to 16 Nov 2022", - }, - { - img: quizadry, - name: "Quizadry", - clubName: "by Inquizitive club", - date: "15 Oct,2022", - }, - { - img: run, - name: "RUN FOR UNITY", - clubName: "by NSS", - date: "31 Oct, 2022", - }, -]; - -export const ClubEvents: ClubEventsProps = { - cultural: [ - { - name: "Yet to be Decided", - date: "20 Jan 2023", - img: [yet1, yet2, yet3, yet4, yet5, yet6], - }, - { - name: "Chai Pe Charcha", - date: "20 Jan 2023", - img: [chai1, chai2, chai3, chai4, chai5, chai6], - }, - { - name: "CanvaKar", - date: "", - img: [canva1, canva2, canva3, canva4, canva5, canva6], - }, - - { - name: "Ramphage", - date: "", - img: [ramp1, ramp2, ramp3, ramp4, ramp5, ramp6], - }, - ], - technical: [ - { - name: "Quizadry", - date: "", - img: [quiz1, quiz2, quiz3, quiz4, quiz5, quiz6], - }, - { - name: "Robolution", - date: "", - img: [robo1, robo2, robo3, robo4, robo5, robo6], - }, - { - name: "Hacknovate", - date: "", - img: [hack1, hack2, hack3, hack4, hack5, hack6], - }, - ], - sports: [ - { - name: "Lakshya", - date: "", - img: [lakshya1, lakshya2, lakshya3, lakshya4, lakshya5, lakshya6], - }, - ], -}; diff --git a/features/club/common/Gallery.tsx b/features/club/common/Gallery.tsx index ae07283..a224ffe 100644 --- a/features/club/common/Gallery.tsx +++ b/features/club/common/Gallery.tsx @@ -10,18 +10,22 @@ import Divider from "@mui/material/Divider"; import Image, { StaticImageData } from "next/image"; import Pagination from "@mui/material/Pagination"; import Grid2 from "@mui/material/Unstable_Grid2/Grid2"; +import { allEvents } from "../../../data/EventsAndGallery/ClubGalleryData"; -interface Props { - props: GalleryProps[]; +interface allEvents { + allEvents: GalleryProps[]; } interface GalleryProps { name: string; - img: StaticImageData[]; - date: string; + date?: string; + image: StaticImageData[]; + club: string; } - -const Gallery = ({ props }: Props) => { +interface Props { + club: string; +} +const Gallery = ({ club }: Props) => { const DropDown = () => { const [year, setYear] = useState(""); @@ -50,18 +54,21 @@ const Gallery = ({ props }: Props) => { ); }; + const events = allEvents.filter((event) => { + return event.club === club; + }); const [page, setPage] = useState(1); const [year, setYear] = useState(""); - const [event, setEvent] = useState(props[0]); + const [event, setEvent] = useState(events[0]); - const count = Math.ceil(event.img.length / 4); + const count = Math.ceil(event.image.length / 4); const handleChangePage = (event: ChangeEvent, newPage: number) => { setPage(newPage); }; const handleClickEvent = (index: number) => { - setEvent(props[index]); + setEvent(events[index]); setPage(1); }; @@ -132,7 +139,7 @@ const Gallery = ({ props }: Props) => { - {props.map((step, index) => { + {events.map((step, index) => { return ( { - {event.img + {event.image .slice((page - 1) * 4, (page - 1) * 4 + 4) .map((step) => { return ( diff --git a/features/club/cultural/ClubEvents.tsx b/features/club/cultural/ClubEvents.tsx index 26ae234..10d2db4 100644 --- a/features/club/cultural/ClubEvents.tsx +++ b/features/club/cultural/ClubEvents.tsx @@ -4,6 +4,14 @@ import Box from "@mui/material/Box"; import Image from "next/image"; import starIcon from "../../../assets/icon/icon_star.svg"; import Stack from "@mui/material/Stack"; +import { calendarData } from "../../../data/EventsAndGallery/EventCalendarData"; + +interface CalendarDataProps { + date: string; + eventName: string; + club: string; + desc: string; +} interface EventProps { name: string; @@ -12,13 +20,7 @@ interface EventProps { } interface Props { - eventName: string; - date: string; - desc: string; -} - -interface ClubEventProps { - props: Props[]; + club: string; } const Event = ({ name, date, children }: EventProps) => { @@ -85,7 +87,38 @@ const Event = ({ name, date, children }: EventProps) => { ); }; -function ClubEvents({ props }: ClubEventProps) { +function ClubEvents({ club }: Props) { + const today = new Date(); + + const sortedEvents = calendarData.filter((event) => { + const [eventDay, eventMonth, eventYear] = event.date.split("-").map(Number); + const eventDate = new Date(eventYear, eventMonth - 1, eventDay); + + return ( + eventDate.getFullYear() >= today.getFullYear() && + (eventDate.getMonth() > today.getMonth() || + (eventDate.getMonth() === today.getMonth() && + eventDate.getDate() >= today.getDate())) && + event.club === club + ); + }); + + let earliestTwoEvents: CalendarDataProps[] = []; + + if (sortedEvents.length >= 2) { + earliestTwoEvents = sortedEvents.slice(0, 2); + } else if (sortedEvents.length === 1) { + earliestTwoEvents = [ + ...sortedEvents, + { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, + ]; + } else { + earliestTwoEvents = [ + { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, + { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, + ]; + } + return ( <> - {props.map((event, key) => { + {earliestTwoEvents.map((event, key) => { return ( {event.desc} diff --git a/features/club/sports/EventData.tsx b/features/club/sports/EventData.tsx index ab2031e..72dd0bc 100644 --- a/features/club/sports/EventData.tsx +++ b/features/club/sports/EventData.tsx @@ -1,4 +1,4 @@ -import { calendarData } from "../../../data/EventCalendarData"; +import { calendarData } from "../../../data/EventsAndGallery/EventCalendarData"; interface CalendarDataProps { date: string; eventName: string; diff --git a/features/club/sports/ImageGrid.tsx b/features/club/sports/ImageGrid.tsx index 577f491..6a1d4d8 100644 --- a/features/club/sports/ImageGrid.tsx +++ b/features/club/sports/ImageGrid.tsx @@ -2,7 +2,7 @@ import React from "react"; import Image, { StaticImageData } from "next/image"; import ImageList from "@mui/material/ImageList"; import ImageListItem from "@mui/material/ImageListItem"; -import { itemData } from "./SportsGalleryData"; +import { itemData } from "../../../data/EventsAndGallery/SportsGalleryData"; import Stack from "@mui/material/Stack"; import Box from "@mui/material/Box"; diff --git a/features/club/sports/SportsGallery.tsx b/features/club/sports/SportsGallery.tsx index d548335..1ccc976 100644 --- a/features/club/sports/SportsGallery.tsx +++ b/features/club/sports/SportsGallery.tsx @@ -6,7 +6,7 @@ import iconArrow from "../../../assets/icon/icon_arrow.svg"; import Typography from "@mui/material/Typography"; import Stack from "@mui/material/Stack"; import Box from "@mui/material/Box"; -import { data } from "./SportsGalleryData"; +import { data } from "../../../data/EventsAndGallery/SportsGalleryData"; const StyledTypography = styled(Typography)({ fontFamily: "Lato", diff --git a/features/club/sports/SportsTeam.tsx b/features/club/sports/SportsTeam.tsx index 2daea5e..2659068 100644 --- a/features/club/sports/SportsTeam.tsx +++ b/features/club/sports/SportsTeam.tsx @@ -4,7 +4,7 @@ import Typography from "@mui/material/Typography"; import Image from "next/image"; import { ReactNode } from "react"; import { StaticImageData } from "next/image"; -import { atharv } from "../../../data/SportsClubCrew"; +import { atharv } from "../../../data/Crews/SportsClubCrew"; interface Props { img: StaticImageData; diff --git a/features/club/technical/TechnicalClub.tsx b/features/club/technical/TechnicalClub.tsx index eed8fa6..e4d5981 100644 --- a/features/club/technical/TechnicalClub.tsx +++ b/features/club/technical/TechnicalClub.tsx @@ -5,35 +5,23 @@ import Image, { StaticImageData } from "next/image"; import Typography from "@mui/material/Typography"; import Link from "next/link"; import { styled } from "@mui/material"; -import bgTechTop from "../../../assets/bg_tech_top.svg"; +import { calendarData } from "../../../data/EventsAndGallery/EventCalendarData"; +interface CalendarDataProps { + date: string; + eventName: string; + club: string; + desc: string; +} interface Props { name: string; desc: string; bgTop: StaticImageData; logo: StaticImageData; color: string; - event1Name: string; - event2Name: string; - event1Date: string; - event2Date: string; - event1Desc?: string; - event2Desc?: string; } -const TechnicalClub = ({ - name, - desc, - bgTop, - logo, - color, - event1Name, - event2Name, - event1Date, - event2Date, - event1Desc, - event2Desc, -}: Props) => { +const TechnicalClub = ({ name, desc, bgTop, logo, color }: Props) => { const StyledLink = styled(Typography)({ fontFamily: "Rubik", fontStyle: "italic", @@ -140,6 +128,42 @@ const TechnicalClub = ({ ); }; + const today = new Date(); + const filteredEvents = calendarData.filter((event) => { + const [eventDay, eventMonth, eventYear] = event.date.split("-").map(Number); + const eventDate = new Date(eventYear, eventMonth - 1, eventDay); + + return ( + eventDate.getFullYear() >= today.getFullYear() && + (eventDate.getMonth() > today.getMonth() || + (eventDate.getMonth() === today.getMonth() && + eventDate.getDate() >= today.getDate())) && + event.club === name + ); + }); + + let earliestTwoEvents: CalendarDataProps[] = []; + if (filteredEvents.length >= 2) { + earliestTwoEvents = filteredEvents.slice(0, 2); + } else if (filteredEvents.length === 1) { + earliestTwoEvents = [ + ...filteredEvents, + { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, + ]; + } else { + earliestTwoEvents = [ + { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, + { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, + ]; + } + + const event1Name = earliestTwoEvents[0].eventName; + const event1Date = earliestTwoEvents[0].date; + const event1Desc = earliestTwoEvents[0].desc; + const event2Name = earliestTwoEvents[1].eventName; + const event2Date = earliestTwoEvents[1].date; + const event2Desc = earliestTwoEvents[1].desc; + return ( <> { const [page, setPage] = useState(1); @@ -66,7 +66,7 @@ const Gallery = () => { setEvent(ClubEvents[name][index]); }; - const count = Math.ceil(event.img.length / 6); + const count = Math.ceil(event.image.length / 6); const handleChangePage = (event: ChangeEvent, newPage: number) => { setPage(newPage); @@ -111,7 +111,7 @@ const Gallery = () => { mt={"24px"} justifyContent={"space-between"} > - {event.img.slice((page - 1) * 6, (page - 1) * 6 + 6).map((step) => { + {event.image.slice((page - 1) * 6, (page - 1) * 6 + 6).map((step) => { return ( <> @@ -201,6 +201,13 @@ const Gallery = () => { > Sports + { + handleClickName("media"); + }} + > + Media & IT Cell + { {""} { }} > {step.name} { {""} { color={"#000000"} mt={"10px"} > - {recentClubEvents[activeStep].clubName} + {recentClubEvents[activeStep].club} =6.0.0" + } + }, "node_modules/@babel/code-frame": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", - "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", + "version": "7.23.5", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz", + "integrity": "sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==", "dependencies": { - "@babel/highlight": "^7.18.6" + "@babel/highlight": "^7.23.4", + "chalk": "^2.4.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/code-frame/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/code-frame/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/code-frame/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/@babel/code-frame/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" + }, + "node_modules/@babel/code-frame/node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/@babel/code-frame/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/code-frame/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.23.5", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.5.tgz", + "integrity": "sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw==", + "peer": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.9.tgz", + "integrity": "sha512-5q0175NOjddqpvvzU+kDiSOAk4PfdO6FvwCWoQ6RO7rTzEe8vlo+4HVfcnAREhD4npMs0e9uZypjTwzZPCf/cw==", + "peer": true, + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.23.5", + "@babel/generator": "^7.23.6", + "@babel/helper-compilation-targets": "^7.23.6", + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helpers": "^7.23.9", + "@babel/parser": "^7.23.9", + "@babel/template": "^7.23.9", + "@babel/traverse": "^7.23.9", + "@babel/types": "^7.23.9", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/core/node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "peer": true + }, + "node_modules/@babel/core/node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "peer": true, + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@babel/core/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "peer": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/generator": { + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.6.tgz", + "integrity": "sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==", + "peer": true, + "dependencies": { + "@babel/types": "^7.23.6", + "@jridgewell/gen-mapping": "^0.3.2", + "@jridgewell/trace-mapping": "^0.3.17", + "jsesc": "^2.5.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz", + "integrity": "sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ==", + "peer": true, + "dependencies": { + "@babel/compat-data": "^7.23.5", + "@babel/helper-validator-option": "^7.23.5", + "browserslist": "^4.22.2", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets/node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "peer": true, + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/@babel/helper-compilation-targets/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "peer": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/helper-compilation-targets/node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "peer": true + }, + "node_modules/@babel/helper-environment-visitor": { + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", + "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", + "peer": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-function-name": { + "version": "7.23.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", + "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", + "peer": true, + "dependencies": { + "@babel/template": "^7.22.15", + "@babel/types": "^7.23.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-hoist-variables": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", + "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", + "peer": true, + "dependencies": { + "@babel/types": "^7.22.5" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-imports": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz", - "integrity": "sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==", + "version": "7.22.15", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz", + "integrity": "sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==", + "dependencies": { + "@babel/types": "^7.22.15" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz", + "integrity": "sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==", + "peer": true, "dependencies": { - "@babel/types": "^7.18.6" + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-module-imports": "^7.22.15", + "@babel/helper-simple-access": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/helper-validator-identifier": "^7.22.20" }, "engines": { "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" } }, "node_modules/@babel/helper-plugin-utils": { @@ -59,29 +311,76 @@ "node": ">=6.9.0" } }, + "node_modules/@babel/helper-simple-access": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz", + "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==", + "peer": true, + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-split-export-declaration": { + "version": "7.22.6", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", + "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", + "peer": true, + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/@babel/helper-string-parser": { - "version": "7.19.4", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz", - "integrity": "sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz", + "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.19.1", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz", - "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==", + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", + "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.23.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz", + "integrity": "sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==", + "peer": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.9.tgz", + "integrity": "sha512-87ICKgU5t5SzOT7sBMfCOZQ2rHjRU+Pcb9BoILMYz600W6DkVRLFBPwQ18gwUVvggqXivaUakpnxWQGbpywbBQ==", + "peer": true, + "dependencies": { + "@babel/template": "^7.23.9", + "@babel/traverse": "^7.23.9", + "@babel/types": "^7.23.9" + }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/highlight": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz", - "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==", + "version": "7.23.4", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz", + "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==", "dependencies": { - "@babel/helper-validator-identifier": "^7.18.6", - "chalk": "^2.0.0", + "@babel/helper-validator-identifier": "^7.22.20", + "chalk": "^2.4.2", "js-tokens": "^4.0.0" }, "engines": { @@ -152,6 +451,18 @@ "node": ">=4" } }, + "node_modules/@babel/parser": { + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.9.tgz", + "integrity": "sha512-9tcKgqKbs3xGJ+NtKF2ndOBBLVwPjl1SHxPQkd36r3Dlirw3xWUeGaTbqr7uGZcTaxkVNwc+03SVP7aCdWrTlA==", + "peer": true, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, "node_modules/@babel/plugin-syntax-jsx": { "version": "7.18.6", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz", @@ -190,13 +501,57 @@ "node": ">=6.9.0" } }, + "node_modules/@babel/template": { + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.23.9.tgz", + "integrity": "sha512-+xrD2BWLpvHKNmX2QbpdpsBaWnRxahMwJjO+KZk2JOElj5nSmKezyS1B4u+QbHMTX69t4ukm6hh9lsYQ7GHCKA==", + "peer": true, + "dependencies": { + "@babel/code-frame": "^7.23.5", + "@babel/parser": "^7.23.9", + "@babel/types": "^7.23.9" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.9.tgz", + "integrity": "sha512-I/4UJ9vs90OkBtY6iiiTORVMyIhJ4kAVmsKo9KFc8UOxMeUfi2hvtIBsET5u9GizXE6/GFSuKCTNfgCswuEjRg==", + "peer": true, + "dependencies": { + "@babel/code-frame": "^7.23.5", + "@babel/generator": "^7.23.6", + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-function-name": "^7.23.0", + "@babel/helper-hoist-variables": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/parser": "^7.23.9", + "@babel/types": "^7.23.9", + "debug": "^4.3.1", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse/node_modules/globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "peer": true, + "engines": { + "node": ">=4" + } + }, "node_modules/@babel/types": { - "version": "7.20.7", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.20.7.tgz", - "integrity": "sha512-69OnhBxSSgK0OzTJai4kyPDiKTIe3j+ctaHdIGVbRahTLAT7L3R9oeXHC2aVSuGYt3cVnoAMDmOCgJ2yaiLMvg==", + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.9.tgz", + "integrity": "sha512-dQjSq/7HaSjRM43FFGnv5keM2HsxpmyV1PfaSVm0nzzjwwTmjOe6J4bC8e3+pTEIgHaHj+1ZlLThRJ2auc/w1Q==", "dependencies": { - "@babel/helper-string-parser": "^7.19.4", - "@babel/helper-validator-identifier": "^7.19.1", + "@babel/helper-string-parser": "^7.23.4", + "@babel/helper-validator-identifier": "^7.22.20", "to-fast-properties": "^2.0.0" }, "engines": { @@ -404,6 +759,54 @@ "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", "dev": true }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.4.tgz", + "integrity": "sha512-Oud2QPM5dHviZNn4y/WhhYKSXksv+1xLEIsNrAbGcFzUN3ubqWRFT5gwPchNc5NuzILOU4tPBDTZ4VwhL8Y7cw==", + "peer": true, + "dependencies": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "peer": true, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/set-array": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", + "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", + "peer": true, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", + "peer": true + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.23", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.23.tgz", + "integrity": "sha512-9/4foRoUKp8s96tSkh8DlAAc5A0Ty8vLXld+l9gjKKY6ckwI8G15f0hskGmuLZu78ZlGa1vtsfOa+lnB4vG6Jg==", + "peer": true, + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, "node_modules/@material-ui/types": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/@material-ui/types/-/types-4.1.1.tgz", @@ -970,17 +1373,17 @@ } }, "node_modules/@types/react-swipeable-views": { - "version": "0.13.1", - "resolved": "https://registry.npmjs.org/@types/react-swipeable-views/-/react-swipeable-views-0.13.1.tgz", - "integrity": "sha512-Nuvywkv9CkwcUgItOCBszkc/pc8YSdiKV5E1AzOJ/p32Db50LgwhJFi5b1ANPgyWxB0Q5yn69aMURHyGi3MLyg==", + "version": "0.13.5", + "resolved": "https://registry.npmjs.org/@types/react-swipeable-views/-/react-swipeable-views-0.13.5.tgz", + "integrity": "sha512-ni6WjO7gBq2xB2Y/ZiRdQOgjGOxIik5ow2s7xKieDq8DxsXTdV46jJslSBVK2yoIJHf6mG3uqNTwxwgzbXRRzg==", "dependencies": { "@types/react": "*" } }, "node_modules/@types/react-swipeable-views-utils": { - "version": "0.13.4", - "resolved": "https://registry.npmjs.org/@types/react-swipeable-views-utils/-/react-swipeable-views-utils-0.13.4.tgz", - "integrity": "sha512-v0nDk6mMIPAu/kaEnqQpDz2Z7O8ewqy2in7xwobcAAkUKKsdw3MSWFW1BkQ+dPgTrBnj/KXUzx3ZIS6UYviwyA==", + "version": "0.13.7", + "resolved": "https://registry.npmjs.org/@types/react-swipeable-views-utils/-/react-swipeable-views-utils-0.13.7.tgz", + "integrity": "sha512-ED8pf8dq3S79uWtP8EnSdrg7dUCrxyL9Uapq1dSA2mz+H83SjS8vsqmlFWmmBQoTuEHsQp5Ru9fxxsofQ+bI9Q==", "dependencies": { "@material-ui/types": "^4.0.0", "@types/react": "*", @@ -1308,6 +1711,38 @@ "node": ">=8" } }, + "node_modules/browserslist": { + "version": "4.23.0", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.0.tgz", + "integrity": "sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "peer": true, + "dependencies": { + "caniuse-lite": "^1.0.30001587", + "electron-to-chromium": "^1.4.668", + "node-releases": "^2.0.14", + "update-browserslist-db": "^1.0.13" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, "node_modules/call-bind": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", @@ -1330,9 +1765,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001423", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001423.tgz", - "integrity": "sha512-09iwWGOlifvE1XuHokFMP7eR38a0JnajoyL3/i87c8ZjRWRrdKo1fqjNfugfBD0UDBIOz0U+jtNhJ0EPm1VleQ==", + "version": "1.0.30001591", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001591.tgz", + "integrity": "sha512-PCzRMei/vXjJyL5mJtzNiUCKP59dm8Apqc3PH8gJkMnMXZGox93RbE76jHsmLwmIo6/3nsYIpJtx0O7u5PqFuQ==", "funding": [ { "type": "opencollective", @@ -1341,6 +1776,10 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ] }, @@ -1452,7 +1891,6 @@ "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, "dependencies": { "ms": "2.1.2" }, @@ -1511,13 +1949,11 @@ "node": ">=6.0.0" } }, - "node_modules/dom-helpers": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-3.4.0.tgz", - "integrity": "sha512-LnuPJ+dwqKDIyotW1VzmOZ5TONUN7CwkCR5hrgawTUbkBGYdeoNLZo6nNfGkCrjtE1nXXaj7iMMpDa8/d9WoIA==", - "dependencies": { - "@babel/runtime": "^7.1.2" - } + "node_modules/electron-to-chromium": { + "version": "1.4.682", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.682.tgz", + "integrity": "sha512-oCglfs8yYKs9RQjJFOHonSnhikPK3y+0SvSYc/YpYJV//6rqc0/hbwd0c7vgK4vrl6y2gJAwjkhkSGWK+z4KRA==", + "peer": true }, "node_modules/emoji-regex": { "version": "9.2.2", @@ -1597,6 +2033,15 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/escalade": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", + "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", + "peer": true, + "engines": { + "node": ">=6" + } + }, "node_modules/escape-string-regexp": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", @@ -1857,9 +2302,9 @@ } }, "node_modules/eslint-plugin-jsx-a11y/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" @@ -1935,9 +2380,9 @@ } }, "node_modules/eslint-plugin-react/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, "bin": { "semver": "bin/semver.js" @@ -2208,6 +2653,15 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "peer": true, + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/get-intrinsic": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz", @@ -2691,6 +3145,18 @@ "js-yaml": "bin/js-yaml.js" } }, + "node_modules/jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "peer": true, + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=4" + } + }, "node_modules/json-parse-even-better-errors": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", @@ -2709,9 +3175,9 @@ "dev": true }, "node_modules/json5": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", - "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", + "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", "dev": true, "dependencies": { "minimist": "^1.2.0" @@ -2861,13 +3327,18 @@ "node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "node_modules/nanoid": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", - "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", + "version": "3.3.7", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", + "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], "bin": { "nanoid": "bin/nanoid.cjs" }, @@ -2933,6 +3404,12 @@ } } }, + "node_modules/node-releases": { + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", + "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==", + "peer": true + }, "node_modules/object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", @@ -3278,19 +3755,6 @@ "react": "^18.2.0" } }, - "node_modules/react-event-listener": { - "version": "0.6.6", - "resolved": "https://registry.npmjs.org/react-event-listener/-/react-event-listener-0.6.6.tgz", - "integrity": "sha512-+hCNqfy7o9wvO6UgjqFmBzARJS7qrNoda0VqzvOuioEpoEXKutiKuv92dSz6kP7rYLmyHPyYNLesi5t/aH1gfw==", - "dependencies": { - "@babel/runtime": "^7.2.0", - "prop-types": "^15.6.0", - "warning": "^4.0.1" - }, - "peerDependencies": { - "react": "^16.3.0" - } - }, "node_modules/react-intersection-observer": { "version": "9.4.0", "resolved": "https://registry.npmjs.org/react-intersection-observer/-/react-intersection-observer-9.4.0.tgz", @@ -3305,28 +3769,27 @@ "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==" }, "node_modules/react-swipeable-views": { - "version": "0.13.3", - "resolved": "https://registry.npmjs.org/react-swipeable-views/-/react-swipeable-views-0.13.3.tgz", - "integrity": "sha512-LBHRA5ZouipmoLLwi0cqB8qc7NHLskbXmT1I+ZztC9JfmgKrfichw5R+7q4igQ+5VbaP6jL1vn8BtHW96WYNFQ==", + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/react-swipeable-views/-/react-swipeable-views-0.14.0.tgz", + "integrity": "sha512-wrTT6bi2nC3JbmyNAsPXffUXLn0DVT9SbbcFr36gKpbaCgEp7rX/OFxsu5hPc/NBsUhHyoSRGvwqJNNrWTwCww==", "dependencies": { "@babel/runtime": "7.0.0", - "dom-helpers": "^3.2.1", "prop-types": "^15.5.4", - "react-swipeable-views-core": "^0.13.1", - "react-swipeable-views-utils": "^0.13.3", + "react-swipeable-views-core": "^0.14.0", + "react-swipeable-views-utils": "^0.14.0", "warning": "^4.0.1" }, "engines": { "node": ">=6.0.0" }, "peerDependencies": { - "react": "^15.3.0 || ^16.0.0" + "react": "^15.3.0 || ^16.0.0 || ^17.0.0" } }, "node_modules/react-swipeable-views-core": { - "version": "0.13.7", - "resolved": "https://registry.npmjs.org/react-swipeable-views-core/-/react-swipeable-views-core-0.13.7.tgz", - "integrity": "sha512-ekn9oDYfBt0oqJSGGwLEhKvn+QaqMGTy//9dURTLf+vp7W5j6GvmKryYdnwJCDITaPFI2hujXV4CH9krhvaE5w==", + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/react-swipeable-views-core/-/react-swipeable-views-core-0.14.0.tgz", + "integrity": "sha512-0W/e9uPweNEOSPjmYtuKSC/SvKKg1sfo+WtPdnxeLF3t2L82h7jjszuOHz9C23fzkvLfdgkaOmcbAxE9w2GEjA==", "dependencies": { "@babel/runtime": "7.0.0", "warning": "^4.0.1" @@ -3349,15 +3812,15 @@ "integrity": "sha512-odxIc1/vDlo4iZcfXqRYFj0vpXFNoGdKMAUieAlFYO6m/nl5e9KR/beGf41z4a1FI+aQgtjhuaSlDxQ0hmkrHg==" }, "node_modules/react-swipeable-views-utils": { - "version": "0.13.9", - "resolved": "https://registry.npmjs.org/react-swipeable-views-utils/-/react-swipeable-views-utils-0.13.9.tgz", - "integrity": "sha512-QLGxRKrbJCbWz94vkWLzb1Daaa2Y/TZKmsNKQ6WSNrS+chrlfZ3z9tqZ7YUJlW6pRWp3QZdLSY3UE3cN0TXXmw==", + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/react-swipeable-views-utils/-/react-swipeable-views-utils-0.14.0.tgz", + "integrity": "sha512-W+fXBOsDqgFK1/g7MzRMVcDurp3LqO3ksC8UgInh2P/tKgb5DusuuB1geKHFc6o1wKl+4oyER4Zh3Lxmr8xbXA==", "dependencies": { "@babel/runtime": "7.0.0", "keycode": "^2.1.7", "prop-types": "^15.6.0", "react-event-listener": "^0.6.0", - "react-swipeable-views-core": "^0.13.7", + "react-swipeable-views-core": "^0.14.0", "shallow-equal": "^1.2.1" }, "engines": { @@ -3372,6 +3835,49 @@ "regenerator-runtime": "^0.12.0" } }, + "node_modules/react-swipeable-views-utils/node_modules/react": { + "version": "16.14.0", + "resolved": "https://registry.npmjs.org/react/-/react-16.14.0.tgz", + "integrity": "sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==", + "peer": true, + "dependencies": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1", + "prop-types": "^15.6.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-swipeable-views-utils/node_modules/react-event-listener": { + "version": "0.6.6", + "resolved": "https://registry.npmjs.org/react-event-listener/-/react-event-listener-0.6.6.tgz", + "integrity": "sha512-+hCNqfy7o9wvO6UgjqFmBzARJS7qrNoda0VqzvOuioEpoEXKutiKuv92dSz6kP7rYLmyHPyYNLesi5t/aH1gfw==", + "dependencies": { + "@babel/runtime": "^7.2.0", + "prop-types": "^15.6.0", + "warning": "^4.0.1" + }, + "peerDependencies": { + "react": "^16.3.0" + } + }, + "node_modules/react-swipeable-views-utils/node_modules/react-event-listener/node_modules/@babel/runtime": { + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.9.tgz", + "integrity": "sha512-0CX6F+BI2s9dkUqr08KFrAIZgNFj75rdBU/DjCyYLIaV/quFjkk6T+EJ2LkZHyZTbEV4L5p97mNkUsHl2wLFAw==", + "dependencies": { + "regenerator-runtime": "^0.14.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/react-swipeable-views-utils/node_modules/react-event-listener/node_modules/regenerator-runtime": { + "version": "0.14.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", + "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==" + }, "node_modules/react-swipeable-views-utils/node_modules/regenerator-runtime": { "version": "0.12.1", "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.12.1.tgz", @@ -3555,9 +4061,9 @@ } }, "node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -3800,9 +4306,9 @@ } }, "node_modules/tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==" }, "node_modules/tsutils": { "version": "3.21.0", @@ -3877,6 +4383,36 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/update-browserslist-db": { + "version": "1.0.13", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz", + "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "peer": true, + "dependencies": { + "escalade": "^3.1.1", + "picocolors": "^1.0.0" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, "node_modules/uri-js": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", @@ -3934,9 +4470,9 @@ } }, "node_modules/word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", "dev": true, "engines": { "node": ">=0.10.0" diff --git a/package.json b/package.json index ba47a0c..3dcccd8 100644 --- a/package.json +++ b/package.json @@ -13,12 +13,12 @@ "@emotion/styled": "^11.10.4", "@mui/icons-material": "^5.10.9", "@mui/material": "^5.10.10", - "@types/react-swipeable-views-utils": "^0.13.4", + "@types/react-swipeable-views-utils": "^0.13.7", "next": "12.3.1", "react": "18.2.0", "react-dom": "18.2.0", "react-intersection-observer": "^9.4.0", - "react-swipeable-views": "0.13.3", + "react-swipeable-views": "^0.14.0", "react-toastify": "^9.1.1" }, "devDependencies": { diff --git a/pages/clubs/cultural/c2c.tsx b/pages/clubs/cultural/c2c.tsx index 3c011a2..1a8d70b 100644 --- a/pages/clubs/cultural/c2c.tsx +++ b/pages/clubs/cultural/c2c.tsx @@ -8,52 +8,10 @@ import c2cBg from "../../../assets/cultural_clubs_bg/c2c.png"; import c2cLogo from "../../../assets/cultural_clubs_bg/c2c_logo.png"; import Gallery from "../../../features/club/common/Gallery"; import Crew from "../../../features/club/common/Crew"; -import { c2c } from "../../../data/CulturalClubCrew"; -import { StaticImageData } from "next/image"; - -// import events -import ramp1 from "../../../assets/club_event_pics/cultural/ramp1.jpeg"; -import ramp2 from "../../../assets/club_event_pics/cultural/ramp2.jpeg"; -import ramp3 from "../../../assets/club_event_pics/cultural/ramp3.jpeg"; -import ramp4 from "../../../assets/club_event_pics/cultural/ramp4.jpeg"; +import { c2c } from "../../../data/Crews/CulturalClubCrew"; interface CoverToCoverProps {} -import { calendarData } from "../../../data/EventCalendarData"; -interface CalendarDataProps { - date: string; - eventName: string; - club: string; - desc: string; -} -const today = new Date(); -const sortedEvents = calendarData.filter((event) => { - const [eventDay, eventMonth, eventYear] = event.date.split("-").map(Number); - const eventDate = new Date(eventYear, eventMonth - 1, eventDay); - - return ( - eventDate.getFullYear() >= today.getFullYear() && - (eventDate.getMonth() > today.getMonth() || - (eventDate.getMonth() === today.getMonth() && - eventDate.getDate() >= today.getDate())) && - event.club === "C2C" - ); -}); -let earliestTwoEvents: CalendarDataProps[] = []; -if (sortedEvents.length >= 2) { - earliestTwoEvents = sortedEvents.slice(0, 2); -} else if (sortedEvents.length === 1) { - earliestTwoEvents = [ - ...sortedEvents, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} else { - earliestTwoEvents = [ - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} - const CoverToCover: FunctionComponent = () => { return ( <> @@ -74,26 +32,12 @@ const CoverToCover: FunctionComponent = () => { connect with literature and each other in a meaningful and transformative way. - + - + ); }; -export default CoverToCover; - -interface GalleryProps { - name: string; - img: StaticImageData[]; - date: string; -} - -const gallery: GalleryProps[] = [ - { - name: "Rampage", - date: "12 Sept 2022", - img: [ramp1, ramp2, ramp3, ramp4], - }, -]; \ No newline at end of file +export default CoverToCover; \ No newline at end of file diff --git a/pages/clubs/cultural/capriccio.tsx b/pages/clubs/cultural/capriccio.tsx index ea08eaf..78d5e4e 100644 --- a/pages/clubs/cultural/capriccio.tsx +++ b/pages/clubs/cultural/capriccio.tsx @@ -8,52 +8,10 @@ import Gallery from "../../../features/club/common/Gallery"; import capriccioBg from "../../../assets/cultural_clubs_bg/capriccio.png"; import capriccioLogo from "../../../assets/cultural_clubs_bg/capriccio_logo.png"; import Crew from "../../../features/club/common/Crew"; -import {capriccio} from "../../../data/CulturalClubCrew" -import { StaticImageData } from "next/image"; - -// import events -import mellow1 from "../../../assets/club_event_pics/cultural/mellow_cap1.jpeg"; -import mellow2 from "../../../assets/club_event_pics/cultural/mellow_cap2.jpeg"; -import mellow3 from "../../../assets/club_event_pics/cultural/mellow_cap3.jpeg"; -import mellow4 from "../../../assets/club_event_pics/cultural/mellow_cap4.jpeg"; +import {capriccio} from "../../../data/Crews/CulturalClubCrew" interface CapriccioProps {} -import { calendarData } from "../../../data/EventCalendarData"; -interface CalendarDataProps { - date: string; - eventName: string; - club: string; - desc: string; -} -const today = new Date(); -const sortedEvents = calendarData.filter((event) => { - const [eventDay, eventMonth, eventYear] = event.date.split("-").map(Number); - const eventDate = new Date(eventYear, eventMonth - 1, eventDay); - - return ( - eventDate.getFullYear() >= today.getFullYear() && - (eventDate.getMonth() > today.getMonth() || - (eventDate.getMonth() === today.getMonth() && - eventDate.getDate() >= today.getDate())) && - event.club === "Capriccio" - ); -}); -let earliestTwoEvents: CalendarDataProps[] = []; -if (sortedEvents.length >= 2) { - earliestTwoEvents = sortedEvents.slice(0, 2); -} else if (sortedEvents.length === 1) { - earliestTwoEvents = [ - ...sortedEvents, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} else { - earliestTwoEvents = [ - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} - const Capriccio: FunctionComponent = () => { return ( <> @@ -73,28 +31,12 @@ const Capriccio: FunctionComponent = () => { which can be an essential form of self-expression and a valuable companion throughout life's journey. - + - + ); }; -export default Capriccio; - -interface GalleryProps { - name: string; - img: StaticImageData[]; - date: string; -} - - - -const gallery: GalleryProps[] = [ - { - name: "Mellow Response", - date: "9 May 2022", - img: [mellow1, mellow2, mellow3, mellow4], - }, -]; \ No newline at end of file +export default Capriccio; \ No newline at end of file diff --git a/pages/clubs/cultural/cdt.tsx b/pages/clubs/cultural/cdt.tsx index 2553604..95e8fab 100644 --- a/pages/clubs/cultural/cdt.tsx +++ b/pages/clubs/cultural/cdt.tsx @@ -7,52 +7,11 @@ import ClubEvents from "../../../features/club/cultural/ClubEvents"; import Gallery from "../../../features/club/common/Gallery"; import cdtBg from "../../../assets/cultural_clubs_bg/cdt.png"; import cdtLogo from "../../../assets/cultural_clubs_bg/cdt_logo.png"; -import { StaticImageData } from "next/image"; import Crew from "../../../features/club/common/Crew"; -import { cdt } from "../../../data/CulturalClubCrew"; - -// import events -import nukkad1 from "../../../assets/club_event_pics/cultural/nukkad1.jpeg"; -import nukkad2 from "../../../assets/club_event_pics/cultural/nukkad2.jpeg"; -import nukkad3 from "../../../assets/club_event_pics/cultural/nukkad3.jpeg"; -import nukkad4 from "../../../assets/club_event_pics/cultural/nukkad4.jpeg"; +import { cdt } from "../../../data/Crews/CulturalClubCrew"; interface ClubDeTheatreProps {} -import { calendarData } from "../../../data/EventCalendarData"; -interface CalendarDataProps { - date: string; - eventName: string; - club: string; - desc: string; -} -const today = new Date(); -const sortedEvents = calendarData.filter((event) => { - const [eventDay, eventMonth, eventYear] = event.date.split("-").map(Number); - const eventDate = new Date(eventYear, eventMonth - 1, eventDay); - - return ( - eventDate.getFullYear() >= today.getFullYear() && - (eventDate.getMonth() > today.getMonth() || - (eventDate.getMonth() === today.getMonth() && - eventDate.getDate() >= today.getDate())) && - event.club === "CDT" - ); -}); -let earliestTwoEvents: CalendarDataProps[] = []; -if (sortedEvents.length >= 2) { - earliestTwoEvents = sortedEvents.slice(0, 2); -} else if (sortedEvents.length === 1) { - earliestTwoEvents = [ - ...sortedEvents, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} else { - earliestTwoEvents = [ - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} const ClubDeTheatre: FunctionComponent = () => { return ( <> @@ -71,26 +30,12 @@ const ClubDeTheatre: FunctionComponent = () => { helps in developing the students' self-confidence, ability to express themselves, and working in a team. - + - + ); }; export default ClubDeTheatre; - -interface GalleryProps { - name: string; - img: StaticImageData[]; - date: string; -} - -const gallery: GalleryProps[] = [ - { - name: "Nukkad Natak", - date: "2 Nov 2022", - img: [nukkad1, nukkad2, nukkad3, nukkad4], - }, -]; diff --git a/pages/clubs/cultural/igniters.tsx b/pages/clubs/cultural/igniters.tsx index 8a8c4c1..fa0c9c2 100644 --- a/pages/clubs/cultural/igniters.tsx +++ b/pages/clubs/cultural/igniters.tsx @@ -7,56 +7,11 @@ import ClubEvents from "../../../features/club/cultural/ClubEvents"; import Gallery from "../../../features/club/common/Gallery"; import ignitersBg from "../../../assets/cultural_clubs_bg/igniters.png"; import ignitersLogo from "../../../assets/cultural_clubs_bg/igniters_logo.jpg"; -import { StaticImageData } from "next/image"; import Crew from "../../../features/club/common/Crew"; -import { igniters } from "../../../data/CulturalClubCrew"; - -// import events -import dance1 from "../../../assets/club_event_pics/cultural/dance1.jpeg"; -import dance2 from "../../../assets/club_event_pics/cultural/dance2.jpeg"; -import dance3 from "../../../assets/club_event_pics/cultural/dance3.jpeg"; -import dance4 from "../../../assets/club_event_pics/cultural/dance4.jpeg"; -import mellow1 from "../../../assets/club_event_pics/cultural/mellow1.jpeg"; -import mellow2 from "../../../assets/club_event_pics/cultural/mellow2.jpeg"; -import mellow3 from "../../../assets/club_event_pics/cultural/mellow3.jpeg"; +import { igniters } from "../../../data/Crews/CulturalClubCrew"; interface IgnitersProps {} -import { calendarData } from "../../../data/EventCalendarData"; -interface CalendarDataProps { - date: string; - eventName: string; - club: string; - desc: string; -} -const today = new Date(); -const sortedEvents = calendarData.filter((event) => { - const [eventDay, eventMonth, eventYear] = event.date.split("-").map(Number); - const eventDate = new Date(eventYear, eventMonth - 1, eventDay); - - return ( - eventDate.getFullYear() >= today.getFullYear() && - (eventDate.getMonth() > today.getMonth() || - (eventDate.getMonth() === today.getMonth() && - eventDate.getDate() >= today.getDate())) && - event.club === "Indradhanush" - ); -}); -let earliestTwoEvents: CalendarDataProps[] = []; -if (sortedEvents.length >= 2) { - earliestTwoEvents = sortedEvents.slice(0, 2); -} else if (sortedEvents.length === 1) { - earliestTwoEvents = [ - ...sortedEvents, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} else { - earliestTwoEvents = [ - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} - const Igniters: FunctionComponent = () => { return ( <> @@ -75,31 +30,12 @@ const Igniters: FunctionComponent = () => { all skill levels and encourages everyone to join in the journey and let the art of dance bring them joy and expression. - + - + ); }; export default Igniters; - -interface GalleryProps { - name: string; - img: StaticImageData[]; - date: string; -} - -const gallery: GalleryProps[] = [ - { - name: "Dance Workshop", - date: "7 Jan 2023", - img: [dance1, dance2, dance3, dance4], - }, - { - name: "Mellow Response", - date: "9 May 2022", - img: [mellow1, mellow2, mellow3], - }, -]; \ No newline at end of file diff --git a/pages/clubs/cultural/indradhanush.tsx b/pages/clubs/cultural/indradhanush.tsx index a7d7f07..e2291aa 100644 --- a/pages/clubs/cultural/indradhanush.tsx +++ b/pages/clubs/cultural/indradhanush.tsx @@ -8,52 +8,10 @@ import Gallery from "../../../features/club/common/Gallery"; import indradhanushBg from "../../../assets/cultural_clubs_bg/indradhanush.png"; import indradhanushLogo from "../../../assets/cultural_clubs_bg/indradhanush_logo.png"; import Crew from "../../../features/club/common/Crew"; -import { StaticImageData } from "next/image"; -import { indradhanush } from "../../../data/CulturalClubCrew"; - -// import events -import canva1 from "../../../assets/club_event_pics/cultural/canva1.jpeg"; -import canva2 from "../../../assets/club_event_pics/cultural/canva2.jpeg"; -import canva3 from "../../../assets/club_event_pics/cultural/canva3.jpeg"; -import canva4 from "../../../assets/club_event_pics/cultural/canva4.jpeg"; +import { indradhanush } from "../../../data/Crews/CulturalClubCrew"; interface IndradhanushProps {} -import { calendarData } from "../../../data/EventCalendarData"; -interface CalendarDataProps { - date: string; - eventName: string; - club: string; - desc: string; -} -const today = new Date(); -const sortedEvents = calendarData.filter((event) => { - const [eventDay, eventMonth, eventYear] = event.date.split("-").map(Number); - const eventDate = new Date(eventYear, eventMonth - 1, eventDay); - - return ( - eventDate.getFullYear() >= today.getFullYear() && - (eventDate.getMonth() > today.getMonth() || - (eventDate.getMonth() === today.getMonth() && - eventDate.getDate() >= today.getDate())) && - event.club === "Indradhanush" - ); -}); -let earliestTwoEvents: CalendarDataProps[] = []; -if (sortedEvents.length >= 2) { - earliestTwoEvents = sortedEvents.slice(0, 2); -} else if (sortedEvents.length === 1) { - earliestTwoEvents = [ - ...sortedEvents, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} else { - earliestTwoEvents = [ - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} - const Indradhanush: FunctionComponent = () => { return ( <> @@ -70,34 +28,12 @@ const Indradhanush: FunctionComponent = () => { The club recognizes the need for humans to express ideas to upgrade living standards. - + - + ); }; export default Indradhanush; - -interface GalleryProps { - name: string; - img: StaticImageData[]; - date: string; -} - -interface EventProps { - name: string; - date: string; - desc: string; - link: string; -} - -const gallery: GalleryProps[] = [ - { - name: "CanvaKar", - date: "24 Sept 2022", - img: [canva1, canva2, canva3, canva4], - }, -]; - diff --git a/pages/clubs/cultural/mun.tsx b/pages/clubs/cultural/mun.tsx index d647387..b0b47a8 100644 --- a/pages/clubs/cultural/mun.tsx +++ b/pages/clubs/cultural/mun.tsx @@ -7,64 +7,11 @@ import ClubEvents from "../../../features/club/cultural/ClubEvents"; import Gallery from "../../../features/club/common/Gallery"; import munBg from "../../../assets/cultural_clubs_bg/mun.png"; import munLogo from "../../../assets/cultural_clubs_bg/mun_logo.png"; -import { StaticImageData } from "next/image"; import Crew from "../../../features/club/common/Crew"; -import { mun } from "../../../data/CulturalClubCrew"; -// import events -import chai1 from "../../../assets/club_event_pics/cultural/chai1.jpeg"; -import chai2 from "../../../assets/club_event_pics/cultural/chai2.jpeg"; -import chai3 from "../../../assets/club_event_pics/cultural/chai3.jpeg"; -import chai4 from "../../../assets/club_event_pics/cultural/chai4.jpeg"; -import whatif1 from "../../../assets/club_event_pics/cultural/whatif1.jpeg"; -import whatif2 from "../../../assets/club_event_pics/cultural/whatif2.jpeg"; -import whatif3 from "../../../assets/club_event_pics/cultural/whatif3.jpeg"; -import whatif4 from "../../../assets/club_event_pics/cultural/whatif4.jpeg"; -import munc1 from "../../../assets/club_event_pics/cultural/munc1.jpeg"; -import munc2 from "../../../assets/club_event_pics/cultural/munc2.jpeg"; -import munc3 from "../../../assets/club_event_pics/cultural/munc3.jpeg"; -import munc4 from "../../../assets/club_event_pics/cultural/munc4.jpeg"; -import munc5 from "../../../assets/club_event_pics/cultural/munc5.jpeg"; -import munc6 from "../../../assets/club_event_pics/cultural/munc6.jpeg"; -import munc7 from "../../../assets/club_event_pics/cultural/munc7.jpeg"; -import munc8 from "../../../assets/club_event_pics/cultural/munc8.jpeg"; +import { mun } from "../../../data/Crews/CulturalClubCrew"; interface ModelUnitedNationProps {} -import { calendarData } from "../../../data/EventCalendarData"; -interface CalendarDataProps { - date: string; - eventName: string; - club: string; - desc: string; -} -const today = new Date(); -const sortedEvents = calendarData.filter((event) => { - const [eventDay, eventMonth, eventYear] = event.date.split("-").map(Number); - const eventDate = new Date(eventYear, eventMonth - 1, eventDay); - - return ( - eventDate.getFullYear() >= today.getFullYear() && - (eventDate.getMonth() > today.getMonth() || - (eventDate.getMonth() === today.getMonth() && - eventDate.getDate() >= today.getDate())) && - event.club === "Indradhanush" - ); -}); -let earliestTwoEvents: CalendarDataProps[] = []; -if (sortedEvents.length >= 2) { - earliestTwoEvents = sortedEvents.slice(0, 2); -} else if (sortedEvents.length === 1) { - earliestTwoEvents = [ - ...sortedEvents, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} else { - earliestTwoEvents = [ - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} - const ModelUnitedNation: FunctionComponent = () => { return ( <> @@ -83,36 +30,12 @@ const ModelUnitedNation: FunctionComponent = () => { From having heated debates to forming alliances, this club will provide a platform to step into the shoes of UN ambassadors. - + - + ); }; export default ModelUnitedNation; - -interface GalleryProps { - name: string; - img: StaticImageData[]; - date: string; -} - -const gallery: GalleryProps[] = [ - { - name: "MUN Conference 2022", - date: "7-8 May 2022", - img: [munc1, munc2, munc3, munc4, munc5, munc6, munc7, munc8], - }, - { - name: "Chai Pe Charcha", - date: "19 Jan 2023", - img: [chai1, chai2, chai3, chai4], - }, - { - name: "What If", - date: "09 Sept 2022", - img: [whatif1, whatif2, whatif3, whatif4], - }, -]; \ No newline at end of file diff --git a/pages/clubs/cultural/tdb.tsx b/pages/clubs/cultural/tdb.tsx index 5544c98..9e9d03c 100644 --- a/pages/clubs/cultural/tdb.tsx +++ b/pages/clubs/cultural/tdb.tsx @@ -8,51 +8,10 @@ import Gallery from "../../../features/club/common/Gallery"; import tbdBg from "../../../assets/cultural_clubs_bg/tbd.png"; import tbdLogo from "../../../assets/cultural_clubs_bg/tbd_logo.jpg"; import Crew from "../../../features/club/common/Crew"; -import { StaticImageData } from "next/image"; -import { tdb } from "../../../data/CulturalClubCrew"; -// import events -import yet1 from "../../../assets/club_event_pics/cultural/yet1.jpeg"; -import yet2 from "../../../assets/club_event_pics/cultural/yet2.jpeg"; -import yet3 from "../../../assets/club_event_pics/cultural/yet3.jpeg"; -import yet4 from "../../../assets/club_event_pics/cultural/yet4.jpeg"; +import { tdb } from "../../../data/Crews/CulturalClubCrew"; interface TakeDaBaitProps {} -import { calendarData } from "../../../data/EventCalendarData"; -interface CalendarDataProps { - date: string; - eventName: string; - club: string; - desc: string; -} -const today = new Date(); -const sortedEvents = calendarData.filter((event) => { - const [eventDay, eventMonth, eventYear] = event.date.split("-").map(Number); - const eventDate = new Date(eventYear, eventMonth - 1, eventDay); - - return ( - eventDate.getFullYear() >= today.getFullYear() && - (eventDate.getMonth() > today.getMonth() || - (eventDate.getMonth() === today.getMonth() && - eventDate.getDate() >= today.getDate())) && - event.club === "TDB" - ); -}); -let earliestTwoEvents: CalendarDataProps[] = []; -if (sortedEvents.length >= 2) { - earliestTwoEvents = sortedEvents.slice(0, 2); -} else if (sortedEvents.length === 1) { - earliestTwoEvents = [ - ...sortedEvents, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} else { - earliestTwoEvents = [ - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} - const TakeDaBait: FunctionComponent = () => { return ( <> @@ -74,26 +33,12 @@ const TakeDaBait: FunctionComponent = () => { discussing and debating important issues, members will be better equipped to be informed citizens and future leaders. - + - + ); }; export default TakeDaBait; - -interface GalleryProps { - name: string; - img: StaticImageData[]; - date: string; -} - -const gallery: GalleryProps[] = [ - { - name: "Yet to be Decided", - date: "20 Jan 2023", - img: [yet1, yet2, yet3, yet4], - }, -]; \ No newline at end of file diff --git a/pages/clubs/cultural/ytc.tsx b/pages/clubs/cultural/ytc.tsx index d0e58a7..69e4128 100644 --- a/pages/clubs/cultural/ytc.tsx +++ b/pages/clubs/cultural/ytc.tsx @@ -8,56 +8,10 @@ import Gallery from "../../../features/club/common/Gallery"; import YTCBg from "../../../assets/cultural_clubs_bg/YTC.jpg"; import YTCLogo from "../../../assets/cultural_clubs_bg/YTC_logo.png"; import Crew from "../../../features/club/common/Crew"; -import { StaticImageData } from "next/image"; -import {ytc} from "../../../data/CulturalClubCrew"; -// import event -import bharat1 from "../../../assets/club_event_pics/cultural/bharat1.jpeg"; -import bharat3 from "../../../assets/club_event_pics/cultural/bharat3.jpeg"; -import bharat4 from "../../../assets/club_event_pics/cultural/bharat4.jpeg"; -import bharat5 from "../../../assets/club_event_pics/cultural/bharat5.jpeg"; -import bharat6 from "../../../assets/club_event_pics/cultural/bharat6.jpeg"; -import ganraya1 from "../../../assets/club_event_pics/cultural/ganraya1.jpeg"; -import ganraya2 from "../../../assets/club_event_pics/cultural/ganraya2.jpeg"; -import ganraya3 from "../../../assets/club_event_pics/cultural/ganraya3.jpeg"; -import ganraya4 from "../../../assets/club_event_pics/cultural/ganraya4.jpeg"; +import { ytc } from "../../../data/Crews/CulturalClubCrew"; interface YTCProps {} -import { calendarData } from "../../../data/EventCalendarData"; -interface CalendarDataProps { - date: string; - eventName: string; - club: string; - desc: string; -} -const today = new Date(); -const sortedEvents = calendarData.filter((event) => { - const [eventDay, eventMonth, eventYear] = event.date.split("-").map(Number); - const eventDate = new Date(eventYear, eventMonth - 1, eventDay); - - return ( - eventDate.getFullYear() >= today.getFullYear() && - (eventDate.getMonth() > today.getMonth() || - (eventDate.getMonth() === today.getMonth() && - eventDate.getDate() >= today.getDate())) && - event.club === "Indradhanush" - ); -}); -let earliestTwoEvents: CalendarDataProps[] = []; -if (sortedEvents.length >= 2) { - earliestTwoEvents = sortedEvents.slice(0, 2); -} else if (sortedEvents.length === 1) { - earliestTwoEvents = [ - ...sortedEvents, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} else { - earliestTwoEvents = [ - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} - const YTC: FunctionComponent = () => { return ( <> @@ -74,32 +28,12 @@ const YTC: FunctionComponent = () => { become aware of tourism possibilities in India, appreciate our rich cultural heritage and develop an interest and passion for tourism. - {/* */} + {/* */} {/* */} - {/* */} + {/* */} ); }; export default YTC; - -interface GalleryProps { - name: string; - img: StaticImageData[]; - date: string; -} - - -const gallery: GalleryProps[] = [ - { - name: "Bharat ke Rang", - date: "13 Jan 2023", - img: [bharat1, bharat3, bharat4, bharat5, bharat6], - }, - { - name: "Jai Ganraya", - date: "31 Aug 2022", - img: [ganraya1, ganraya2, ganraya3, ganraya4], - }, -]; \ No newline at end of file diff --git a/pages/clubs/media/design.tsx b/pages/clubs/media/design.tsx index 14dff2a..e1f15c0 100644 --- a/pages/clubs/media/design.tsx +++ b/pages/clubs/media/design.tsx @@ -7,8 +7,7 @@ import Box from "@mui/material/Box"; import DesignBg from "../../../assets/media_cell_bg/design.jpg"; import DesignLogo from "../../../assets/media_cell_bg/Media.png"; import Crew from "../../../features/club/common/Crew"; -import { StaticImageData } from "next/image"; -import { design } from "../../../data/MediaClubCrew"; +import { design } from "../../../data/Crews/MediaClubCrew"; interface DesignProps {} @@ -55,9 +54,3 @@ const Design: FunctionComponent = () => { }; export default Design; - -interface GalleryProps { - name: string; - img: StaticImageData[]; - date: string; -} diff --git a/pages/clubs/media/pr.tsx b/pages/clubs/media/pr.tsx index b211687..16acf4c 100644 --- a/pages/clubs/media/pr.tsx +++ b/pages/clubs/media/pr.tsx @@ -6,8 +6,7 @@ import ClubDescription from "../../../features/club/cultural/ClubDescription"; import PRBg from "../../../assets/media_cell_bg/pr.jpg"; import PRLogo from "../../../assets/media_cell_bg/Media.png"; import Crew from "../../../features/club/common/Crew"; -import { StaticImageData } from "next/image"; -import { pr } from "../../../data/MediaClubCrew"; +import { pr } from "../../../data/Crews/MediaClubCrew"; interface PRProps {} @@ -32,10 +31,4 @@ const PR: FunctionComponent = () => { ); }; -export default PR; - -interface GalleryProps { - name: string; - img: StaticImageData[]; - date: string; -} +export default PR; \ No newline at end of file diff --git a/pages/clubs/media/shutterbug.tsx b/pages/clubs/media/shutterbug.tsx index d7640d4..24d3be8 100644 --- a/pages/clubs/media/shutterbug.tsx +++ b/pages/clubs/media/shutterbug.tsx @@ -8,56 +8,10 @@ import Gallery from "../../../features/club/common/Gallery"; import shutterbugBg from "../../../assets/cultural_clubs_bg/shutterbug.png"; import shutterbugLogo from "../../../assets/cultural_clubs_bg/shutterbug_logo.jpeg"; import Crew from "../../../features/club/common/Crew"; -import { StaticImageData } from "next/image"; -import { shutterbug } from "../../../data/MediaClubCrew"; - -// import event -import bharat1 from "../../../assets/club_event_pics/cultural/bharat1.jpeg"; -import bharat3 from "../../../assets/club_event_pics/cultural/bharat3.jpeg"; -import bharat4 from "../../../assets/club_event_pics/cultural/bharat4.jpeg"; -import bharat5 from "../../../assets/club_event_pics/cultural/bharat5.jpeg"; -import bharat6 from "../../../assets/club_event_pics/cultural/bharat6.jpeg"; -import ganraya1 from "../../../assets/club_event_pics/cultural/ganraya1.jpeg"; -import ganraya2 from "../../../assets/club_event_pics/cultural/ganraya2.jpeg"; -import ganraya3 from "../../../assets/club_event_pics/cultural/ganraya3.jpeg"; -import ganraya4 from "../../../assets/club_event_pics/cultural/ganraya4.jpeg"; +import { shutterbug } from "../../../data/Crews/MediaClubCrew"; interface ShutterBugProps {} -import { calendarData } from "../../../data/EventCalendarData"; -interface CalendarDataProps { - date: string; - eventName: string; - club: string; - desc: string; -} -const today = new Date(); -const sortedEvents = calendarData.filter((event) => { - const [eventDay, eventMonth, eventYear] = event.date.split("-").map(Number); - const eventDate = new Date(eventYear, eventMonth - 1, eventDay); - - return ( - eventDate.getFullYear() >= today.getFullYear() && - (eventDate.getMonth() > today.getMonth() || - (eventDate.getMonth() === today.getMonth() && - eventDate.getDate() >= today.getDate())) && - event.club === "Shutterbug" - ); -}); -let earliestTwoEvents: CalendarDataProps[] = []; -if (sortedEvents.length >= 2) { - earliestTwoEvents = sortedEvents.slice(0, 2); -} else if (sortedEvents.length === 1) { - earliestTwoEvents = [ - ...sortedEvents, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} else { - earliestTwoEvents = [ - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} const ShutterBug: FunctionComponent = () => { return ( <> @@ -74,31 +28,12 @@ const ShutterBug: FunctionComponent = () => { our institute. Also, we organize various photography workshops, exhibitions etc. - + - + ); }; export default ShutterBug; - -interface GalleryProps { - name: string; - img: StaticImageData[]; - date: string; -} - -const gallery: GalleryProps[] = [ - { - name: "Bharat ke Rang", - date: "13 Jan 2023", - img: [bharat1, bharat3, bharat4, bharat5, bharat6], - }, - { - name: "Jai Ganraya", - date: "31 Aug 2022", - img: [ganraya1, ganraya2, ganraya3, ganraya4], - }, -]; diff --git a/pages/clubs/media/website.tsx b/pages/clubs/media/website.tsx index bd2e655..db49713 100644 --- a/pages/clubs/media/website.tsx +++ b/pages/clubs/media/website.tsx @@ -6,8 +6,7 @@ import ClubDescription from "../../../features/club/cultural/ClubDescription"; import WebsiteBg from "../../../assets/media_cell_bg/website.jpg"; import WebsiteLogo from "../../../assets/media_cell_bg/Media.png"; import Crew from "../../../features/club/common/Crew"; -import { StaticImageData } from "next/image"; -import { website } from "../../../data/MediaClubCrew"; +import { website } from "../../../data/Crews/MediaClubCrew"; interface WebsiteProps {} @@ -33,10 +32,4 @@ const Website: FunctionComponent = () => { ); }; -export default Website; - -interface GalleryProps { - name: string; - img: StaticImageData[]; - date: string; -} +export default Website; \ No newline at end of file diff --git a/pages/clubs/technical/aiml.tsx b/pages/clubs/technical/aiml.tsx index 21f5bd0..468e83f 100644 --- a/pages/clubs/technical/aiml.tsx +++ b/pages/clubs/technical/aiml.tsx @@ -3,72 +3,13 @@ import ClubsLayout from "../../../layouts/ClubsLayout"; import TechnicalClub from "../../../features/club/technical/TechnicalClub"; import ClubDescription from "../../../features/club/technical/ClubDescription"; import Box from "@mui/material/Box"; -import { StaticImageData } from "next/image"; import Crew from "../../../features/club/common/Crew"; import Gallery from "../../../features/club/common/Gallery"; import aimlBg from "../../../assets/technical_clubs_bg/aiml.jpeg"; import aimlBgTop from "../../../assets/technical_clubs_bg/bg_aiml_top.svg"; import aimlBgBottom from "../../../assets/technical_clubs_bg/bg_aiml_bottom.svg"; import aimlLogo from "../../../assets/technical_clubs_bg/aiml_logo.svg"; -import { aiml } from "../../../data/TechnicalClubCrew"; -// import events -import intro_aiml1 from "../../../assets/club_event_pics/technical/intro_aiml1.jpeg"; -import intro_aiml2 from "../../../assets/club_event_pics/technical/intro_aiml2.jpeg"; -import intro_aiml3 from "../../../assets/club_event_pics/technical/intro_aiml3.jpeg"; -import intro_aiml4 from "../../../assets/club_event_pics/technical/intro_aiml4.jpeg"; -import kaggle_comp1 from "../../../assets/club_event_pics/technical/kaggle_competition1.jpeg"; -import kaggle_comp2 from "../../../assets/club_event_pics/technical/kaggle_competition2.jpeg"; -import kaggle_comp3 from "../../../assets/club_event_pics/technical/kaggle_competition3.jpeg"; -import kaggle_comp4 from "../../../assets/club_event_pics/technical/kaggle_competition4.jpeg"; -import kaggle_comp5 from "../../../assets/club_event_pics/technical/kaggle_competition5.jpeg"; -import kaggle_comp6 from "../../../assets/club_event_pics/technical/kaggle_competition6.jpeg"; -import kaggle_comp7 from "../../../assets/club_event_pics/technical/kaggle_competition7.jpeg"; -import kaggle_comp8 from "../../../assets/club_event_pics/technical/kaggle_competition8.jpeg"; - -import { calendarData } from "../../../data/EventCalendarData"; -interface CalendarDataProps { - date: string; - eventName: string; - club: string; - desc: string; -} -const today = new Date(); -const filteredEvents = calendarData.filter((event) => { - const [eventDay, eventMonth, eventYear] = event.date.split("-").map(Number); - const eventDate = new Date(eventYear, eventMonth - 1, eventDay); - - return ( - eventDate.getFullYear() >= today.getFullYear() && - (eventDate.getMonth() > today.getMonth() || - (eventDate.getMonth() === today.getMonth() && - eventDate.getDate() >= today.getDate())) && - event.club === "AIML" - ); -}); -const sortedEvents: CalendarDataProps[] = filteredEvents.sort( - (a, b) => new Date(a.date).getTime() - new Date(b.date).getTime() -); -let earliestTwoEvents: CalendarDataProps[] = []; -if (sortedEvents.length >= 2) { - earliestTwoEvents = sortedEvents.slice(0, 2); -} else if (sortedEvents.length === 1) { - earliestTwoEvents = [ - ...sortedEvents, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} else { - earliestTwoEvents = [ - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} - -const event1Name = earliestTwoEvents[0].eventName; -const event1Date = earliestTwoEvents[0].date; -const event1Desc = earliestTwoEvents[0].desc; -const event2Name = earliestTwoEvents[1].eventName; -const event2Date = earliestTwoEvents[1].date; -const event2Desc = earliestTwoEvents[1].desc; +import { aiml } from "../../../data/Crews/TechnicalClubCrew"; const Aiml = () => { return ( @@ -80,12 +21,6 @@ const Aiml = () => { bgTop={aimlBgTop} logo={aimlLogo} color="#73DACA" - event1Name={event1Name} - event1Date={event1Date} - event1Desc={event1Desc} - event2Name={event2Name} - event2Date={event2Date} - event2Desc={event2Desc} /> The AI/ML club is focused on helping individuals evolve from admirers @@ -109,7 +44,7 @@ const Aiml = () => { }} > - + @@ -117,31 +52,3 @@ const Aiml = () => { }; export default Aiml; - -interface GalleryProps { - name: string; - img: StaticImageData[]; - date: string; -} - -const gallery: GalleryProps[] = [ - { - name: "Introduction to AIML", - date: "29 Nov 2022", - img: [intro_aiml1, intro_aiml2, intro_aiml3, intro_aiml4], - }, - { - name: "Kaggle Competition", - date: "7 Feb 2023", - img: [ - kaggle_comp1, - kaggle_comp2, - kaggle_comp3, - kaggle_comp4, - kaggle_comp5, - kaggle_comp6, - kaggle_comp7, - kaggle_comp8, - ], - }, -]; diff --git a/pages/clubs/technical/bis.tsx b/pages/clubs/technical/bis.tsx index 3ee0aaf..b5e79fd 100644 --- a/pages/clubs/technical/bis.tsx +++ b/pages/clubs/technical/bis.tsx @@ -10,52 +10,10 @@ import BISBgTop from "../../../assets/technical_clubs_bg/bg_BIS_top.png"; import BISBgBottom from "../../../assets/technical_clubs_bg/bg_BIS_bottom.png"; import BISLogo from "../../../assets/technical_clubs_bg/BIS_logo.png"; import { StaticImageData } from "next/image"; -import { bis } from "../../../data/TechnicalClubCrew"; +import { bis } from "../../../data/Crews/TechnicalClubCrew"; interface BISProps {} -import { calendarData } from "../../../data/EventCalendarData"; -interface CalendarDataProps { - date: string; - eventName: string; - club: string; - desc: string; -} -const today = new Date(); -const sortedEvents = calendarData.filter((event) => { - const [eventDay, eventMonth, eventYear] = event.date.split("-").map(Number); - const eventDate = new Date(eventYear, eventMonth - 1, eventDay); - - return ( - eventDate.getFullYear() >= today.getFullYear() && - (eventDate.getMonth() > today.getMonth() || - (eventDate.getMonth() === today.getMonth() && - eventDate.getDate() >= today.getDate())) && - event.club === "BIS" - ); -}); -let earliestTwoEvents: CalendarDataProps[] = []; -if (sortedEvents.length >= 2) { - earliestTwoEvents = sortedEvents.slice(0, 2); -} else if (sortedEvents.length === 1) { - earliestTwoEvents = [ - ...sortedEvents, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} else { - earliestTwoEvents = [ - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} - -const event1Name = earliestTwoEvents[0].eventName; -const event1Date = earliestTwoEvents[0].date; -const event1Desc = earliestTwoEvents[0].desc; -const event2Name = earliestTwoEvents[1].eventName; -const event2Date = earliestTwoEvents[1].date; -const event2Desc = earliestTwoEvents[1].desc; - const BIS: FunctionComponent = () => { return ( <> @@ -66,12 +24,6 @@ const BIS: FunctionComponent = () => { bgTop={BISBgTop} logo={BISLogo} color={"#CA50F5"} - event1Name={event1Name} - event1Date={event1Date} - event1Desc={event1Desc} - event2Name={event2Name} - event2Date={event2Date} - event2Desc={event2Desc} /> The Bureau of Indian Standards (BIS) has a program called Standards @@ -100,9 +52,3 @@ const BIS: FunctionComponent = () => { }; export default BIS; - -interface GalleryProps { - name: string; - img: StaticImageData[]; - date: string; -} diff --git a/pages/clubs/technical/ciphercell.tsx b/pages/clubs/technical/ciphercell.tsx index 6607d6a..1d8b2e7 100644 --- a/pages/clubs/technical/ciphercell.tsx +++ b/pages/clubs/technical/ciphercell.tsx @@ -9,56 +9,7 @@ import cipherBg from "../../../assets/technical_clubs_bg/ciphercell.png"; import cipherBgTop from "../../../assets/technical_clubs_bg/bg_cipher_top.svg"; import cipherBgBottom from "../../../assets/technical_clubs_bg/bg_cipher_bottom.svg"; import cipherLogo from "../../../assets/technical_clubs_bg/ciphercell_logo.png"; -import { StaticImageData } from "next/image"; -import { ciphercell } from "../../../data/TechnicalClubCrew"; - -// import events -import ctf1 from "../../../assets/club_event_pics/technical/ctf1.jpeg"; -import ctf2 from "../../../assets/club_event_pics/technical/ctf2.jpeg"; -import ctf3 from "../../../assets/club_event_pics/technical/ctf3.jpeg"; -import ctf4 from "../../../assets/club_event_pics/technical/ctf4.jpeg"; - -import { calendarData } from "../../../data/EventCalendarData"; -interface CalendarDataProps { - date: string; - eventName: string; - club: string; - desc: string; -} -const today = new Date(); -const sortedEvents = calendarData.filter((event) => { - const [eventDay, eventMonth, eventYear] = event.date.split("-").map(Number); - const eventDate = new Date(eventYear, eventMonth - 1, eventDay); - - return ( - eventDate.getFullYear() >= today.getFullYear() && - (eventDate.getMonth() > today.getMonth() || - (eventDate.getMonth() === today.getMonth() && - eventDate.getDate() >= today.getDate())) && - event.club === "Ciphercell" - ); -}); -let earliestTwoEvents: CalendarDataProps[] = []; -if (sortedEvents.length >= 2) { - earliestTwoEvents = sortedEvents.slice(0, 2); -} else if (sortedEvents.length === 1) { - earliestTwoEvents = [ - ...sortedEvents, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} else { - earliestTwoEvents = [ - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} - -const event1Name = earliestTwoEvents[0].eventName; -const event1Date = earliestTwoEvents[0].date; -const event1Desc = earliestTwoEvents[0].desc; -const event2Name = earliestTwoEvents[1].eventName; -const event2Date = earliestTwoEvents[1].date; -const event2Desc = earliestTwoEvents[1].desc; +import { ciphercell } from "../../../data/Crews/TechnicalClubCrew"; const Ciphercell = () => { return ( @@ -70,12 +21,6 @@ const Ciphercell = () => { bgTop={cipherBgTop} logo={cipherLogo} color="#F7768E" - event1Name={event1Name} - event1Date={event1Date} - event1Desc={event1Desc} - event2Name={event2Name} - event2Date={event2Date} - event2Desc={event2Desc} /> CipherCell is an official cybersecurity club at IIIT-NR. The goal of @@ -102,7 +47,7 @@ const Ciphercell = () => { }} > - + @@ -110,17 +55,3 @@ const Ciphercell = () => { }; export default Ciphercell; - -interface GalleryProps { - name: string; - img: StaticImageData[]; - date: string; -} - -const gallery: GalleryProps[] = [ - { - name: "Intra College CTF", - date: "28 March 2022", - img: [ctf1, ctf2, ctf3, ctf4], - }, -]; diff --git a/pages/clubs/technical/comet.tsx b/pages/clubs/technical/comet.tsx index daaa2df..de27185 100644 --- a/pages/clubs/technical/comet.tsx +++ b/pages/clubs/technical/comet.tsx @@ -9,73 +9,18 @@ import cometBg from "../../../assets/technical_clubs_bg/comet.png"; import cometBgTop from "../../../assets/technical_clubs_bg/bg_comet_top.svg"; import cometBgBottom from "../../../assets/technical_clubs_bg/bg_comet_bottom.svg"; import cometLogo from "../../../assets/technical_clubs_bg/comet_logo.png"; -import { StaticImageData } from "next/image"; -import { comet } from "../../../data/TechnicalClubCrew"; - -// import events -import arduino1 from "../../../assets/club_event_pics/technical/arduino1.jpeg"; -import arduino2 from "../../../assets/club_event_pics/technical/arduino2.jpeg"; -import arduino3 from "../../../assets/club_event_pics/technical/arduino3.jpeg"; -import arduino4 from "../../../assets/club_event_pics/technical/arduino4.jpeg"; - -import { calendarData } from "../../../data/EventCalendarData"; -interface CalendarDataProps { - date: string; - eventName: string; - club: string; - desc: string; -} -const today = new Date(); -const sortedEvents = calendarData.filter((event) => { - const [eventDay, eventMonth, eventYear] = event.date.split("-").map(Number); - const eventDate = new Date(eventYear, eventMonth - 1, eventDay); - - return ( - eventDate.getFullYear() >= today.getFullYear() && - (eventDate.getMonth() > today.getMonth() || - (eventDate.getMonth() === today.getMonth() && - eventDate.getDate() >= today.getDate())) && - event.club === "Comet" - ); -}); -let earliestTwoEvents: CalendarDataProps[] = []; -if (sortedEvents.length >= 2) { - earliestTwoEvents = sortedEvents.slice(0, 2); -} else if (sortedEvents.length === 1) { - earliestTwoEvents = [ - ...sortedEvents, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} else { - earliestTwoEvents = [ - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} - -const event1Name = earliestTwoEvents[0].eventName; -const event1Date = earliestTwoEvents[0].date; -const event1Desc = earliestTwoEvents[0].desc; -const event2Name = earliestTwoEvents[1].eventName; -const event2Date = earliestTwoEvents[1].date; -const event2Desc = earliestTwoEvents[1].desc; +import { comet } from "../../../data/Crews/TechnicalClubCrew"; const Comet = () => { return ( <> The club was established in 2018 under the name CECoT (Community of @@ -99,7 +44,7 @@ const Comet = () => { }} > - + @@ -107,17 +52,3 @@ const Comet = () => { }; export default Comet; - -interface GalleryProps { - name: string; - img: StaticImageData[]; - date: string; -} - -const gallery: GalleryProps[] = [ - { - name: "Arduino Workshop", - date: "Jan 2023", - img: [arduino2, arduino1, arduino4, arduino3], - }, -]; diff --git a/pages/clubs/technical/iic.tsx b/pages/clubs/technical/iic.tsx index 8e4eee5..8f169b6 100644 --- a/pages/clubs/technical/iic.tsx +++ b/pages/clubs/technical/iic.tsx @@ -10,62 +10,10 @@ import IICBgTop from "../../../assets/technical_clubs_bg/bg_IIC_top.png"; import IICBgBottom from "../../../assets/technical_clubs_bg/bg_IIC_bottom.png"; import IICLogo from "../../../assets/technical_clubs_bg/IIC_logo.png"; import { StaticImageData } from "next/image"; -import { iic } from "../../../data/TechnicalClubCrew"; - -// import events -import bit1 from "../../../assets/club_event_pics/technical/bit1.jpeg"; -import bit2 from "../../../assets/club_event_pics/technical/bit2.jpeg"; -import bit3 from "../../../assets/club_event_pics/technical/bit3.jpeg"; -import bit4 from "../../../assets/club_event_pics/technical/bit4.jpeg"; -import bit5 from "../../../assets/club_event_pics/technical/bit5.jpeg"; -import bit6 from "../../../assets/club_event_pics/technical/bit6.jpeg"; -import bit7 from "../../../assets/club_event_pics/technical/bit7.jpeg"; -import bit8 from "../../../assets/club_event_pics/technical/bit8.jpeg"; +import { iic } from "../../../data/Crews/TechnicalClubCrew"; interface IICProps {} -import { calendarData } from "../../../data/EventCalendarData"; -interface CalendarDataProps { - date: string; - eventName: string; - club: string; - desc: string; -} -const today = new Date(); -const sortedEvents = calendarData.filter((event) => { - const [eventDay, eventMonth, eventYear] = event.date.split("-").map(Number); - const eventDate = new Date(eventYear, eventMonth - 1, eventDay); - - return ( - eventDate.getFullYear() >= today.getFullYear() && - (eventDate.getMonth() > today.getMonth() || - (eventDate.getMonth() === today.getMonth() && - eventDate.getDate() >= today.getDate())) && - event.club === "IIC" - ); -}); -let earliestTwoEvents: CalendarDataProps[] = []; -if (sortedEvents.length >= 2) { - earliestTwoEvents = sortedEvents.slice(0, 2); -} else if (sortedEvents.length === 1) { - earliestTwoEvents = [ - ...sortedEvents, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} else { - earliestTwoEvents = [ - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} - -const event1Name = earliestTwoEvents[0].eventName; -const event1Date = earliestTwoEvents[0].date; -const event1Desc = earliestTwoEvents[0].desc; -const event2Name = earliestTwoEvents[1].eventName; -const event2Date = earliestTwoEvents[1].date; -const event2Desc = earliestTwoEvents[1].desc; - const IIC: FunctionComponent = () => { return ( <> @@ -76,12 +24,6 @@ const IIC: FunctionComponent = () => { bgTop={IICBgTop} logo={IICLogo} color={"#BEA000"} - event1Name={event1Name} - event1Date={event1Date} - event1Desc={event1Desc} - event2Name={event2Name} - event2Date={event2Date} - event2Desc={event2Desc} /> Institution's Innovation Council (IIC) program is initiative of @@ -100,7 +42,7 @@ const IIC: FunctionComponent = () => { }} > {/* - */} + */} @@ -108,17 +50,3 @@ const IIC: FunctionComponent = () => { }; export default IIC; - -interface GalleryProps { - name: string; - img: StaticImageData[]; - date: string; -} - -const gallery: GalleryProps[] = [ - { - name: "Bit-2-Byte", - date: "9-10 April 2022", - img: [bit1, bit2, bit3, bit4, bit5, bit6, bit7, bit8], - }, -]; diff --git a/pages/clubs/technical/inquizitive.tsx b/pages/clubs/technical/inquizitive.tsx index 6793c45..2116ff7 100644 --- a/pages/clubs/technical/inquizitive.tsx +++ b/pages/clubs/technical/inquizitive.tsx @@ -9,56 +9,7 @@ import inquizitiveBg from "../../../assets/technical_clubs_bg/inquizitive.png"; import inquizitiveBgTop from "../../../assets/technical_clubs_bg/bg_inquizitive_top.svg"; import inquizitiveBgBottom from "../../../assets/technical_clubs_bg/bg_inquizitive_bottom.svg"; import inquizitiveLogo from "../../../assets/technical_clubs_bg/inquizitive_logo.jpg"; -import { StaticImageData } from "next/image"; -import { inquizitive } from "../../../data/TechnicalClubCrew"; - -// import events -import quiz1 from "../../../assets/club_event_pics/technical/quiz1.jpeg"; -import quiz2 from "../../../assets/club_event_pics/technical/quiz2.jpeg"; -import quiz3 from "../../../assets/club_event_pics/technical/quiz3.jpeg"; -import quiz4 from "../../../assets/club_event_pics/technical/quiz4.jpeg"; - -import { calendarData } from "../../../data/EventCalendarData"; -interface CalendarDataProps { - date: string; - eventName: string; - club: string; - desc: string; -} -const today = new Date(); -const filteredEvents = calendarData.filter((event) => { - const [eventDay, eventMonth, eventYear] = event.date.split("-").map(Number); - const eventDate = new Date(eventYear, eventMonth - 1, eventDay); - - return ( - eventDate.getFullYear() >= today.getFullYear() && - (eventDate.getMonth() > today.getMonth() || - (eventDate.getMonth() === today.getMonth() && - eventDate.getDate() >= today.getDate())) && - event.club === "Inquizitive" - ); -}); -let earliestTwoEvents: CalendarDataProps[] = []; -if (filteredEvents.length >= 2) { - earliestTwoEvents = filteredEvents.slice(0, 2); -} else if (filteredEvents.length === 1) { - earliestTwoEvents = [ - ...filteredEvents, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} else { - earliestTwoEvents = [ - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} - -const event1Name = earliestTwoEvents[0].eventName; -const event1Date = earliestTwoEvents[0].date; -const event1Desc = earliestTwoEvents[0].desc; -const event2Name = earliestTwoEvents[1].eventName; -const event2Date = earliestTwoEvents[1].date; -const event2Desc = earliestTwoEvents[1].desc; +import { inquizitive } from "../../../data/Crews/TechnicalClubCrew"; const Inquizitive = () => { return ( @@ -70,12 +21,6 @@ const Inquizitive = () => { bgTop={inquizitiveBgTop} logo={inquizitiveLogo} color="#BB9AF7" - event1Name={event1Name} - event1Date={event1Date} - event1Desc={event1Desc} - event2Name={event2Name} - event2Date={event2Date} - event2Desc={event2Desc} /> True to its name, Inquisitive is the abode of the most curious minds @@ -99,7 +44,7 @@ const Inquizitive = () => { }} > - + @@ -107,17 +52,3 @@ const Inquizitive = () => { }; export default Inquizitive; - -interface GalleryProps { - name: string; - img: StaticImageData[]; - date: string; -} - -const gallery: GalleryProps[] = [ - { - name: "Quizadry", - date: "15 Oct 2022", - img: [quiz1, quiz2, quiz3, quiz4], - }, -]; diff --git a/pages/clubs/technical/tsoc.tsx b/pages/clubs/technical/tsoc.tsx index c3aa59e..d199670 100644 --- a/pages/clubs/technical/tsoc.tsx +++ b/pages/clubs/technical/tsoc.tsx @@ -9,79 +9,20 @@ import tsocBg from "../../../assets/technical_clubs_bg/tsoc.png"; import tsocBgTop from "../../../assets/technical_clubs_bg/bg_tsoc_top.svg"; import tsocBgBottom from "../../../assets/technical_clubs_bg/bg_tsoc_bottom.svg"; import tsocLogo from "../../../assets/technical_clubs_bg/tsoc_logo.jpg"; -import { StaticImageData } from "next/image"; -import { tsoc } from "../../../data/TechnicalClubCrew"; - -// import events -import bit1 from "../../../assets/club_event_pics/technical/bit1.jpeg"; -import bit2 from "../../../assets/club_event_pics/technical/bit2.jpeg"; -import bit3 from "../../../assets/club_event_pics/technical/bit3.jpeg"; -import bit4 from "../../../assets/club_event_pics/technical/bit4.jpeg"; -import bit5 from "../../../assets/club_event_pics/technical/bit5.jpeg"; -import bit6 from "../../../assets/club_event_pics/technical/bit6.jpeg"; -import bit7 from "../../../assets/club_event_pics/technical/bit7.jpeg"; -import bit8 from "../../../assets/club_event_pics/technical/bit8.jpeg"; +import { tsoc } from "../../../data/Crews/TechnicalClubCrew"; interface TSOCProps {} -import { calendarData } from "../../../data/EventCalendarData"; -interface CalendarDataProps { - date: string; - eventName: string; - club: string; - desc: string; -} -const today = new Date(); -const sortedEvents = calendarData.filter((event) => { - const [eventDay, eventMonth, eventYear] = event.date.split("-").map(Number); - const eventDate = new Date(eventYear, eventMonth - 1, eventDay); - - return ( - eventDate.getFullYear() >= today.getFullYear() && - (eventDate.getMonth() > today.getMonth() || - (eventDate.getMonth() === today.getMonth() && - eventDate.getDate() >= today.getDate())) && - event.club === "TSoC" - ); -}); -let earliestTwoEvents: CalendarDataProps[] = []; -if (sortedEvents.length >= 2) { - earliestTwoEvents = sortedEvents.slice(0, 2); -} else if (sortedEvents.length === 1) { - earliestTwoEvents = [ - ...sortedEvents, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} else { - earliestTwoEvents = [ - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - { date: "", eventName: "No Upcoming Event", club: "", desc: "" }, - ]; -} - -const event1Name = earliestTwoEvents[0].eventName; -const event1Date = earliestTwoEvents[0].date; -const event1Desc = earliestTwoEvents[0].desc; -const event2Name = earliestTwoEvents[1].eventName; -const event2Date = earliestTwoEvents[1].date; -const event2Desc = earliestTwoEvents[1].desc; - const TSOC: FunctionComponent = () => { return ( <> The Society of Coders at IIIT-Naya Raipur is a student-run club that @@ -104,7 +45,7 @@ const TSOC: FunctionComponent = () => { }} > - + @@ -112,17 +53,3 @@ const TSOC: FunctionComponent = () => { }; export default TSOC; - -interface GalleryProps { - name: string; - img: StaticImageData[]; - date: string; -} - -const gallery: GalleryProps[] = [ - { - name: "Bit-2-Byte", - date: "9-10 April 2022", - img: [bit1, bit2, bit3, bit4, bit5, bit6, bit7, bit8], - }, -]; diff --git a/yarn.lock b/yarn.lock index ee2cbed..0e0cb5a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,44 +2,164 @@ # yarn lockfile v1 -"@babel/code-frame@^7.0.0": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz" - integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== - dependencies: - "@babel/highlight" "^7.18.6" - -"@babel/helper-module-imports@^7.16.7": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz" - integrity sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA== - dependencies: - "@babel/types" "^7.18.6" +"@ampproject/remapping@^2.2.0": + version "2.2.1" + resolved "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz" + integrity sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg== + dependencies: + "@jridgewell/gen-mapping" "^0.3.0" + "@jridgewell/trace-mapping" "^0.3.9" + +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.23.5": + version "7.23.5" + resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz" + integrity sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA== + dependencies: + "@babel/highlight" "^7.23.4" + chalk "^2.4.2" + +"@babel/compat-data@^7.23.5": + version "7.23.5" + resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.5.tgz" + integrity sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw== + +"@babel/core@^7.0.0", "@babel/core@^7.0.0-0": + version "7.23.9" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.23.9.tgz" + integrity sha512-5q0175NOjddqpvvzU+kDiSOAk4PfdO6FvwCWoQ6RO7rTzEe8vlo+4HVfcnAREhD4npMs0e9uZypjTwzZPCf/cw== + dependencies: + "@ampproject/remapping" "^2.2.0" + "@babel/code-frame" "^7.23.5" + "@babel/generator" "^7.23.6" + "@babel/helper-compilation-targets" "^7.23.6" + "@babel/helper-module-transforms" "^7.23.3" + "@babel/helpers" "^7.23.9" + "@babel/parser" "^7.23.9" + "@babel/template" "^7.23.9" + "@babel/traverse" "^7.23.9" + "@babel/types" "^7.23.9" + convert-source-map "^2.0.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.3" + semver "^6.3.1" + +"@babel/generator@^7.23.6": + version "7.23.6" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.23.6.tgz" + integrity sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw== + dependencies: + "@babel/types" "^7.23.6" + "@jridgewell/gen-mapping" "^0.3.2" + "@jridgewell/trace-mapping" "^0.3.17" + jsesc "^2.5.1" + +"@babel/helper-compilation-targets@^7.23.6": + version "7.23.6" + resolved "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz" + integrity sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ== + dependencies: + "@babel/compat-data" "^7.23.5" + "@babel/helper-validator-option" "^7.23.5" + browserslist "^4.22.2" + lru-cache "^5.1.1" + semver "^6.3.1" + +"@babel/helper-environment-visitor@^7.22.20": + version "7.22.20" + resolved "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz" + integrity sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA== + +"@babel/helper-function-name@^7.23.0": + version "7.23.0" + resolved "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz" + integrity sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw== + dependencies: + "@babel/template" "^7.22.15" + "@babel/types" "^7.23.0" + +"@babel/helper-hoist-variables@^7.22.5": + version "7.22.5" + resolved "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz" + integrity sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw== + dependencies: + "@babel/types" "^7.22.5" + +"@babel/helper-module-imports@^7.16.7", "@babel/helper-module-imports@^7.22.15": + version "7.22.15" + resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz" + integrity sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w== + dependencies: + "@babel/types" "^7.22.15" + +"@babel/helper-module-transforms@^7.23.3": + version "7.23.3" + resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz" + integrity sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ== + dependencies: + "@babel/helper-environment-visitor" "^7.22.20" + "@babel/helper-module-imports" "^7.22.15" + "@babel/helper-simple-access" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + "@babel/helper-validator-identifier" "^7.22.20" "@babel/helper-plugin-utils@^7.18.6": version "7.19.0" resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.19.0.tgz" integrity sha512-40Ryx7I8mT+0gaNxm8JGTZFUITNqdLAgdg0hXzeVZxVD6nFsdhQvip6v8dqkRHzsz1VFpFAaOCHNn0vKBL7Czw== -"@babel/helper-string-parser@^7.19.4": - version "7.19.4" - resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.19.4.tgz" - integrity sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw== +"@babel/helper-simple-access@^7.22.5": + version "7.22.5" + resolved "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz" + integrity sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w== + dependencies: + "@babel/types" "^7.22.5" -"@babel/helper-validator-identifier@^7.18.6", "@babel/helper-validator-identifier@^7.19.1": - version "7.19.1" - resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz" - integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== +"@babel/helper-split-export-declaration@^7.22.6": + version "7.22.6" + resolved "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz" + integrity sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g== + dependencies: + "@babel/types" "^7.22.5" -"@babel/highlight@^7.18.6": - version "7.18.6" - resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz" - integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g== +"@babel/helper-string-parser@^7.23.4": + version "7.23.4" + resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz" + integrity sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ== + +"@babel/helper-validator-identifier@^7.22.20": + version "7.22.20" + resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz" + integrity sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A== + +"@babel/helper-validator-option@^7.23.5": + version "7.23.5" + resolved "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz" + integrity sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw== + +"@babel/helpers@^7.23.9": + version "7.23.9" + resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.9.tgz" + integrity sha512-87ICKgU5t5SzOT7sBMfCOZQ2rHjRU+Pcb9BoILMYz600W6DkVRLFBPwQ18gwUVvggqXivaUakpnxWQGbpywbBQ== + dependencies: + "@babel/template" "^7.23.9" + "@babel/traverse" "^7.23.9" + "@babel/types" "^7.23.9" + +"@babel/highlight@^7.23.4": + version "7.23.4" + resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz" + integrity sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A== dependencies: - "@babel/helper-validator-identifier" "^7.18.6" - chalk "^2.0.0" + "@babel/helper-validator-identifier" "^7.22.20" + chalk "^2.4.2" js-tokens "^4.0.0" +"@babel/parser@^7.23.9": + version "7.23.9" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.23.9.tgz" + integrity sha512-9tcKgqKbs3xGJ+NtKF2ndOBBLVwPjl1SHxPQkd36r3Dlirw3xWUeGaTbqr7uGZcTaxkVNwc+03SVP7aCdWrTlA== + "@babel/plugin-syntax-jsx@^7.17.12": version "7.18.6" resolved "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.18.6.tgz" @@ -55,13 +175,20 @@ core-js-pure "^3.25.1" regenerator-runtime "^0.13.4" -"@babel/runtime@^7.1.2", "@babel/runtime@^7.10.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.18.9", "@babel/runtime@^7.19.0", "@babel/runtime@^7.2.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.7": +"@babel/runtime@^7.10.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.18.9", "@babel/runtime@^7.19.0", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.7": version "7.19.4" resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.19.4.tgz" integrity sha512-EXpLCrk55f+cYqmHsSR+yD/0gAIMxxA9QK9lnQWzhMCvt+YmoBN7Zx94s++Kv0+unHk39vxNO8t+CMA2WSS3wA== dependencies: regenerator-runtime "^0.13.4" +"@babel/runtime@^7.2.0": + version "7.23.9" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.9.tgz" + integrity sha512-0CX6F+BI2s9dkUqr08KFrAIZgNFj75rdBU/DjCyYLIaV/quFjkk6T+EJ2LkZHyZTbEV4L5p97mNkUsHl2wLFAw== + dependencies: + regenerator-runtime "^0.14.0" + "@babel/runtime@7.0.0": version "7.0.0" resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.0.0.tgz" @@ -69,13 +196,38 @@ dependencies: regenerator-runtime "^0.12.0" -"@babel/types@^7.18.6": - version "7.20.7" - resolved "https://registry.npmjs.org/@babel/types/-/types-7.20.7.tgz" - integrity sha512-69OnhBxSSgK0OzTJai4kyPDiKTIe3j+ctaHdIGVbRahTLAT7L3R9oeXHC2aVSuGYt3cVnoAMDmOCgJ2yaiLMvg== - dependencies: - "@babel/helper-string-parser" "^7.19.4" - "@babel/helper-validator-identifier" "^7.19.1" +"@babel/template@^7.22.15", "@babel/template@^7.23.9": + version "7.23.9" + resolved "https://registry.npmjs.org/@babel/template/-/template-7.23.9.tgz" + integrity sha512-+xrD2BWLpvHKNmX2QbpdpsBaWnRxahMwJjO+KZk2JOElj5nSmKezyS1B4u+QbHMTX69t4ukm6hh9lsYQ7GHCKA== + dependencies: + "@babel/code-frame" "^7.23.5" + "@babel/parser" "^7.23.9" + "@babel/types" "^7.23.9" + +"@babel/traverse@^7.23.9": + version "7.23.9" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.9.tgz" + integrity sha512-I/4UJ9vs90OkBtY6iiiTORVMyIhJ4kAVmsKo9KFc8UOxMeUfi2hvtIBsET5u9GizXE6/GFSuKCTNfgCswuEjRg== + dependencies: + "@babel/code-frame" "^7.23.5" + "@babel/generator" "^7.23.6" + "@babel/helper-environment-visitor" "^7.22.20" + "@babel/helper-function-name" "^7.23.0" + "@babel/helper-hoist-variables" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + "@babel/parser" "^7.23.9" + "@babel/types" "^7.23.9" + debug "^4.3.1" + globals "^11.1.0" + +"@babel/types@^7.22.15", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.23.6", "@babel/types@^7.23.9": + version "7.23.9" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.23.9.tgz" + integrity sha512-dQjSq/7HaSjRM43FFGnv5keM2HsxpmyV1PfaSVm0nzzjwwTmjOe6J4bC8e3+pTEIgHaHj+1ZlLThRJ2auc/w1Q== + dependencies: + "@babel/helper-string-parser" "^7.23.4" + "@babel/helper-validator-identifier" "^7.22.20" to-fast-properties "^2.0.0" "@emotion/babel-plugin@^11.10.0": @@ -124,7 +276,7 @@ resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.0.tgz" integrity sha512-G/YwXTkv7Den9mXDO7AhLWkE3q+I92B+VqAE+dYG4NGPaHZGvt3G8Q0p9vmE+sq7rTGphUbAvmQ9YpbfMQGGlA== -"@emotion/react@^11.10.4": +"@emotion/react@^11.0.0-rc.0", "@emotion/react@^11.10.4", "@emotion/react@^11.4.1", "@emotion/react@^11.5.0": version "11.10.4" resolved "https://registry.npmjs.org/@emotion/react/-/react-11.10.4.tgz" integrity sha512-j0AkMpr6BL8gldJZ6XQsQ8DnS9TxEQu1R+OGmDZiWjBAJtCcbt0tS3I/YffoqHXxH6MjgI7KdMbYKw3MEiU9eA== @@ -154,7 +306,7 @@ resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.0.tgz" integrity sha512-OiTkRgpxescko+M51tZsMq7Puu/KP55wMT8BgpcXVG2hqXc0Vo0mfymJ/Uj24Hp0i083ji/o0aLddh08UEjq8w== -"@emotion/styled@^11.10.4": +"@emotion/styled@^11.10.4", "@emotion/styled@^11.3.0": version "11.10.4" resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.10.4.tgz" integrity sha512-pRl4R8Ez3UXvOPfc2bzIoV8u9P97UedgHS4FPX594ntwEuAMA114wlaHvOK24HB48uqfXiGlYIZYCxVJ1R1ttQ== @@ -220,6 +372,38 @@ resolved "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz" integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== +"@jridgewell/gen-mapping@^0.3.0", "@jridgewell/gen-mapping@^0.3.2": + version "0.3.4" + resolved "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.4.tgz" + integrity sha512-Oud2QPM5dHviZNn4y/WhhYKSXksv+1xLEIsNrAbGcFzUN3ubqWRFT5gwPchNc5NuzILOU4tPBDTZ4VwhL8Y7cw== + dependencies: + "@jridgewell/set-array" "^1.0.1" + "@jridgewell/sourcemap-codec" "^1.4.10" + "@jridgewell/trace-mapping" "^0.3.9" + +"@jridgewell/resolve-uri@^3.1.0": + version "3.1.2" + resolved "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz" + integrity sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw== + +"@jridgewell/set-array@^1.0.1": + version "1.1.2" + resolved "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz" + integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== + +"@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.14": + version "1.4.15" + resolved "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz" + integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== + +"@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.9": + version "0.3.23" + resolved "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.23.tgz" + integrity sha512-9/4foRoUKp8s96tSkh8DlAAc5A0Ty8vLXld+l9gjKKY6ckwI8G15f0hskGmuLZu78ZlGa1vtsfOa+lnB4vG6Jg== + dependencies: + "@jridgewell/resolve-uri" "^3.1.0" + "@jridgewell/sourcemap-codec" "^1.4.14" + "@material-ui/types@^4.0.0": version "4.1.1" resolved "https://registry.npmjs.org/@material-ui/types/-/types-4.1.1.tgz" @@ -253,7 +437,7 @@ dependencies: "@babel/runtime" "^7.19.0" -"@mui/material@^5.10.10": +"@mui/material@^5.0.0", "@mui/material@^5.10.10": version "5.10.10" resolved "https://registry.npmjs.org/@mui/material/-/material-5.10.10.tgz" integrity sha512-ioLvqY7VvcePz9dnEIRhpiVvtJmAFmvG6rtLXXzVdMmAVbSaelr5Io07mPz/mCyqE+Uv8/4EuJV276DWO7etzA== @@ -414,19 +598,19 @@ dependencies: "@types/react" "*" -"@types/react-swipeable-views-utils@^0.13.4": - version "0.13.4" - resolved "https://registry.npmjs.org/@types/react-swipeable-views-utils/-/react-swipeable-views-utils-0.13.4.tgz" - integrity sha512-v0nDk6mMIPAu/kaEnqQpDz2Z7O8ewqy2in7xwobcAAkUKKsdw3MSWFW1BkQ+dPgTrBnj/KXUzx3ZIS6UYviwyA== +"@types/react-swipeable-views-utils@^0.13.7": + version "0.13.7" + resolved "https://registry.npmjs.org/@types/react-swipeable-views-utils/-/react-swipeable-views-utils-0.13.7.tgz" + integrity sha512-ED8pf8dq3S79uWtP8EnSdrg7dUCrxyL9Uapq1dSA2mz+H83SjS8vsqmlFWmmBQoTuEHsQp5Ru9fxxsofQ+bI9Q== dependencies: "@material-ui/types" "^4.0.0" "@types/react" "*" "@types/react-swipeable-views" "*" "@types/react-swipeable-views@*": - version "0.13.1" - resolved "https://registry.npmjs.org/@types/react-swipeable-views/-/react-swipeable-views-0.13.1.tgz" - integrity sha512-Nuvywkv9CkwcUgItOCBszkc/pc8YSdiKV5E1AzOJ/p32Db50LgwhJFi5b1ANPgyWxB0Q5yn69aMURHyGi3MLyg== + version "0.13.5" + resolved "https://registry.npmjs.org/@types/react-swipeable-views/-/react-swipeable-views-0.13.5.tgz" + integrity sha512-ni6WjO7gBq2xB2Y/ZiRdQOgjGOxIik5ow2s7xKieDq8DxsXTdV46jJslSBVK2yoIJHf6mG3uqNTwxwgzbXRRzg== dependencies: "@types/react" "*" @@ -437,7 +621,7 @@ dependencies: "@types/react" "*" -"@types/react@*", "@types/react@18.0.21": +"@types/react@*", "@types/react@^17.0.0 || ^18.0.0", "@types/react@18.0.21": version "18.0.21" resolved "https://registry.npmjs.org/@types/react/-/react-18.0.21.tgz" integrity sha512-7QUCOxvFgnD5Jk8ZKlUAhVcRj7GuJRjnjjiY/IUBWKgOlnvDvTMLD4RTF7NPyVmbRhNrbomZiOepg7M/2Kj1mA== @@ -500,7 +684,7 @@ acorn-jsx@^5.3.2: resolved "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz" integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== -acorn@^8.8.0: +"acorn@^6.0.0 || ^7.0.0 || ^8.0.0", acorn@^8.8.0: version "8.8.0" resolved "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz" integrity sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w== @@ -627,6 +811,16 @@ braces@^3.0.2: dependencies: fill-range "^7.0.1" +browserslist@^4.22.2, "browserslist@>= 4.21.0": + version "4.23.0" + resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.23.0.tgz" + integrity sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ== + dependencies: + caniuse-lite "^1.0.30001587" + electron-to-chromium "^1.4.668" + node-releases "^2.0.14" + update-browserslist-db "^1.0.13" + call-bind@^1.0.0, call-bind@^1.0.2: version "1.0.2" resolved "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz" @@ -640,12 +834,12 @@ callsites@^3.0.0: resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz" integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== -caniuse-lite@^1.0.30001406: - version "1.0.30001423" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001423.tgz" - integrity sha512-09iwWGOlifvE1XuHokFMP7eR38a0JnajoyL3/i87c8ZjRWRrdKo1fqjNfugfBD0UDBIOz0U+jtNhJ0EPm1VleQ== +caniuse-lite@^1.0.30001406, caniuse-lite@^1.0.30001587: + version "1.0.30001591" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001591.tgz" + integrity sha512-PCzRMei/vXjJyL5mJtzNiUCKP59dm8Apqc3PH8gJkMnMXZGox93RbE76jHsmLwmIo6/3nsYIpJtx0O7u5PqFuQ== -chalk@^2.0.0: +chalk@^2.4.2: version "2.4.2" resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -701,6 +895,11 @@ convert-source-map@^1.5.0: resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.9.0.tgz" integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== +convert-source-map@^2.0.0: + version "2.0.0" + resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz" + integrity sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg== + core-js-pure@^3.25.1: version "3.25.5" resolved "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.25.5.tgz" @@ -750,7 +949,7 @@ debug@^3.2.7: dependencies: ms "^2.1.1" -debug@^4.1.1, debug@^4.3.2, debug@^4.3.4: +debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.4: version "4.3.4" resolved "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz" integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== @@ -791,13 +990,6 @@ doctrine@^3.0.0: dependencies: esutils "^2.0.2" -dom-helpers@^3.2.1: - version "3.4.0" - resolved "https://registry.npmjs.org/dom-helpers/-/dom-helpers-3.4.0.tgz" - integrity sha512-LnuPJ+dwqKDIyotW1VzmOZ5TONUN7CwkCR5hrgawTUbkBGYdeoNLZo6nNfGkCrjtE1nXXaj7iMMpDa8/d9WoIA== - dependencies: - "@babel/runtime" "^7.1.2" - dom-helpers@^5.0.1: version "5.2.1" resolved "https://registry.npmjs.org/dom-helpers/-/dom-helpers-5.2.1.tgz" @@ -806,6 +998,11 @@ dom-helpers@^5.0.1: "@babel/runtime" "^7.8.7" csstype "^3.0.2" +electron-to-chromium@^1.4.668: + version "1.4.682" + resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.682.tgz" + integrity sha512-oCglfs8yYKs9RQjJFOHonSnhikPK3y+0SvSYc/YpYJV//6rqc0/hbwd0c7vgK4vrl6y2gJAwjkhkSGWK+z4KRA== + emoji-regex@^9.2.2: version "9.2.2" resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz" @@ -864,6 +1061,11 @@ es-to-primitive@^1.2.1: is-date-object "^1.0.1" is-symbol "^1.0.2" +escalade@^3.1.1: + version "3.1.2" + resolved "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz" + integrity sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA== + escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz" @@ -915,7 +1117,7 @@ eslint-module-utils@^2.7.3: dependencies: debug "^3.2.7" -eslint-plugin-import@^2.26.0: +eslint-plugin-import@*, eslint-plugin-import@^2.26.0: version "2.26.0" resolved "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.26.0.tgz" integrity sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA== @@ -1003,7 +1205,7 @@ eslint-visitor-keys@^3.3.0: resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz" integrity sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA== -eslint@8.26.0: +eslint@*, "eslint@^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8", "eslint@^3 || ^4 || ^5 || ^6 || ^7 || ^8", "eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0", "eslint@^6.0.0 || ^7.0.0 || ^8.0.0", "eslint@^7.23.0 || ^8.0.0", eslint@>=5, eslint@8.26.0: version "8.26.0" resolved "https://registry.npmjs.org/eslint/-/eslint-8.26.0.tgz" integrity sha512-kzJkpaw1Bfwheq4VXUezFriD1GxszX6dUekM7Z3aC2o4hju+tsR/XyTC3RcoSD7jmy9VkPU3+N6YjVU2e96Oyg== @@ -1179,6 +1381,11 @@ functions-have-names@^1.2.2: resolved "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz" integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ== +gensync@^1.0.0-beta.2: + version "1.0.0-beta.2" + resolved "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz" + integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== + get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3: version "1.1.3" resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz" @@ -1234,6 +1441,11 @@ glob@^7.2.0: once "^1.3.0" path-is-absolute "^1.0.0" +globals@^11.1.0: + version "11.12.0" + resolved "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz" + integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== + globals@^13.15.0: version "13.17.0" resolved "https://registry.npmjs.org/globals/-/globals-13.17.0.tgz" @@ -1477,6 +1689,11 @@ js-yaml@^4.1.0: dependencies: argparse "^2.0.1" +jsesc@^2.5.1: + version "2.5.2" + resolved "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz" + integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== + json-parse-even-better-errors@^2.3.0: version "2.3.1" resolved "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz" @@ -1493,12 +1710,17 @@ json-stable-stringify-without-jsonify@^1.0.1: integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw== json5@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz" - integrity sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow== + version "1.0.2" + resolved "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz" + integrity sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA== dependencies: minimist "^1.2.0" +json5@^2.2.3: + version "2.2.3" + resolved "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz" + integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== + "jsx-ast-utils@^2.4.1 || ^3.0.0", jsx-ast-utils@^3.3.2: version "3.3.3" resolved "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.3.tgz" @@ -1556,6 +1778,13 @@ loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: dependencies: js-tokens "^3.0.0 || ^4.0.0" +lru-cache@^5.1.1: + version "5.1.1" + resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz" + integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== + dependencies: + yallist "^3.0.2" + lru-cache@^6.0.0: version "6.0.0" resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz" @@ -1599,9 +1828,9 @@ ms@2.0.0: integrity sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A== nanoid@^3.3.4: - version "3.3.4" - resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz" - integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw== + version "3.3.7" + resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz" + integrity sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g== natural-compare@^1.4.0: version "1.4.0" @@ -1634,6 +1863,11 @@ next@12.3.1: "@next/swc-win32-ia32-msvc" "12.3.1" "@next/swc-win32-x64-msvc" "12.3.1" +node-releases@^2.0.14: + version "2.0.14" + resolved "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz" + integrity sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw== + object-assign@^4.1.1: version "4.1.1" resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz" @@ -1812,7 +2046,7 @@ queue-microtask@^1.2.2: resolved "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz" integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== -react-dom@18.2.0: +"react-dom@^17.0.0 || ^18.0.0", "react-dom@^17.0.2 || ^18.0.0-0", react-dom@>=16, react-dom@>=16.6.0, react-dom@18.2.0: version "18.2.0" resolved "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz" integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== @@ -1849,36 +2083,35 @@ react-is@^18.2.0: resolved "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz" integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w== -react-swipeable-views-core@^0.13.1, react-swipeable-views-core@^0.13.7: - version "0.13.7" - resolved "https://registry.npmjs.org/react-swipeable-views-core/-/react-swipeable-views-core-0.13.7.tgz" - integrity sha512-ekn9oDYfBt0oqJSGGwLEhKvn+QaqMGTy//9dURTLf+vp7W5j6GvmKryYdnwJCDITaPFI2hujXV4CH9krhvaE5w== +react-swipeable-views-core@^0.14.0: + version "0.14.0" + resolved "https://registry.npmjs.org/react-swipeable-views-core/-/react-swipeable-views-core-0.14.0.tgz" + integrity sha512-0W/e9uPweNEOSPjmYtuKSC/SvKKg1sfo+WtPdnxeLF3t2L82h7jjszuOHz9C23fzkvLfdgkaOmcbAxE9w2GEjA== dependencies: "@babel/runtime" "7.0.0" warning "^4.0.1" -react-swipeable-views-utils@^0.13.3: - version "0.13.9" - resolved "https://registry.npmjs.org/react-swipeable-views-utils/-/react-swipeable-views-utils-0.13.9.tgz" - integrity sha512-QLGxRKrbJCbWz94vkWLzb1Daaa2Y/TZKmsNKQ6WSNrS+chrlfZ3z9tqZ7YUJlW6pRWp3QZdLSY3UE3cN0TXXmw== +react-swipeable-views-utils@^0.14.0: + version "0.14.0" + resolved "https://registry.npmjs.org/react-swipeable-views-utils/-/react-swipeable-views-utils-0.14.0.tgz" + integrity sha512-W+fXBOsDqgFK1/g7MzRMVcDurp3LqO3ksC8UgInh2P/tKgb5DusuuB1geKHFc6o1wKl+4oyER4Zh3Lxmr8xbXA== dependencies: "@babel/runtime" "7.0.0" keycode "^2.1.7" prop-types "^15.6.0" react-event-listener "^0.6.0" - react-swipeable-views-core "^0.13.7" + react-swipeable-views-core "^0.14.0" shallow-equal "^1.2.1" -react-swipeable-views@0.13.3: - version "0.13.3" - resolved "https://registry.npmjs.org/react-swipeable-views/-/react-swipeable-views-0.13.3.tgz" - integrity sha512-LBHRA5ZouipmoLLwi0cqB8qc7NHLskbXmT1I+ZztC9JfmgKrfichw5R+7q4igQ+5VbaP6jL1vn8BtHW96WYNFQ== +react-swipeable-views@^0.14.0: + version "0.14.0" + resolved "https://registry.npmjs.org/react-swipeable-views/-/react-swipeable-views-0.14.0.tgz" + integrity sha512-wrTT6bi2nC3JbmyNAsPXffUXLn0DVT9SbbcFr36gKpbaCgEp7rX/OFxsu5hPc/NBsUhHyoSRGvwqJNNrWTwCww== dependencies: "@babel/runtime" "7.0.0" - dom-helpers "^3.2.1" prop-types "^15.5.4" - react-swipeable-views-core "^0.13.1" - react-swipeable-views-utils "^0.13.3" + react-swipeable-views-core "^0.14.0" + react-swipeable-views-utils "^0.14.0" warning "^4.0.1" react-toastify@^9.1.1: @@ -1898,13 +2131,22 @@ react-transition-group@^4.4.5: loose-envify "^1.4.0" prop-types "^15.6.2" -react@18.2.0: +"react@^15.0.0 || ^16.0.0 || ^17.0.0|| ^18.0.0", "react@^15.3.0 || ^16.0.0 || ^17.0.0", "react@^16.8.0 || ^17.0.0 || ^18.0.0", "react@^17.0.0 || ^18.0.0", "react@^17.0.2 || ^18.0.0-0", react@^18.2.0, "react@>= 16.8.0 || 17.x.x || ^18.0.0-0", react@>=16, react@>=16.6.0, react@>=16.8.0, react@18.2.0: version "18.2.0" resolved "https://registry.npmjs.org/react/-/react-18.2.0.tgz" integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== dependencies: loose-envify "^1.1.0" +react@^16.3.0: + version "16.14.0" + resolved "https://registry.npmjs.org/react/-/react-16.14.0.tgz" + integrity sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g== + dependencies: + loose-envify "^1.1.0" + object-assign "^4.1.1" + prop-types "^15.6.2" + regenerator-runtime@^0.12.0: version "0.12.1" resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.12.1.tgz" @@ -1915,6 +2157,11 @@ regenerator-runtime@^0.13.4: resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.10.tgz" integrity sha512-KepLsg4dU12hryUO7bp/axHAKvwGOCV0sGloQtpagJ12ai+ojVDqkeGSiRX1zlq+kjIMZ1t7gpze+26QqtdGqw== +regenerator-runtime@^0.14.0: + version "0.14.1" + resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz" + integrity sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw== + regexp.prototype.flags@^1.4.1, regexp.prototype.flags@^1.4.3: version "1.4.3" resolved "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz" @@ -1988,14 +2235,19 @@ scheduler@^0.23.0: loose-envify "^1.1.0" semver@^6.3.0: - version "6.3.0" - resolved "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz" - integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== + version "6.3.1" + resolved "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz" + integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== + +semver@^6.3.1: + version "6.3.1" + resolved "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz" + integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== semver@^7.3.7: - version "7.3.8" - resolved "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz" - integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== + version "7.6.0" + resolved "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz" + integrity sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg== dependencies: lru-cache "^6.0.0" @@ -2151,9 +2403,9 @@ tslib@^1.8.1: integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== tslib@^2.4.0: - version "2.4.0" - resolved "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz" - integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== + version "2.6.2" + resolved "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz" + integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== tsutils@^3.21.0: version "3.21.0" @@ -2174,7 +2426,7 @@ type-fest@^0.20.2: resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz" integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== -typescript@4.8.4: +"typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta", typescript@>=3.3.1, typescript@4.8.4: version "4.8.4" resolved "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz" integrity sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ== @@ -2189,6 +2441,14 @@ unbox-primitive@^1.0.2: has-symbols "^1.0.3" which-boxed-primitive "^1.0.2" +update-browserslist-db@^1.0.13: + version "1.0.13" + resolved "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz" + integrity sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg== + dependencies: + escalade "^3.1.1" + picocolors "^1.0.0" + uri-js@^4.2.2: version "4.4.1" resolved "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz" @@ -2227,15 +2487,20 @@ which@^2.0.1: isexe "^2.0.0" word-wrap@^1.2.3: - version "1.2.3" - resolved "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz" - integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ== + version "1.2.5" + resolved "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz" + integrity sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA== wrappy@1: version "1.0.2" resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz" integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== +yallist@^3.0.2: + version "3.1.1" + resolved "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz" + integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== + yallist@^4.0.0: version "4.0.0" resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz"