1- import Marquee from ' react-fast-marquee'
2- import Card from ' @/components/Card' ;
1+ import Marquee from " react-fast-marquee" ;
2+ import Card from " @/components/Card" ;
33
44export default function AboutSection ( ) {
55 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' }
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" } ,
1010 ] ;
1111
1212 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' }
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" } ,
1717 ] ;
1818
1919 return (
2020 < >
2121 < 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"
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+ } }
5430 >
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 >
31+ ABOUT US
32+ </ h1 >
6533
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 >
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" >
37+ Codex is the coding club at{ " " }
38+ </ span >
39+ < span className = "text-text-aboutusorange" >
40+ Symbiosis Institute of Technology
41+ </ span >
42+ < span className = "text-text-aboutuslight" >
43+ { " " }
44+ that brings together students passionate about technology and
45+ programming. Our club is committed to creating an engaging
46+ environment{ " " }
47+ </ span >
48+ < span className = "text-text-aboutusdark" >
49+ where members can learn, collaborate, and grow their coding
50+ expertise through a variety of activities and events.
51+ </ span >
52+ </ p >
53+ < button
54+ type = "button"
55+ className = "absolute -bottom-6 right-0 text-xl underline text-text-aboutuslight hover:text-text-light transition-colors"
56+ >
57+ Know More
58+ </ button >
59+ </ div >
8360 </ div >
61+ </ section >
62+ < div className = "relative space-y-8 max-w-full px-0 overflow-hidden" >
63+ < div className = "absolute bottom-96 -right-2 w-24 h-24 bg-white rounded-full opacity-100" />
64+ < Marquee
65+ gradient
66+ gradientColor = { [ 28 , 28 , 28 ] }
67+ speed = { 40 }
68+ className = "overflow-hidden w-full"
69+ >
70+ { images1 . map ( ( image ) => (
71+ < Card
72+ key = { image . id }
73+ className = "mx-4 overflow-hidden bg-zinc-800 border-zinc-700"
74+ >
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+
84+ < Marquee
85+ gradient
86+ gradientColor = { [ 28 , 28 , 28 ] }
87+ speed = { 40 }
88+ direction = "right"
89+ className = "overflow-hidden w-full"
90+ >
91+ { images2 . map ( ( image ) => (
92+ < Card
93+ key = { image . id }
94+ className = "mx-4 overflow-hidden bg-zinc-800 border-zinc-700"
95+ >
96+ < img
97+ src = { image . src }
98+ alt = { `Gallery ${ image . id } ` }
99+ className = "h-[150px] w-[150px] md:h-[250px] md:w-[250px] object-cover hover:scale-105 transition-transform duration-300"
100+ />
101+ </ Card >
102+ ) ) }
103+ </ Marquee >
104+ </ div >
84105 </ >
85106 ) ;
86- }
107+ }
0 commit comments