From a9b0b6f12b9f20ce3b499aeaf0b3c34d670243c1 Mon Sep 17 00:00:00 2001 From: Shivam Shandilya Date: Wed, 8 May 2024 19:26:40 +0530 Subject: [PATCH] refactor(Team): to Volunteers --- .../{members => volunteers}/advik-singh.jpg | Bin .../{members => volunteers}/advik-singh.webp | Bin .../aryan-mahajan.jpeg | Bin .../aryan-mahajan.webp | Bin .../ashwin-kumar-yadav.png | Bin .../ashwin-kumar-yadav.webp | Bin .../images/{members => volunteers}/ayushi.jpg | Bin .../{members => volunteers}/ayushi.webp | Bin .../{members => volunteers}/bhavya-dang.jpg | Bin .../{members => volunteers}/bhavya-dang.webp | Bin .../chaitanya-gupta.jpg | Bin .../chaitanya-gupta.webp | Bin .../divyansh-yadav.jpg | Bin .../divyansh-yadav.webp | Bin .../diya-bhandari.jpeg | Bin .../diya-bhandari.webp | Bin .../{members => volunteers}/jayant-thakur.jpg | Bin .../jayant-thakur.webp | Bin .../{members => volunteers}/manan-nag.jpeg | Bin .../{members => volunteers}/manan-nag.webp | Bin .../manav-kumar-dubey.jpeg | Bin .../manav-kumar-dubey.webp | Bin .../{members => volunteers}/manik-rana.jpeg | Bin .../{members => volunteers}/manik-rana.webp | Bin .../nimish-chauhan.jpg | Bin .../nimish-chauhan.webp | Bin .../priyanshu-verma.jpeg | Bin .../priyanshu-verma.webp | Bin .../rishab-parashar.jpg | Bin .../rishab-parashar.webp | Bin .../{members => volunteers}/sanya-saini.jpg | Bin .../{members => volunteers}/sanya-saini.webp | Bin .../{members => volunteers}/saumya-singh.jpg | Bin .../{members => volunteers}/saumya-singh.webp | Bin .../shambhavi-mishra.jpg | Bin .../shambhavi-mishra.webp | Bin .../{members => volunteers}/shilpi-sharma.jpg | Bin .../shilpi-sharma.webp | Bin .../shivam-shandilya.jpeg | Bin .../shivam-shandilya.webp | Bin .../shubham-tiwari.jpeg | Bin .../shubham-tiwari.webp | Bin .../tushar-bhatia.jpeg | Bin .../tushar-bhatia.webp | Bin .../{members => volunteers}/vijit-chandna.png | Bin .../vijit-chandna.webp | Bin public/data/events.json | 2 +- public/data/{members.json => volunteers.json} | 46 +++++++++--------- .../VolunteerItem.jsx} | 6 +-- .../VolunteerItem.module.css} | 0 .../Team.jsx => Volunteers/Volunteers.jsx} | 16 +++--- .../Volunteers.module.css} | 0 src/pages/Home/Home.jsx | 4 +- 53 files changed, 37 insertions(+), 37 deletions(-) rename public/assets/images/{members => volunteers}/advik-singh.jpg (100%) rename public/assets/images/{members => volunteers}/advik-singh.webp (100%) rename public/assets/images/{members => volunteers}/aryan-mahajan.jpeg (100%) rename public/assets/images/{members => volunteers}/aryan-mahajan.webp (100%) rename public/assets/images/{members => volunteers}/ashwin-kumar-yadav.png (100%) rename public/assets/images/{members => volunteers}/ashwin-kumar-yadav.webp (100%) rename public/assets/images/{members => volunteers}/ayushi.jpg (100%) rename public/assets/images/{members => volunteers}/ayushi.webp (100%) rename public/assets/images/{members => volunteers}/bhavya-dang.jpg (100%) rename public/assets/images/{members => volunteers}/bhavya-dang.webp (100%) rename public/assets/images/{members => volunteers}/chaitanya-gupta.jpg (100%) rename public/assets/images/{members => volunteers}/chaitanya-gupta.webp (100%) rename public/assets/images/{members => volunteers}/divyansh-yadav.jpg (100%) rename public/assets/images/{members => volunteers}/divyansh-yadav.webp (100%) rename public/assets/images/{members => volunteers}/diya-bhandari.jpeg (100%) rename public/assets/images/{members => volunteers}/diya-bhandari.webp (100%) rename public/assets/images/{members => volunteers}/jayant-thakur.jpg (100%) rename public/assets/images/{members => volunteers}/jayant-thakur.webp (100%) rename public/assets/images/{members => volunteers}/manan-nag.jpeg (100%) rename public/assets/images/{members => volunteers}/manan-nag.webp (100%) rename public/assets/images/{members => volunteers}/manav-kumar-dubey.jpeg (100%) rename public/assets/images/{members => volunteers}/manav-kumar-dubey.webp (100%) rename public/assets/images/{members => volunteers}/manik-rana.jpeg (100%) rename public/assets/images/{members => volunteers}/manik-rana.webp (100%) rename public/assets/images/{members => volunteers}/nimish-chauhan.jpg (100%) rename public/assets/images/{members => volunteers}/nimish-chauhan.webp (100%) rename public/assets/images/{members => volunteers}/priyanshu-verma.jpeg (100%) rename public/assets/images/{members => volunteers}/priyanshu-verma.webp (100%) rename public/assets/images/{members => volunteers}/rishab-parashar.jpg (100%) rename public/assets/images/{members => volunteers}/rishab-parashar.webp (100%) rename public/assets/images/{members => volunteers}/sanya-saini.jpg (100%) rename public/assets/images/{members => volunteers}/sanya-saini.webp (100%) rename public/assets/images/{members => volunteers}/saumya-singh.jpg (100%) rename public/assets/images/{members => volunteers}/saumya-singh.webp (100%) rename public/assets/images/{members => volunteers}/shambhavi-mishra.jpg (100%) rename public/assets/images/{members => volunteers}/shambhavi-mishra.webp (100%) rename public/assets/images/{members => volunteers}/shilpi-sharma.jpg (100%) rename public/assets/images/{members => volunteers}/shilpi-sharma.webp (100%) rename public/assets/images/{members => volunteers}/shivam-shandilya.jpeg (100%) rename public/assets/images/{members => volunteers}/shivam-shandilya.webp (100%) rename public/assets/images/{members => volunteers}/shubham-tiwari.jpeg (100%) rename public/assets/images/{members => volunteers}/shubham-tiwari.webp (100%) rename public/assets/images/{members => volunteers}/tushar-bhatia.jpeg (100%) rename public/assets/images/{members => volunteers}/tushar-bhatia.webp (100%) rename public/assets/images/{members => volunteers}/vijit-chandna.png (100%) rename public/assets/images/{members => volunteers}/vijit-chandna.webp (100%) rename public/data/{members.json => volunteers.json} (82%) rename src/components/Reusables/{TeamItem/TeamItem.jsx => VolunteerItem/VolunteerItem.jsx} (87%) rename src/components/Reusables/{TeamItem/TeamItem.module.css => VolunteerItem/VolunteerItem.module.css} (100%) rename src/components/{Team/Team.jsx => Volunteers/Volunteers.jsx} (66%) rename src/components/{Team/Team.module.css => Volunteers/Volunteers.module.css} (100%) diff --git a/public/assets/images/members/advik-singh.jpg b/public/assets/images/volunteers/advik-singh.jpg similarity index 100% rename from public/assets/images/members/advik-singh.jpg rename to public/assets/images/volunteers/advik-singh.jpg diff --git a/public/assets/images/members/advik-singh.webp b/public/assets/images/volunteers/advik-singh.webp similarity index 100% rename from public/assets/images/members/advik-singh.webp rename to public/assets/images/volunteers/advik-singh.webp diff --git a/public/assets/images/members/aryan-mahajan.jpeg b/public/assets/images/volunteers/aryan-mahajan.jpeg similarity index 100% rename from public/assets/images/members/aryan-mahajan.jpeg rename to public/assets/images/volunteers/aryan-mahajan.jpeg diff --git a/public/assets/images/members/aryan-mahajan.webp b/public/assets/images/volunteers/aryan-mahajan.webp similarity index 100% rename from public/assets/images/members/aryan-mahajan.webp rename to public/assets/images/volunteers/aryan-mahajan.webp diff --git a/public/assets/images/members/ashwin-kumar-yadav.png b/public/assets/images/volunteers/ashwin-kumar-yadav.png similarity index 100% rename from public/assets/images/members/ashwin-kumar-yadav.png rename to public/assets/images/volunteers/ashwin-kumar-yadav.png diff --git a/public/assets/images/members/ashwin-kumar-yadav.webp b/public/assets/images/volunteers/ashwin-kumar-yadav.webp similarity index 100% rename from public/assets/images/members/ashwin-kumar-yadav.webp rename to public/assets/images/volunteers/ashwin-kumar-yadav.webp diff --git a/public/assets/images/members/ayushi.jpg b/public/assets/images/volunteers/ayushi.jpg similarity index 100% rename from public/assets/images/members/ayushi.jpg rename to public/assets/images/volunteers/ayushi.jpg diff --git a/public/assets/images/members/ayushi.webp b/public/assets/images/volunteers/ayushi.webp similarity index 100% rename from public/assets/images/members/ayushi.webp rename to public/assets/images/volunteers/ayushi.webp diff --git a/public/assets/images/members/bhavya-dang.jpg b/public/assets/images/volunteers/bhavya-dang.jpg similarity index 100% rename from public/assets/images/members/bhavya-dang.jpg rename to public/assets/images/volunteers/bhavya-dang.jpg diff --git a/public/assets/images/members/bhavya-dang.webp b/public/assets/images/volunteers/bhavya-dang.webp similarity index 100% rename from public/assets/images/members/bhavya-dang.webp rename to public/assets/images/volunteers/bhavya-dang.webp diff --git a/public/assets/images/members/chaitanya-gupta.jpg b/public/assets/images/volunteers/chaitanya-gupta.jpg similarity index 100% rename from public/assets/images/members/chaitanya-gupta.jpg rename to public/assets/images/volunteers/chaitanya-gupta.jpg diff --git a/public/assets/images/members/chaitanya-gupta.webp b/public/assets/images/volunteers/chaitanya-gupta.webp similarity index 100% rename from public/assets/images/members/chaitanya-gupta.webp rename to public/assets/images/volunteers/chaitanya-gupta.webp diff --git a/public/assets/images/members/divyansh-yadav.jpg b/public/assets/images/volunteers/divyansh-yadav.jpg similarity index 100% rename from public/assets/images/members/divyansh-yadav.jpg rename to public/assets/images/volunteers/divyansh-yadav.jpg diff --git a/public/assets/images/members/divyansh-yadav.webp b/public/assets/images/volunteers/divyansh-yadav.webp similarity index 100% rename from public/assets/images/members/divyansh-yadav.webp rename to public/assets/images/volunteers/divyansh-yadav.webp diff --git a/public/assets/images/members/diya-bhandari.jpeg b/public/assets/images/volunteers/diya-bhandari.jpeg similarity index 100% rename from public/assets/images/members/diya-bhandari.jpeg rename to public/assets/images/volunteers/diya-bhandari.jpeg diff --git a/public/assets/images/members/diya-bhandari.webp b/public/assets/images/volunteers/diya-bhandari.webp similarity index 100% rename from public/assets/images/members/diya-bhandari.webp rename to public/assets/images/volunteers/diya-bhandari.webp diff --git a/public/assets/images/members/jayant-thakur.jpg b/public/assets/images/volunteers/jayant-thakur.jpg similarity index 100% rename from public/assets/images/members/jayant-thakur.jpg rename to public/assets/images/volunteers/jayant-thakur.jpg diff --git a/public/assets/images/members/jayant-thakur.webp b/public/assets/images/volunteers/jayant-thakur.webp similarity index 100% rename from public/assets/images/members/jayant-thakur.webp rename to public/assets/images/volunteers/jayant-thakur.webp diff --git a/public/assets/images/members/manan-nag.jpeg b/public/assets/images/volunteers/manan-nag.jpeg similarity index 100% rename from public/assets/images/members/manan-nag.jpeg rename to public/assets/images/volunteers/manan-nag.jpeg diff --git a/public/assets/images/members/manan-nag.webp b/public/assets/images/volunteers/manan-nag.webp similarity index 100% rename from public/assets/images/members/manan-nag.webp rename to public/assets/images/volunteers/manan-nag.webp diff --git a/public/assets/images/members/manav-kumar-dubey.jpeg b/public/assets/images/volunteers/manav-kumar-dubey.jpeg similarity index 100% rename from public/assets/images/members/manav-kumar-dubey.jpeg rename to public/assets/images/volunteers/manav-kumar-dubey.jpeg diff --git a/public/assets/images/members/manav-kumar-dubey.webp b/public/assets/images/volunteers/manav-kumar-dubey.webp similarity index 100% rename from public/assets/images/members/manav-kumar-dubey.webp rename to public/assets/images/volunteers/manav-kumar-dubey.webp diff --git a/public/assets/images/members/manik-rana.jpeg b/public/assets/images/volunteers/manik-rana.jpeg similarity index 100% rename from public/assets/images/members/manik-rana.jpeg rename to public/assets/images/volunteers/manik-rana.jpeg diff --git a/public/assets/images/members/manik-rana.webp b/public/assets/images/volunteers/manik-rana.webp similarity index 100% rename from public/assets/images/members/manik-rana.webp rename to public/assets/images/volunteers/manik-rana.webp diff --git a/public/assets/images/members/nimish-chauhan.jpg b/public/assets/images/volunteers/nimish-chauhan.jpg similarity index 100% rename from public/assets/images/members/nimish-chauhan.jpg rename to public/assets/images/volunteers/nimish-chauhan.jpg diff --git a/public/assets/images/members/nimish-chauhan.webp b/public/assets/images/volunteers/nimish-chauhan.webp similarity index 100% rename from public/assets/images/members/nimish-chauhan.webp rename to public/assets/images/volunteers/nimish-chauhan.webp diff --git a/public/assets/images/members/priyanshu-verma.jpeg b/public/assets/images/volunteers/priyanshu-verma.jpeg similarity index 100% rename from public/assets/images/members/priyanshu-verma.jpeg rename to public/assets/images/volunteers/priyanshu-verma.jpeg diff --git a/public/assets/images/members/priyanshu-verma.webp b/public/assets/images/volunteers/priyanshu-verma.webp similarity index 100% rename from public/assets/images/members/priyanshu-verma.webp rename to public/assets/images/volunteers/priyanshu-verma.webp diff --git a/public/assets/images/members/rishab-parashar.jpg b/public/assets/images/volunteers/rishab-parashar.jpg similarity index 100% rename from public/assets/images/members/rishab-parashar.jpg rename to public/assets/images/volunteers/rishab-parashar.jpg diff --git a/public/assets/images/members/rishab-parashar.webp b/public/assets/images/volunteers/rishab-parashar.webp similarity index 100% rename from public/assets/images/members/rishab-parashar.webp rename to public/assets/images/volunteers/rishab-parashar.webp diff --git a/public/assets/images/members/sanya-saini.jpg b/public/assets/images/volunteers/sanya-saini.jpg similarity index 100% rename from public/assets/images/members/sanya-saini.jpg rename to public/assets/images/volunteers/sanya-saini.jpg diff --git a/public/assets/images/members/sanya-saini.webp b/public/assets/images/volunteers/sanya-saini.webp similarity index 100% rename from public/assets/images/members/sanya-saini.webp rename to public/assets/images/volunteers/sanya-saini.webp diff --git a/public/assets/images/members/saumya-singh.jpg b/public/assets/images/volunteers/saumya-singh.jpg similarity index 100% rename from public/assets/images/members/saumya-singh.jpg rename to public/assets/images/volunteers/saumya-singh.jpg diff --git a/public/assets/images/members/saumya-singh.webp b/public/assets/images/volunteers/saumya-singh.webp similarity index 100% rename from public/assets/images/members/saumya-singh.webp rename to public/assets/images/volunteers/saumya-singh.webp diff --git a/public/assets/images/members/shambhavi-mishra.jpg b/public/assets/images/volunteers/shambhavi-mishra.jpg similarity index 100% rename from public/assets/images/members/shambhavi-mishra.jpg rename to public/assets/images/volunteers/shambhavi-mishra.jpg diff --git a/public/assets/images/members/shambhavi-mishra.webp b/public/assets/images/volunteers/shambhavi-mishra.webp similarity index 100% rename from public/assets/images/members/shambhavi-mishra.webp rename to public/assets/images/volunteers/shambhavi-mishra.webp diff --git a/public/assets/images/members/shilpi-sharma.jpg b/public/assets/images/volunteers/shilpi-sharma.jpg similarity index 100% rename from public/assets/images/members/shilpi-sharma.jpg rename to public/assets/images/volunteers/shilpi-sharma.jpg diff --git a/public/assets/images/members/shilpi-sharma.webp b/public/assets/images/volunteers/shilpi-sharma.webp similarity index 100% rename from public/assets/images/members/shilpi-sharma.webp rename to public/assets/images/volunteers/shilpi-sharma.webp diff --git a/public/assets/images/members/shivam-shandilya.jpeg b/public/assets/images/volunteers/shivam-shandilya.jpeg similarity index 100% rename from public/assets/images/members/shivam-shandilya.jpeg rename to public/assets/images/volunteers/shivam-shandilya.jpeg diff --git a/public/assets/images/members/shivam-shandilya.webp b/public/assets/images/volunteers/shivam-shandilya.webp similarity index 100% rename from public/assets/images/members/shivam-shandilya.webp rename to public/assets/images/volunteers/shivam-shandilya.webp diff --git a/public/assets/images/members/shubham-tiwari.jpeg b/public/assets/images/volunteers/shubham-tiwari.jpeg similarity index 100% rename from public/assets/images/members/shubham-tiwari.jpeg rename to public/assets/images/volunteers/shubham-tiwari.jpeg diff --git a/public/assets/images/members/shubham-tiwari.webp b/public/assets/images/volunteers/shubham-tiwari.webp similarity index 100% rename from public/assets/images/members/shubham-tiwari.webp rename to public/assets/images/volunteers/shubham-tiwari.webp diff --git a/public/assets/images/members/tushar-bhatia.jpeg b/public/assets/images/volunteers/tushar-bhatia.jpeg similarity index 100% rename from public/assets/images/members/tushar-bhatia.jpeg rename to public/assets/images/volunteers/tushar-bhatia.jpeg diff --git a/public/assets/images/members/tushar-bhatia.webp b/public/assets/images/volunteers/tushar-bhatia.webp similarity index 100% rename from public/assets/images/members/tushar-bhatia.webp rename to public/assets/images/volunteers/tushar-bhatia.webp diff --git a/public/assets/images/members/vijit-chandna.png b/public/assets/images/volunteers/vijit-chandna.png similarity index 100% rename from public/assets/images/members/vijit-chandna.png rename to public/assets/images/volunteers/vijit-chandna.png diff --git a/public/assets/images/members/vijit-chandna.webp b/public/assets/images/volunteers/vijit-chandna.webp similarity index 100% rename from public/assets/images/members/vijit-chandna.webp rename to public/assets/images/volunteers/vijit-chandna.webp diff --git a/public/data/events.json b/public/data/events.json index 4510d23..93ccd19 100644 --- a/public/data/events.json +++ b/public/data/events.json @@ -63,7 +63,7 @@ "date": "August 19th-20th, 2023", "time": "8:00 AM - 6:00 PM", "venue": "Conf center, Faculty of technology, University of Delhi", - "about": "ALiAS members attended the Pydelhi Conf'23 which is hosted annually by PyDelhi Community with an aim to promote Python programming language.", + "about": "ALiAS volunteers attended the Pydelhi Conf'23 which is hosted annually by PyDelhi Community with an aim to promote Python programming language.", "gallery": "https://photos.app.goo.gl/aWZ3LVefPoKTEVu7A" }, { diff --git a/public/data/members.json b/public/data/volunteers.json similarity index 82% rename from public/data/members.json rename to public/data/volunteers.json index 6004bed..b46b035 100644 --- a/public/data/members.json +++ b/public/data/volunteers.json @@ -1,7 +1,7 @@ [ { "id": 1, - "image": "assets/images/members/shilpi-sharma.webp", + "image": "assets/images/volunteers/shilpi-sharma.webp", "name": "Dr. Shilpi Sharma", "role": "Faculty Coordinator", "social": [ @@ -13,7 +13,7 @@ }, { "id": 2, - "image": "assets/images/members/shivam-shandilya.webp", + "image": "assets/images/volunteers/shivam-shandilya.webp", "name": "Shivam Shandilya", "role": "Volunteer", "social": [ @@ -29,7 +29,7 @@ }, { "id": 3, - "image": "assets/images/members/vijit-chandna.webp", + "image": "assets/images/volunteers/vijit-chandna.webp", "name": "Vijit Chandna", "role": "Volunteer", "social": [ @@ -45,7 +45,7 @@ }, { "id": 4, - "image": "assets/images/members/shambhavi-mishra.webp", + "image": "assets/images/volunteers/shambhavi-mishra.webp", "name": "Shambhavi Mishra", "role": "Volunteer", "social": [ @@ -61,7 +61,7 @@ }, { "id": 5, - "image": "assets/images/members/bhavya-dang.webp", + "image": "assets/images/volunteers/bhavya-dang.webp", "name": "Bhavya Dang", "role": "Volunteer", "social": [ @@ -77,7 +77,7 @@ }, { "id": 6, - "image": "assets/images/members/sanya-saini.webp", + "image": "assets/images/volunteers/sanya-saini.webp", "name": "Sanya Saini", "role": "Volunteer", "social": [ @@ -89,7 +89,7 @@ }, { "id": 7, - "image": "assets/images/members/manik-rana.webp", + "image": "assets/images/volunteers/manik-rana.webp", "name": "Manik Rana", "role": "Volunteer", "social": [ @@ -105,7 +105,7 @@ }, { "id": 8, - "image": "assets/images/members/diya-bhandari.webp", + "image": "assets/images/volunteers/diya-bhandari.webp", "name": "Diya Bhandari", "role": "Volunteer", "social": [ @@ -121,7 +121,7 @@ }, { "id": 9, - "image": "assets/images/members/advik-singh.webp", + "image": "assets/images/volunteers/advik-singh.webp", "name": "Advik Singh", "role": "Volunteer", "social": [ @@ -137,7 +137,7 @@ }, { "id": 10, - "image": "assets/images/members/saumya-singh.webp", + "image": "assets/images/volunteers/saumya-singh.webp", "name": "Saumya Singh", "role": "Volunteer", "social": [ @@ -153,7 +153,7 @@ }, { "id": 11, - "image": "assets/images/members/manav-kumar-dubey.webp", + "image": "assets/images/volunteers/manav-kumar-dubey.webp", "name": "Manav Kumar Dubey", "role": "Volunteer", "social": [ @@ -169,7 +169,7 @@ }, { "id": 12, - "image": "assets/images/members/jayant-thakur.webp", + "image": "assets/images/volunteers/jayant-thakur.webp", "name": "Jayant Thakur", "role": "Volunteer", "social": [ @@ -185,7 +185,7 @@ }, { "id": 13, - "image": "assets/images/members/priyanshu-verma.webp", + "image": "assets/images/volunteers/priyanshu-verma.webp", "name": "Priyanshu Verma", "role": "Volunteer", "social": [ @@ -201,7 +201,7 @@ }, { "id": 14, - "image": "assets/images/members/ashwin-kumar-yadav.webp", + "image": "assets/images/volunteers/ashwin-kumar-yadav.webp", "name": "Ashwin Kumar Yadav", "role": "Volunteer", "social": [ @@ -217,7 +217,7 @@ }, { "id": 14, - "image": "assets/images/members/manan-nag.webp", + "image": "assets/images/volunteers/manan-nag.webp", "name": "Manan Nag", "role": "Volunteer", "social": [ @@ -233,7 +233,7 @@ }, { "id": 15, - "image": "assets/images/members/shubham-tiwari.webp", + "image": "assets/images/volunteers/shubham-tiwari.webp", "name": "Shubham Tiwari", "role": "Volunteer", "social": [ @@ -249,7 +249,7 @@ }, { "id": 16, - "image": "assets/images/members/chaitanya-gupta.webp", + "image": "assets/images/volunteers/chaitanya-gupta.webp", "name": "Chaitanya Gupta", "role": "Volunteer", "social": [ @@ -265,7 +265,7 @@ }, { "id": 17, - "image": "assets/images/members/rishab-parashar.webp", + "image": "assets/images/volunteers/rishab-parashar.webp", "name": "Rishab Parashar", "role": "Volunteer", "social": [ @@ -281,7 +281,7 @@ }, { "id": 18, - "image": "assets/images/members/tushar-bhatia.webp", + "image": "assets/images/volunteers/tushar-bhatia.webp", "name": "Tushar Bhatia", "role": "Volunteer", "social": [ @@ -297,7 +297,7 @@ }, { "id": 19, - "image": "assets/images/members/aryan-mahajan.webp", + "image": "assets/images/volunteers/aryan-mahajan.webp", "name": "Aryan Mahajan", "role": "Volunteer", "social": [ @@ -313,7 +313,7 @@ }, { "id": 20, - "image": "assets/images/members/ayushi.webp", + "image": "assets/images/volunteers/ayushi.webp", "name": "Ayushi", "role": "Volunteer", "social": [ @@ -329,7 +329,7 @@ }, { "id": 21, - "image": "assets/images/members/divyansh-yadav.webp", + "image": "assets/images/volunteers/divyansh-yadav.webp", "name": "Divyansh Yadav", "role": "Volunteer", "social": [ @@ -349,7 +349,7 @@ }, { "id": 22, - "image": "assets/images/members/nimish-chauhan.webp", + "image": "assets/images/volunteers/nimish-chauhan.webp", "name": "Nimish Chauhan", "role": "Volunteer", "social": [ diff --git a/src/components/Reusables/TeamItem/TeamItem.jsx b/src/components/Reusables/VolunteerItem/VolunteerItem.jsx similarity index 87% rename from src/components/Reusables/TeamItem/TeamItem.jsx rename to src/components/Reusables/VolunteerItem/VolunteerItem.jsx index eaf42ca..650d9a3 100644 --- a/src/components/Reusables/TeamItem/TeamItem.jsx +++ b/src/components/Reusables/VolunteerItem/VolunteerItem.jsx @@ -1,6 +1,6 @@ /* eslint-disable react/prop-types */ import SocialRow from "../SocialRow/SocialRow" -import styles from "./TeamItem.module.css" +import styles from "./VolunteerItem.module.css" /** * Renders an individual team item component. @@ -12,7 +12,7 @@ import styles from "./TeamItem.module.css" * @param {Array} props.socials - An array of social media objects for the team member. * @returns {JSX.Element} - The rendered team item component. */ -const TeamItem = ({ image, name, role, socials }) => { +const VolunteerItem = ({ image, name, role, socials }) => { return (
@@ -27,4 +27,4 @@ const TeamItem = ({ image, name, role, socials }) => { ) } -export default TeamItem +export default VolunteerItem diff --git a/src/components/Reusables/TeamItem/TeamItem.module.css b/src/components/Reusables/VolunteerItem/VolunteerItem.module.css similarity index 100% rename from src/components/Reusables/TeamItem/TeamItem.module.css rename to src/components/Reusables/VolunteerItem/VolunteerItem.module.css diff --git a/src/components/Team/Team.jsx b/src/components/Volunteers/Volunteers.jsx similarity index 66% rename from src/components/Team/Team.jsx rename to src/components/Volunteers/Volunteers.jsx index 809112f..18df321 100644 --- a/src/components/Team/Team.jsx +++ b/src/components/Volunteers/Volunteers.jsx @@ -1,14 +1,14 @@ import { useState, useEffect } from "react" -import styles from "./Team.module.css" +import styles from "./Volunteers.module.css" import Carousel from "../Reusables/Carousel/Carousel" -import TeamItem from "../Reusables/TeamItem/TeamItem" +import VolunteerItem from "../Reusables/VolunteerItem/VolunteerItem" /** - * Fetches data from "/data/members.json" and sets the fetched data in the component's state. + * Fetches data from "/data/volunteers.json" and sets the fetched data in the component's state. * - * @return {JSX.Element} The rendered Team component. + * @return {JSX.Element} The rendered Volunteers component. */ -const Team = () => { +const Volunteers = () => { const [data, setData] = useState([]) useEffect(() => { @@ -16,7 +16,7 @@ const Team = () => { }, []) async function fetchData() { - const response = await fetch("data/members.json") + const response = await fetch("data/volunteers.json") const data = await response.json() setData(data) } @@ -31,7 +31,7 @@ const Team = () => { id="team__carousel" props={data.map((item) => { return ( - { ) } -export default Team +export default Volunteers diff --git a/src/components/Team/Team.module.css b/src/components/Volunteers/Volunteers.module.css similarity index 100% rename from src/components/Team/Team.module.css rename to src/components/Volunteers/Volunteers.module.css diff --git a/src/pages/Home/Home.jsx b/src/pages/Home/Home.jsx index 52167ab..7c8ce7f 100644 --- a/src/pages/Home/Home.jsx +++ b/src/pages/Home/Home.jsx @@ -4,7 +4,7 @@ import Contact from "../../components/Contact/Contact" import Events from "../../components/Events/Events" import Hero from "../../components/Hero/Hero" import Navbar from "../../components/Navbar/Navbar" -import Team from "../../components/Team/Team" +import Volunteers from "../../components/Volunteers/Volunteers" import Community from "../../components/Community/Community" import styles from "./Home.module.css" @@ -21,7 +21,7 @@ const Home = () => { - +