From fadfed46495150a3cb82262782ce37deb286a851 Mon Sep 17 00:00:00 2001 From: diyajojo Date: Thu, 19 Sep 2024 03:56:29 +0530 Subject: [PATCH 1/4] changes --- src/components/Events.jsx | 12 ++++++++++++ src/components/Home.jsx | 2 ++ 2 files changed, 14 insertions(+) create mode 100644 src/components/Events.jsx diff --git a/src/components/Events.jsx b/src/components/Events.jsx new file mode 100644 index 0000000..48d1814 --- /dev/null +++ b/src/components/Events.jsx @@ -0,0 +1,12 @@ +import React from 'react' + +function Events() { + return ( +
+

Upcoming Events

+

Stay tuned for official announcements about our upcoming events, which will be shared right here.

+
+ ) +} + +export default Events diff --git a/src/components/Home.jsx b/src/components/Home.jsx index cfd3c4b..451488d 100644 --- a/src/components/Home.jsx +++ b/src/components/Home.jsx @@ -4,6 +4,7 @@ import "materialize-css/dist/css/materialize.min.css"; import HeaderImage from "../Assets/svgs/Frame1.png"; import announcementsData from "../announcement_data.json"; import Announcements from "./Announcement/Announcements"; +import Events from "./Events"; const Home = () => { // useEffect(() => { // fetch("https://raw.githubusercontent.com/IEDCMEC/data/master/data.json") @@ -65,6 +66,7 @@ const Home = () => { {announcementsData.map(({ title, id, link, summary }) => ( ))} + ); From 7426b9f97cc82afa36b262c59c3fb0181b752c15 Mon Sep 17 00:00:00 2001 From: diyajojo Date: Fri, 11 Oct 2024 20:24:22 +0530 Subject: [PATCH 2/4] events section added --- package.json | 7 ++- public/index.html | 2 + src/Assets/events/event1.jpg | Bin 0 -> 45231 bytes src/Assets/events/event2.jpg | Bin 0 -> 29518 bytes src/Assets/events/event3.jpg | Bin 0 -> 36681 bytes src/Assets/events/event4.jpg | Bin 0 -> 34948 bytes src/Assets/events/event5.jpg | Bin 0 -> 68345 bytes src/Assets/events/event6.jpg | Bin 0 -> 39288 bytes src/components/Events.jsx | 12 ----- src/components/Events/Events.jsx | 66 +++++++++++++++++++++++++++ src/components/Home.jsx | 5 +- src/css/events.css | 76 +++++++++++++++++++++++++++++++ 12 files changed, 153 insertions(+), 15 deletions(-) create mode 100644 src/Assets/events/event1.jpg create mode 100644 src/Assets/events/event2.jpg create mode 100644 src/Assets/events/event3.jpg create mode 100644 src/Assets/events/event4.jpg create mode 100644 src/Assets/events/event5.jpg create mode 100644 src/Assets/events/event6.jpg delete mode 100644 src/components/Events.jsx create mode 100644 src/components/Events/Events.jsx create mode 100644 src/css/events.css diff --git a/package.json b/package.json index f5ddbe9..37554d7 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,8 @@ "version": "0.1.0", "private": true, "dependencies": { + "@fortawesome/fontawesome-free": "^6.6.0", + "@fortawesome/free-solid-svg-icons": "^6.6.0", "@testing-library/jest-dom": "^4.2.4", "@testing-library/react": "^9.3.2", "@testing-library/user-event": "^7.1.2", @@ -12,10 +14,13 @@ "react-accessible-accordion": "^4.0.0", "react-dom": "^16.13.0", "react-icons": "^4.6.0", + "react-image-size": "^2.4.0", + "react-responsive-carousel": "^3.2.23", "react-router-dom": "^5.1.2", "react-router-hash-link": "^1.2.2", "react-scripts": "3.4.0", - "react-wavify": "^1.3.0" + "react-wavify": "^1.3.0", + "swiper": "^11.1.14" }, "scripts": { "predeploy": "npm run build", diff --git a/public/index.html b/public/index.html index 6de67bf..ea1a1ea 100644 --- a/public/index.html +++ b/public/index.html @@ -3,6 +3,8 @@ + +