1+ import Marquee from 'react-fast-marquee'
2+ import Card from '@/components/Card' ;
3+
4+ export default function AboutSection ( ) {
5+ const images1 = [
6+ { src : '/placeholder.svg?height=250&width=250' , id : 'image1-1' } ,
7+ { src : '/placeholder.svg?height=250&width=250' , id : 'image1-2' } ,
8+ { src : '/placeholder.svg?height=250&width=250' , id : 'image1-3' } ,
9+ { src : '/placeholder.svg?height=250&width=250' , id : 'image1-4' }
10+ ] ;
11+
12+ const images2 = [
13+ { src : '/placeholder.svg?height=250&width=250' , id : 'image2-1' } ,
14+ { src : '/placeholder.svg?height=250&width=250' , id : 'image2-2' } ,
15+ { src : '/placeholder.svg?height=250&width=250' , id : 'image2-3' } ,
16+ { src : '/placeholder.svg?height=250&width=250' , id : 'image2-4' }
17+ ] ;
18+
19+ return (
20+ < >
21+ < section className = "relative min-h-fit bg-secondary-dark text-white py-12 px-4 md:px-6 lg:px-8 overflow-hidden" >
22+ < div className = "absolute top-4 -left-1 w-8 h-8 bg-white rounded-full opacity-100" />
23+ < div className = "absolute -top-2 right-20 w-20 h-20 bg-primary-dark rounded-full opacity-100 z-10" />
24+ < div className = "max-w-full mx-auto px-24 relative z-20" >
25+ < h1
26+ className = "text-secondary-dark shadow-black font-poppins font-extrabold text-4xl md:text-6xl lg:text-8xl mb-12 relative z-20"
27+ style = { {
28+ WebkitTextStroke : '2px #737373'
29+ } }
30+ >
31+ ABOUT US
32+ </ h1 >
33+
34+ < div className = "mb-16 max-w-full relative" >
35+ < p className = "text-xl md:text-3xl font-poppins font-bold leading-relaxed" >
36+ < span className = "text-text-aboutuslight" > Codex is the coding club at </ span >
37+ < span className = "text-text-aboutusorange" > Symbiosis Institute of Technology</ span >
38+ < span className = "text-text-aboutuslight" > that brings together students passionate about technology and programming. Our club is committed to creating an engaging environment </ span >
39+ < span className = "text-text-aboutusdark" > where members can learn, collaborate, and grow their coding expertise through a variety of activities and events.</ span >
40+ </ p >
41+ < button type = "button" className = "absolute -bottom-6 right-0 text-xl underline text-text-aboutuslight hover:text-text-light transition-colors" >
42+ Know More
43+ </ button >
44+ </ div >
45+ </ div >
46+ </ section >
47+ < div className = "space-y-8 w-full px-0" >
48+ < div className = "absolute bottom-0 -right-2 w-24 h-24 bg-white rounded-full opacity-100" />
49+ < Marquee
50+ gradient
51+ gradientColor = { [ 28 , 28 , 28 ] }
52+ speed = { 40 }
53+ className = "overflow-hidden w-full"
54+ >
55+ { images1 . map ( ( image ) => (
56+ < Card key = { image . id } className = "mx-4 overflow-hidden bg-zinc-800 border-zinc-700" >
57+ < img
58+ src = { image . src }
59+ alt = { `Gallery ${ image . id } ` }
60+ className = "h-[150px] w-[150px] md:h-[250px] md:w-[250px] object-cover hover:scale-105 transition-transform duration-300"
61+ />
62+ </ Card >
63+ ) ) }
64+ </ Marquee >
65+
66+ < Marquee
67+ gradient
68+ gradientColor = { [ 28 , 28 , 28 ] }
69+ speed = { 40 }
70+ direction = "right"
71+ className = "overflow-hidden w-full"
72+ >
73+ { images2 . map ( ( image ) => (
74+ < Card key = { image . id } className = "mx-4 overflow-hidden bg-zinc-800 border-zinc-700" >
75+ < img
76+ src = { image . src }
77+ alt = { `Gallery ${ image . id } ` }
78+ className = "h-[150px] w-[150px] md:h-[250px] md:w-[250px] object-cover hover:scale-105 transition-transform duration-300"
79+ />
80+ </ Card >
81+ ) ) }
82+ </ Marquee >
83+ </ div >
84+ </ >
85+ ) ;
86+ }
0 commit comments