11import React from 'react' ;
22import { motion } from 'framer-motion' ;
33import { Button } from '@/components/ui/button' ;
4- import { CircleDollarSign , Calendar , MessagesSquare , Users , ShieldCheck , Database , Coins } from 'lucide-react' ;
4+ import { CircleDollarSign , Calendar , MessagesSquare , Database , Globe } from 'lucide-react' ;
5+ import { getCurrentChineseYear } from '@/lib/chineseCalendar' ;
6+
57const features = [ {
68 icon : < CircleDollarSign className = "h-6 w-6 text-alien-gold" /> ,
79 title : "Token Governance" ,
@@ -15,28 +17,24 @@ const features = [{
1517 title : "Community Forums" ,
1618 description : "Contribute to ongoing discussions and knowledge sharing in our decentralized forums."
1719} ] ;
20+
1821const stats = [ {
19- icon : < Users className = "h-8 w-8" /> ,
20- value : "10,000+" ,
21- label : "DAO Members" ,
22- color : "text-alien-gold"
23- } , {
24- icon : < ShieldCheck className = "h-8 w-8" /> ,
25- value : "99.9%" ,
26- label : "Protocol Security" ,
27- color : "text-alien-green"
22+ value : "195" ,
23+ label : "Countries - DAO Members" ,
24+ icon : Globe ,
25+ color : "text-alien-green" ,
26+ planetIcon : true
2827} , {
29- icon : < Database className = "h-8 w-8" /> ,
30- value : "250 TB " ,
31- label : "Data Secured" ,
28+ value : "161 YB" ,
29+ label : "Data Storage " ,
30+ icon : Database ,
3231 color : "text-alien-gold"
33- } , {
34- icon : < Coins className = "h-8 w-8" /> ,
35- value : "$125M" ,
36- label : "Total Value Locked" ,
37- color : "text-alien-green"
3832} ] ;
33+
3934const ParticipationSection = ( ) => {
35+ const chineseYear = getCurrentChineseYear ( ) ;
36+ const currentYear = new Date ( ) . getFullYear ( ) ;
37+
4038 return < section id = "participate" className = "py-20 relative" >
4139 < div className = "container mx-auto px-4 flex flex-col items-center text-center" >
4240 { /* Título */ }
@@ -91,9 +89,9 @@ const ParticipationSection = () => {
9189 < Button className = "bg-alien-gold hover:bg-alien-gold-light text-alien-space-dark font-medium px-8 py-6 text-lg rounded-full mb-12 font-nasalization" >
9290 Connect & Participate
9391 </ Button >
94- { /* Stats Grid - SIEMPRE centrado */ }
92+ { /* Stats Grid - MORE TRANSPARENT */ }
9593 < div className = "flex justify-center mt-12 w-full" >
96- < div className = "grid grid-cols-2 md:grid-cols-4 gap-6 text-center max-w-3xl w-full" >
94+ < div className = "grid grid-cols-1 md:grid-cols-2 gap-6 text-center max-w-2xl w-full" >
9795 { stats . map ( ( stat , index ) => < motion . div key = { index } initial = { {
9896 opacity : 0 ,
9997 y : 20
@@ -105,9 +103,20 @@ const ParticipationSection = () => {
105103 delay : index * 0.1
106104 } } viewport = { {
107105 once : true
108- } } className = "text-center" >
109- < div className = { `mx-auto mb-4 p-3 rounded-full bg-alien-space-dark w-fit ${ stat . color } ` } >
110- { stat . icon }
106+ } } className = "bg-alien-space-dark/30 backdrop-blur-sm p-6 rounded-xl border border-alien-gold/20 hover:border-alien-gold/40 transition-all duration-300" >
107+ < div className = "mx-auto mb-4" >
108+ { stat . planetIcon ? (
109+ < div className = "h-16 w-16 mx-auto" >
110+ < img
111+ src = "https://images.unsplash.com/photo-1614730321146-b6fa6a46bcb4?w=150& h = 150 & fit = crop "
112+ alt = "Planet Earth"
113+ className = "w-full h-full object-cover rounded-full animate-pulse"
114+ style = { { filter : 'drop-shadow(0 0 12px rgba(34, 197, 94, 0.6))' } }
115+ />
116+ </ div >
117+ ) : (
118+ < stat . icon className = { `h-16 w-16 ${ stat . color } mx-auto` } />
119+ ) }
111120 </ div >
112121 < motion . div initial = { {
113122 scale : 0.8
@@ -122,11 +131,35 @@ const ParticipationSection = () => {
122131 } } className = { `text-3xl font-bold mb-2 ${ stat . color } font-nasalization` } >
123132 { stat . value }
124133 </ motion . div >
125- < div className = "text-gray-300 text-sm" > { stat . label } </ div >
134+ < div className = "text-gray-300 text-sm font-[Exo] " > { stat . label } </ div >
126135 </ motion . div > ) }
127136 </ div >
128137 </ div >
138+
139+ { /* Year Display with Chinese Calendar */ }
140+ < motion . div
141+ initial = { { opacity : 0 , y : 20 } }
142+ whileInView = { { opacity : 1 , y : 0 } }
143+ transition = { { duration : 0.6 , delay : 0.4 } }
144+ viewport = { { once : true } }
145+ className = "mt-8 bg-alien-space-dark/30 backdrop-blur-sm p-6 rounded-xl border border-alien-gold/20 max-w-md"
146+ >
147+ < div className = "flex items-center justify-center gap-4" >
148+ < span className = "text-4xl" style = { { filter : `drop-shadow(0 0 8px ${ chineseYear . color } )` } } >
149+ { chineseYear . icon }
150+ </ span >
151+ < div className = "text-left" >
152+ < p className = "text-alien-gold font-bold text-xl font-nasalization" >
153+ Year { currentYear } / { chineseYear . year }
154+ </ p >
155+ < p className = "text-sm font-[Exo]" style = { { color : chineseYear . color } } >
156+ { chineseYear . element } { chineseYear . animal }
157+ </ p >
158+ </ div >
159+ </ div >
160+ </ motion . div >
129161 </ div >
130162 </ section > ;
131163} ;
132- export default ParticipationSection ;
164+
165+ export default ParticipationSection ;
0 commit comments