From 13e58ebad7df51422a26ea5520c3f23a78bf987d Mon Sep 17 00:00:00 2001
From: "Lahu S. Andhale" <111334418+Lahu19@users.noreply.github.com>
Date: Wed, 27 Mar 2024 21:40:17 +0530
Subject: [PATCH] Lahu did changes in 3 files
---
src/components/blogs.tsx | 2 +-
src/components/communityPartners.tsx | 21 ++++--
src/components/companies.tsx | 9 ++-
src/constants/index.js | 105 +++++++++++++++++++++++++++
4 files changed, 128 insertions(+), 9 deletions(-)
create mode 100644 src/constants/index.js
diff --git a/src/components/blogs.tsx b/src/components/blogs.tsx
index d1dbb04..c59c77c 100644
--- a/src/components/blogs.tsx
+++ b/src/components/blogs.tsx
@@ -5,7 +5,7 @@ const Blogs = () => {
Community Events
-

+
diff --git a/src/components/communityPartners.tsx b/src/components/communityPartners.tsx
index 5b809fe..7e9a7eb 100644
--- a/src/components/communityPartners.tsx
+++ b/src/components/communityPartners.tsx
@@ -1,5 +1,5 @@
import React from "react";
-
+import {communityData} from "../constants/index"
const CommunityPartners = () => {
return (
@@ -22,7 +22,7 @@ const CommunityPartners = () => {
Here is a glimpse of the program from 2022 & 2023!
*/}
-
+ {/*
*/}
+ {/* Modified code above code by Lahu19 */}
+
+ {communityData.map((card, index) => (
+
+

+
+ ))}
-
diff --git a/src/components/companies.tsx b/src/components/companies.tsx
index 8736fb8..dc57be6 100644
--- a/src/components/companies.tsx
+++ b/src/components/companies.tsx
@@ -1,6 +1,6 @@
// import "react-responsive-carousel/lib/styles/carousel.min.css"; // requires a loader
// import { Carousel } from "react-responsive-carousel";
-
+import {companiesData} from "../constants/index"
const Companies = () => {
return (
@@ -11,7 +11,7 @@ const Companies = () => {
);
diff --git a/src/constants/index.js b/src/constants/index.js
new file mode 100644
index 0000000..6dad4e3
--- /dev/null
+++ b/src/constants/index.js
@@ -0,0 +1,105 @@
+export const communityData = [
+ {
+ id: "0",
+ imageUrl: "/images/DPGA.svg",
+ },
+ {
+ id: "1",
+ imageUrl: "/images/Github.png",
+ },
+ {
+ id: "2",
+ imageUrl: "/images/oni.jpg",
+ },
+ {
+ id: "3",
+ imageUrl: "/images/bmgf.png",
+ },
+ {
+ id: "4",
+ imageUrl: "/images/Samagra.png",
+ },
+ ];
+ export const companiesData = [
+ {
+ id: "0",
+ imageUrl: "/images/organisations/avanti.png",
+ },
+ {
+ id: "1",
+ imageUrl: "/images/organisations/dhiway.png",
+ },
+ {
+ id: "2",
+ imageUrl: "/images/organisations/digital-green.png",
+ },
+ {
+ id: "3",
+ imageUrl: "/images/organisations/egov.png",
+ },
+ {
+ id: "4",
+ imageUrl: "/images/organisations/ek-step.png",
+ },
+ {
+ id: "5",
+ imageUrl: "/images/organisations/fide.png",
+ },
+ {
+ id: "6",
+ imageUrl: "/images/organisations/meity.png",
+ },
+ {
+ id: "7",
+ imageUrl: "/images/organisations/nha.png",
+ },
+ {
+ id: "8",
+ imageUrl: "/images/organisations/reap-benefit.png",
+ },
+
+ {
+ id: "9",
+ imageUrl: "/images/organisations/sahaj.png",
+ },
+ {
+ id: "10",
+ imageUrl: "/images/organisations/samagra-x.png",
+ },
+ {
+ id: "11",
+ imageUrl: "/images/organisations/samanvay.png",
+ },
+ {
+ id: "12",
+ imageUrl: "/images/organisations/sanketika.png",
+ },
+ {
+ id: "13",
+ imageUrl: "/images/organisations/shikshalokam.png",
+ },
+ {
+ id: "14",
+ imageUrl: "/images/organisations/tarento.png",
+ },
+ {
+ id: "15",
+ imageUrl: "/images/organisations/tech4dev.png",
+ },
+ {
+ id: "16",
+ imageUrl: "/images/organisations/tekdi.png",
+ },
+ {
+ id: "17",
+ imageUrl: "/images/organisations/thoughtworks.png",
+ },
+ {
+ id: "18",
+ imageUrl: "/images/organisations/tibil.png",
+ },
+ {
+ id: "19",
+ imageUrl: "/images/organisations/trustin.png",
+ },
+ ];
\ No newline at end of file