From 4ab2077915381ee95215e07b6aa12456476fb22d Mon Sep 17 00:00:00 2001 From: Aritra Konar Date: Mon, 4 Aug 2025 14:23:12 +0000 Subject: [PATCH] --add community partners section --- app/CommunityPartners/page.tsx | 242 ++++++++++++++++++ app/Landing/page.tsx | 2 + .../Assets/Logo/cnh_logo_stacked_epgjd4.png | Bin 0 -> 86365 bytes public/Assets/Logo/logoo 1.png | Bin 0 -> 49532 bytes 4 files changed, 244 insertions(+) create mode 100644 app/CommunityPartners/page.tsx create mode 100644 public/Assets/Logo/cnh_logo_stacked_epgjd4.png create mode 100644 public/Assets/Logo/logoo 1.png diff --git a/app/CommunityPartners/page.tsx b/app/CommunityPartners/page.tsx new file mode 100644 index 0000000..2c77f52 --- /dev/null +++ b/app/CommunityPartners/page.tsx @@ -0,0 +1,242 @@ +"use client"; + +import { Badge } from "@/components/ui/badge"; +import { Button } from "@/components/ui/button"; +import { Card, CardContent } from "@/components/ui/card"; +import Image from "next/image"; + +interface Partner { + id: number; + name: string; + logo: string; + website: string; + description?: string; + status: 'current' | 'past'; +} + +// Sample community partners data - you can modify this to add actual partners +const currentPartners: Partner[] = [ + { + id: 1, + name: "DSU DEVHACK 2.0", + logo: "/Assets/Logo/logoo 1.png", // Using existing logo as placeholder + website: "https://www.dsudevhack2.tech", + description: "DSU DEVHACK 2025 is a national-level hackathon pushing the boundaries of innovation in AI, ML, IoT, Blockchain, Cybersecurity, and Cloud at DSU Harohalli, Banglore, Karnataka.", + status: 'current' + }, +// { +// id: 2, +// name: "Developer Alliance", +// logo: "/Assets/Logo/cj_new_logo_2024.png", // Using existing logo as placeholder +// website: "https://developeralliance.org", +// description: "Connecting developers worldwide", +// status: 'current' +// }, +// { +// id: 3, +// name: "Innovation Network", +// logo: "/Assets/Logo/cj_new_logo_2024.png", // Using existing logo as placeholder +// website: "https://innovationnetwork.io", +// description: "Fostering innovation in tech", +// status: 'current' +// } +]; + +const pastPartners: Partner[] = [ + { + id: 4, + name: "Cloud Native Hooghly", + logo: "/Assets/Logo/cnh_logo_stacked.png", // Using existing logo as placeholder + website: "https://community.cncf.io/cloud-native-hooghly", + description: "CNCF Hooghly Chapter, the dynamic and vibrant local community group affiliated with the prestigious Cloud Native Computing Foundation (CNCF). Our mission is to revolutionize the cloud-native landscape in the Hooghly region by fostering a platform that empowers networking, education, and collaboration.", + status: 'past' + }, + { + id: 5, + name: "Startup Accelerator", + logo: "/Assets/Logo/cj_new_logo_2024.png", // Using existing logo as placeholder + website: "https://startupaccelerator.com", + description: "Helped launch numerous tech startups", + status: 'past' + } +]; + +export default function CommunityPartners() { + const handlePartnerClick = (website: string) => { + window.open(website, '_blank', 'noopener,noreferrer'); + }; + + return ( +
+
+ {/* Section Header */} +
+ + Community Partners + +

+ Our Trusted Partners +

+

+ We collaborate with amazing organizations and communities to create + meaningful impact in the tech ecosystem. +

+
+ + {/* Partners Grid */} +
+ {/* Current Partner - Featured */} +
+
+

+ Our Current Partner +

+
+

+ Happy to be a community partner with DSU DEVHACK 2.0 +

+
+ + {/* Featured Partner Card */} +
+ {currentPartners.map((partner) => ( +
+ {/* Glowing background effect */} +
+ + handlePartnerClick(partner.website)} + > + + {/* Animated border effect */} +
+ + {/* Partner Logo */} +
+
+
+ {`${partner.name} +
+
+ + {/* Partner Name with gradient */} +

+ {partner.name} +

+ + {/* Partner Description */} + {partner.description && ( +

+ {partner.description} +

+ )} + + {/* Visit Website Button */} + +
+
+
+ ))} +
+
+ + {/* Past Partners - Temporarily Disabled */} + {/* +
+
+

+ Past Partners +

+

+ Organizations we've collaborated with in the past +

+
+
+ {pastPartners.map((partner) => ( + handlePartnerClick(partner.website)} + > + +
+
+ {`${partner.name} +
+
+ +

+ {partner.name} +

+ + {partner.description && ( +

+ {partner.description} +

+ )} + + +
+
+ ))} +
+
+ */} +
+ + {/* Call to Action */} +
+
+

+ Interested in Partnering with Us? +

+

+ Join our growing network of community partners and help us build + a stronger tech ecosystem together. +

+ +
+
+
+
+ ); +} diff --git a/app/Landing/page.tsx b/app/Landing/page.tsx index e89d55a..796cc33 100644 --- a/app/Landing/page.tsx +++ b/app/Landing/page.tsx @@ -1,4 +1,5 @@ import About from "../About/page"; +import CommunityPartners from "../CommunityPartners/page"; import Domains from "../Domains/page"; import Footer from "../Footer/page"; import Header from "../Header/page"; @@ -16,6 +17,7 @@ export default function Landing() { +