11import React from 'react' ;
2- import { FiTarget , FiEye , FiUsers } from ' react-icons/fi' ;
2+ import { IoMdInformationCircle } from " react-icons/io" ;
33
44const AboutSection = ( ) => {
5- const features = [
6- {
7- icon : < FiTarget className = "w-6 h-6" /> ,
8- title : "Clear Mission" ,
9- description : "Bridge theory and practice through visualization"
10- } ,
11- {
12- icon : < FiEye className = "w-6 h-6" /> ,
13- title : "Visual Learning" ,
14- description : "See algorithms come to life with animations"
15- } ,
16- {
17- icon : < FiUsers className = "w-6 h-6" /> ,
18- title : "Community Focused" ,
19- description : "Built for students and developers"
20- }
21- ] ;
22-
235 return (
24- < section className = "relative py-12 bg-white dark:bg-black overflow-hidden" >
25- { /* Floating background elements */ }
26- < div className = "absolute inset-0 overflow-hidden pointer-events-none" >
27- < div className = "absolute top-0 left-0 w-64 h-64 bg-blue-400/10 rounded-full filter blur-3xl -translate-x-1/2 -translate-y-1/2" > </ div >
28- < div className = "absolute bottom-0 right-0 w-96 h-96 bg-blue-600/10 rounded-full filter blur-3xl translate-x-1/2 translate-y-1/2" > </ div >
29- { /* Subtle grid pattern */ }
30- < div className = "absolute inset-0 opacity-10 dark:opacity-5 bg-[size:40px_40px] [mask-image:linear-gradient(to_bottom,transparent,white_20%,white_80%,transparent)]"
31- style = { { backgroundImage : 'radial-gradient(currentColor 1px, transparent 1px)' } } >
32- </ div >
33- </ div >
34-
6+ < section className = "relative py-10 bg-white dark:bg-neutral-900 overflow-hidden" >
357 < div className = "container mx-auto px-6 relative z-10" >
368 { /* Section Header */ }
37- < div className = "max-w-2xl mx-auto text-center mb-16" >
38- < span className = "inline-block text-blue-500 dark:text-blue-400 text-sm font-semibold tracking-wider uppercase mb-4" >
9+ < div className = "max-w-2xl mx-auto text-center mb-12" >
10+ < span className = "flex items-center justify-center gap-2 text-blue-500 dark:text-blue-400 text-sm font-semibold tracking-wider uppercase mb-4" >
11+ < IoMdInformationCircle className = 'text-xl' />
3912 About The Platform
4013 </ span >
4114 < h2 className = "text-4xl md:text-5xl font-bold text-gray-900 dark:text-white mb-6" >
4215 Revolutionizing < span className = "text-transparent bg-clip-text bg-gradient-to-r from-blue-500 to-blue-600 dark:from-blue-400 dark:to-blue-300" > DSA Learning</ span >
4316 </ h2 >
44- < p className = "text-xl text-gray-600 dark:text-gray-400 leading-relaxed" >
45- Transforming abstract concepts into tangible understanding through interactive visualization.
46- </ p >
47- </ div >
48-
49- { /* Feature Grid */ }
50- < div className = "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 mb-16" >
51- { features . map ( ( feature , index ) => (
52- < div
53- key = { index }
54- className = "bg-white/50 dark:bg-gray-800/50 backdrop-blur-sm border border-gray-200 dark:border-gray-700 rounded-2xl p-6 transition-all duration-300 hover:shadow-lg hover:-translate-y-1"
55- >
56- < div className = "w-12 h-12 bg-blue-100 dark:bg-blue-900/30 rounded-xl flex items-center justify-center text-blue-500 dark:text-blue-400 mb-4" >
57- { feature . icon }
58- </ div >
59- < h3 className = "text-xl font-semibold text-gray-900 dark:text-white mb-2" >
60- { feature . title }
61- </ h3 >
62- < p className = "text-gray-600 dark:text-gray-400" >
63- { feature . description }
64- </ p >
65- </ div >
66- ) ) }
6717 </ div >
6818
6919 { /* Mission Statement */ }
70- < div className = "max-w-4xl mx-auto bg-white dark:bg-gray-800/50 backdrop-blur-sm border border-gray-200 dark:border-gray-700 rounded-3xl p-8 md:p-10 shadow-lg overflow-hidden" >
20+ < div className = "max-w-6xl mx-auto bg-white dark:bg-neutral-950 backdrop-blur-sm border border-gray-200 dark:border-gray-700 rounded-3xl p-8 md:p-10 shadow-lg overflow-hidden" >
7121 < div className = "relative" >
7222 { /* Decorative element */ }
7323 < div className = "absolute -top-20 -right-20 w-40 h-40 bg-blue-500/10 rounded-full filter blur-xl" > </ div >
@@ -85,22 +35,6 @@ const AboutSection = () => {
8535 </ div >
8636 </ div >
8737 </ div >
88-
89- { /* CTA */ }
90- < div className = "text-center mt-16" >
91- < a href = '/#features' >
92- < button className = "relative px-8 py-4 bg-gradient-to-r from-blue-500 to-blue-600 hover:from-blue-600 hover:to-blue-700 text-white font-medium rounded-lg transition-all duration-300 shadow-lg hover:shadow-blue-500/30 group overflow-hidden" >
93- < span className = "relative z-10 flex items-center justify-center gap-2" >
94- Explore Features
95- < svg xmlns = "http://www.w3.org/2000/svg" className = "h-5 w-5 group-hover:translate-x-1 transition-transform" fill = "none" viewBox = "0 0 24 24" stroke = "currentColor" >
96- < path strokeLinecap = "round" strokeLinejoin = "round" strokeWidth = { 2 } d = "M14 5l7 7m0 0l-7 7m7-7H3" />
97- </ svg >
98- </ span >
99- < span className = "absolute inset-0 bg-gradient-to-r from-blue-600 to-blue-500 opacity-0 group-hover:opacity-100 transition-opacity duration-300" > </ span >
100- </ button >
101- </ a >
102- </ div >
103-
10438{ /* Divider */ }
10539 < div className = "mt-20 mx-auto h-[1px] max-w-4xl bg-gradient-to-r rounded-sm from-transparent via-blue-200 dark:via-blue-800 to-transparent" > </ div >
10640 </ div >
0 commit comments