@@ -50,16 +50,18 @@ const TimelineStep: React.FC<TimelineStepProps> = ({
5050 < div className = "bg-[#D4B062] p-2 rounded-full border-2 border-[#D4B062] text-white mb-3 inline-flex" >
5151 { icon }
5252 </ div >
53- < div className = "bg-white p-5 rounded-lg shadow-md" >
54- < h3 className = "text-lg font-bold text-magazine-navy mb-2" > { title } </ h3 >
55- < p className = "text-gray-600 text-sm leading-relaxed" >
53+ < div className = "bg-white dark:bg-gray-800 p-5 rounded-lg shadow-md" >
54+ < h3 className = "text-lg font-bold text-magazine-navy dark:text-gray-100 mb-2" >
55+ { title }
56+ </ h3 >
57+ < p className = "text-gray-600 dark:text-gray-300 text-sm leading-relaxed" >
5658 { description }
5759 { link && (
5860 < a
5961 href = { link . url }
6062 target = "_blank"
6163 rel = "noopener noreferrer"
62- className = "text-[#D4B062] hover:underline ml-1 inline-flex items-center"
64+ className = "text-[#D4B062] hover:underline hover:text-[#e0c17d] dark:text-[#e0c17d] dark:hover:text-[#f0d18d] ml-1 inline-flex items-center"
6365 >
6466 { link . text } < ChevronRight className = "h-3 w-3 ml-1" />
6567 </ a >
@@ -72,18 +74,18 @@ const TimelineStep: React.FC<TimelineStepProps> = ({
7274 { isLeft ? (
7375 < >
7476 < div className = "w-1/2 pr-8 mb-0 text-right" >
75- < div className = "bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition-shadow duration-300" >
76- < h3 className = "text-xl font-bold text-magazine-navy mb-2" >
77+ < div className = "bg-white dark:bg-gray-800 p-6 rounded-lg shadow-md hover:shadow-lg transition-shadow duration-300" >
78+ < h3 className = "text-xl font-bold text-magazine-navy dark:text-gray-100 mb-2" >
7779 { title }
7880 </ h3 >
79- < p className = "text-gray-600 leading-relaxed" >
81+ < p className = "text-gray-600 dark:text-gray-300 leading-relaxed" >
8082 { description }
8183 { link && (
8284 < a
8385 href = { link . url }
8486 target = "_blank"
8587 rel = "noopener noreferrer"
86- className = "text-[#D4B062] hover:underline ml-1 inline-flex items-center"
88+ className = "text-[#D4B062] hover:text-[#e0c17d] dark:text-[#e0c17d] dark:hover:text-[#f0d18d] hover: underline ml-1 inline-flex items-center"
8789 >
8890 { link . text } < ChevronRight className = "h-3 w-3 ml-1" />
8991 </ a >
@@ -99,7 +101,7 @@ const TimelineStep: React.FC<TimelineStepProps> = ({
99101 < div className = "bg-[#D4B062] p-2 rounded-full border-2 border-[#D4B062] text-white mr-3" >
100102 { icon }
101103 </ div >
102- < span className = "text-magazine-navy font-bold text-lg" >
104+ < span className = "text-magazine-navy dark:text-gray-100 font-bold text-lg" >
103105 { title . split ( ' ' ) [ 0 ] }
104106 </ span >
105107 </ motion . div >
@@ -112,7 +114,7 @@ const TimelineStep: React.FC<TimelineStepProps> = ({
112114 className = "flex items-center justify-end"
113115 whileHover = { { x : - 5 } }
114116 >
115- < span className = "text-magazine-navy font-bold text-lg mr-3" >
117+ < span className = "text-magazine-navy dark:text-gray-100 font-bold text-lg mr-3" >
116118 { title . split ( ' ' ) [ 0 ] }
117119 </ span >
118120 < div className = "bg-[#D4B062] p-2 rounded-full border-2 border-[#D4B062] text-white" >
@@ -124,18 +126,18 @@ const TimelineStep: React.FC<TimelineStepProps> = ({
124126 < span className = "text-white font-bold" > { step } </ span >
125127 </ div >
126128 < div className = "w-1/2 pl-8" >
127- < div className = "bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition-shadow duration-300" >
128- < h3 className = "text-xl font-bold text-magazine-navy mb-2" >
129+ < div className = "bg-white dark:bg-gray-800 p-6 rounded-lg shadow-md hover:shadow-lg transition-shadow duration-300" >
130+ < h3 className = "text-xl font-bold text-magazine-navy dark:text-gray-100 mb-2" >
129131 { title }
130132 </ h3 >
131- < p className = "text-gray-600 leading-relaxed" >
133+ < p className = "text-gray-600 dark:text-gray-300 leading-relaxed" >
132134 { description }
133135 { link && (
134136 < a
135137 href = { link . url }
136138 target = "_blank"
137139 rel = "noopener noreferrer"
138- className = "text-[#D4B062] hover:underline ml-1 inline-flex items-center"
140+ className = "text-[#D4B062] hover:text-[#e0c17d] dark:text-[#e0c17d] dark:hover:text-[#f0d18d] hover: underline ml-1 inline-flex items-center"
139141 >
140142 { link . text } < ChevronRight className = "h-3 w-3 ml-1" />
141143 </ a >
@@ -165,23 +167,25 @@ const RoomCard: React.FC<RoomCardProps> = ({ link, getIcon }) => (
165167 key = { link . id }
166168 variants = { statCard }
167169 whileHover = "hover"
168- className = "bg-white rounded-xl shadow-md overflow-hidden border border-gray-100 hover:shadow-lg transition-all duration-300 h-full"
170+ className = "bg-white dark:bg-gray-800 rounded-xl shadow-md overflow-hidden border border-gray-100 dark:border-gray-700 hover:shadow-lg transition-all duration-300 h-full"
169171 >
170172 < div className = "p-4 sm:p-6 flex flex-col h-full" >
171173 < div className = "flex items-center gap-3 mb-4" >
172174 < div className = "bg-[#D4B062] p-2 sm:p-3 rounded-full text-white flex-shrink-0" >
173175 { getIcon ( link . icon ) }
174176 </ div >
175- < h3 className = "font-bold text-lg sm:text-xl" > { link . title } </ h3 >
177+ < h3 className = "font-bold text-lg sm:text-xl text-magazine-navy dark:text-gray-100" >
178+ { link . title }
179+ </ h3 >
176180 </ div >
177- < p className = "text-gray-600 mb-4 sm:mb-6 leading-relaxed text-sm sm:text-base flex-grow" >
181+ < p className = "text-gray-600 dark:text-gray-300 mb-4 sm:mb-6 leading-relaxed text-sm sm:text-base flex-grow" >
178182 { link . description }
179183 </ p >
180184 < motion . a
181185 href = { link . url }
182186 target = "_blank"
183187 rel = "noopener noreferrer"
184- className = "inline-flex items-center text-[#D4B062] hover:text-magazine-navy transition-colors font-medium mt-auto"
188+ className = "inline-flex items-center text-[#D4B062] hover:text-[#e0c17d] dark:text-[#e0c17d] dark:hover:text-[#f0d18d] transition-colors font-medium mt-auto"
185189 whileHover = { { x : 5 } }
186190 >
187191 Join Room < ExternalLink className = "ml-2 h-4 w-4" />
@@ -246,7 +250,7 @@ const Matrix: React.FC = () => {
246250 ] ;
247251
248252 return (
249- < div className = "min-h-screen flex flex-col font-sans bg-[#FFFEF9]" >
253+ < div className = "min-h-screen flex flex-col font-sans bg-[#FFFEF9] dark:bg-gray-900 " >
250254 < Header />
251255 < main className = "flex-grow" >
252256 { /* Hero Section*/ }
@@ -307,12 +311,12 @@ const Matrix: React.FC = () => {
307311 whileInView = "visible"
308312 viewport = { { once : true , margin : '-100px' } }
309313 variants = { fadeIn }
310- className = "py-12 sm:py-16 bg-[#FFFEF9]"
314+ className = "py-12 sm:py-16 bg-[#FFFEF9] dark:bg-gray-900 "
311315 >
312316 < div className = "container mx-auto px-4 md:px-6" >
313317 < div className = "max-w-3xl mx-auto" >
314318 < motion . h2
315- className = "text-2xl sm:text-3xl font-bold mb-6 text-magazine-navy border-b-2 border-[#D4B062] pb-2 inline-block"
319+ className = "text-2xl sm:text-3xl font-bold mb-6 text-magazine-navy dark:text-gray-100 border-b-2 border-[#D4B062] pb-2 inline-block"
316320 variants = { fadeIn }
317321 >
318322 What is Matrix?
@@ -350,11 +354,11 @@ const Matrix: React.FC = () => {
350354 whileInView = "visible"
351355 viewport = { { once : true , margin : '-100px' } }
352356 variants = { staggerContainer }
353- className = "py-12 sm:py-16 md:py-24 bg-[#FFFEF9]"
357+ className = "py-12 sm:py-16 md:py-24 bg-[#FFFEF9] dark:bg-gray-900 "
354358 >
355359 < div className = "container mx-auto px-4 md:px-6" >
356360 < motion . div className = "text-center mb-8 sm:mb-12" variants = { fadeIn } >
357- < h2 className = "text-2xl sm:text-3xl font-bold mb-3 text-magazine-navy" >
361+ < h2 className = "text-2xl sm:text-3xl font-bold mb-3 text-magazine-navy dark:text-gray-100 " >
358362 Join Our Matrix Rooms
359363 </ h2 >
360364 < div className = "w-16 h-1 bg-[#D4B062] mx-auto rounded-full" > </ div >
@@ -375,11 +379,11 @@ const Matrix: React.FC = () => {
375379 whileInView = "visible"
376380 viewport = { { once : true , margin : '-100px' } }
377381 variants = { staggerContainer }
378- className = "py-12 sm:py-16 bg-[#FFFEF9]"
382+ className = "py-12 sm:py-16 bg-[#FFFEF9] dark:bg-gray-900 "
379383 >
380384 < div className = "container mx-auto px-4 md:px-6" >
381385 < motion . div className = "text-center mb-8 sm:mb-12" variants = { fadeIn } >
382- < h2 className = "text-2xl sm:text-3xl font-bold mb-3 text-magazine-navy" >
386+ < h2 className = "text-2xl sm:text-3xl font-bold mb-3 text-magazine-navy dark:text-gray-100 " >
383387 How to Get Started with Matrix
384388 </ h2 >
385389 < div className = "w-16 h-1 bg-[#D4B062] mx-auto rounded-full" > </ div >
0 commit comments