@@ -21,7 +21,7 @@ import {
2121
2222const NotFoundPage : React . FC = ( ) => {
2323 return (
24- < div className = "min-h-screen flex flex-col font-sans bg-[#FFFEF9]" >
24+ < div className = "min-h-screen flex flex-col font-sans bg-[#FFFEF9] dark:bg-gray-900 " >
2525 < Header />
2626 < main className = "flex-grow" >
2727 { /* Hero Section */ }
@@ -99,10 +99,10 @@ const NotFoundPage: React.FC = () => {
9999 whileInView = "visible"
100100 viewport = { { once : true , margin : '-100px' } }
101101 variants = { fadeIn }
102- className = "py-16 bg-[#FFFEF9]"
102+ className = "py-16 bg-[#FFFEF9] dark:bg-gray-900 "
103103 >
104104 < div className = "container mx-auto px-4 md:px-6 max-w-4xl" >
105- < div className = "bg-white rounded-xl shadow-lg overflow-hidden border border-gray-100 p-8" >
105+ < div className = "bg-white dark:bg-gray-800 rounded-xl shadow-lg overflow-hidden border border-gray-100 dark:border-gray-700 p-8" >
106106 < div className = "flex flex-col lg:flex-row items-center justify-center" >
107107 < motion . div
108108 className = "w-full lg:w-1/2 flex justify-center mb-8 lg:mb-0"
@@ -186,7 +186,7 @@ const NotFoundPage: React.FC = () => {
186186 className = "w-full lg:w-1/2 lg:pl-8"
187187 transition = { { duration : 0.5 , delay : 0.2 } }
188188 >
189- < h3 className = "font-bold text-2xl text-magazine-navy mb-4 border-b-2 border-[#D4B062] pb-2 inline-block" >
189+ < h3 className = "font-bold text-2xl text-magazine-navy dark:text-white mb-4 border-b-2 border-[#D4B062] pb-2 inline-block" >
190190 Connection Status
191191 </ h3 >
192192
@@ -196,15 +196,19 @@ const NotFoundPage: React.FC = () => {
196196 whileHover = { { x : 5 } }
197197 >
198198 < div className = "w-3 h-3 bg-red-500 rounded-full mr-3 animate-pulse" > </ div >
199- < p className = "text-gray-700" > Resource not found</ p >
199+ < p className = "text-gray-700 dark:text-gray-300" >
200+ Resource not found
201+ </ p >
200202 </ motion . div >
201203
202204 < motion . div
203205 className = "flex items-center"
204206 whileHover = { { x : 5 } }
205207 >
206208 < div className = "w-3 h-3 bg-green-500 rounded-full mr-3" > </ div >
207- < p className = "text-gray-700" > Server connection: Active</ p >
209+ < p className = "text-gray-700 dark:text-gray-300" >
210+ Server connection: Active
211+ </ p >
208212 </ motion . div >
209213
210214 < motion . div className = "mt-6" variants = { bounce } >
@@ -234,22 +238,22 @@ const NotFoundPage: React.FC = () => {
234238 whileInView = "visible"
235239 viewport = { { once : true , margin : '-100px' } }
236240 variants = { staggerContainer }
237- className = "py-16 bg-[#FFFEF9]"
241+ className = "py-16 bg-[#FFFEF9] dark:bg-gray-900 "
238242 >
239243 < div className = "container mx-auto px-4 md:px-6" >
240244 < motion . h2
241245 variants = { subtleRise }
242- className = "text-3xl font-bold mb-12 text-center text-magazine-navy border-b-2 border-[#D4B062] pb-2 inline-block mx-auto"
246+ className = "text-3xl font-bold mb-12 text-center text-magazine-navy dark:text-white border-b-2 border-[#D4B062] pb-2 inline-block mx-auto"
243247 >
244248 What Happened?
245249 </ motion . h2 >
246250
247251 < div className = "max-w-4xl mx-auto mb-16" >
248252 < motion . div
249253 variants = { fadeIn }
250- className = "bg-white p-6 rounded-xl shadow-md border border-gray-100"
254+ className = "bg-white dark:bg-gray-800 p-6 rounded-xl shadow-md border border-gray-100 dark:border-gray-700 "
251255 >
252- < p className = "text-gray-600 mb-6 leading-relaxed" >
256+ < p className = "text-gray-600 dark:text-gray-300 mb-6 leading-relaxed" >
253257 The page you're looking for might have been removed, had its
254258 name changed, or is temporarily unavailable. This could be due
255259 to:
@@ -269,7 +273,9 @@ const NotFoundPage: React.FC = () => {
269273 variants = { cardFadeIn }
270274 >
271275 < div className = "mr-3 mt-1 text-[#D4B062]" > •</ div >
272- < p className = "text-gray-700" > { reason } </ p >
276+ < p className = "text-gray-700 dark:text-gray-300" >
277+ { reason }
278+ </ p >
273279 </ motion . div >
274280 ) ) }
275281 </ div >
@@ -278,7 +284,7 @@ const NotFoundPage: React.FC = () => {
278284
279285 < motion . h2
280286 variants = { subtleRise }
281- className = "text-3xl font-bold mb-12 text-center text-magazine-navy"
287+ className = "text-3xl font-bold mb-12 text-center text-magazine-navy dark:text-white "
282288 >
283289 What You Can Do
284290 </ motion . h2 >
@@ -308,18 +314,18 @@ const NotFoundPage: React.FC = () => {
308314 custom = { index }
309315 variants = { statCard }
310316 whileHover = "hover"
311- className = "bg-white rounded-xl shadow-md overflow-hidden border border-gray-100"
317+ className = "bg-white dark:bg-gray-800 rounded-xl shadow-md overflow-hidden border border-gray-100 dark:border-gray-700 "
312318 >
313319 < div className = "p-6" >
314320 < div className = "flex items-center gap-4 mb-5" >
315321 < div className = "bg-[#D4B062] p-3 rounded-full border-2 border-[#D4B062] text-white" >
316322 { item . icon }
317323 </ div >
318- < h3 className = "font-bold text-xl text-magazine-navy" >
324+ < h3 className = "font-bold text-xl text-magazine-navy dark:text-white " >
319325 { item . title }
320326 </ h3 >
321327 </ div >
322- < p className = "text-gray-600 mb-6 leading-relaxed" >
328+ < p className = "text-gray-600 dark:text-gray-300 mb-6 leading-relaxed" >
323329 { item . description }
324330 </ p >
325331 { item . action ? (
0 commit comments