From dd89cb8227f5ba10bef2dd42f9df3c2e5e3cd677 Mon Sep 17 00:00:00 2001 From: ad1tyayadav Date: Sun, 12 Oct 2025 18:39:46 +0530 Subject: [PATCH] fix: replace bluish gray backgrounds with pure black for dark mode --- src/App.tsx | 2 +- src/components/AboutUs/GoalsSection.tsx | 2 +- src/components/AboutUs/MissionSection.tsx | 2 +- src/components/AboutUs/PrinciplesSection.tsx | 2 +- src/components/AboutUs/ProjectSection.tsx | 2 +- src/components/AboutUs/RoadmapSection.tsx | 2 +- src/components/DeveloperTestimonials.tsx | 2 +- src/components/Donation.tsx | 2 +- src/components/Info.tsx | 2 +- src/components/Stats.tsx | 4 ++-- src/components/Testimonials.tsx | 4 ++-- src/components/Try.tsx | 2 +- src/components/TryMore3D.tsx | 2 +- src/pages/About/AboutUs.tsx | 2 +- src/pages/About/ContactUs.tsx | 4 ++-- src/pages/About/FAQs.tsx | 2 +- src/pages/About/Leadership.tsx | 4 ++-- src/pages/Donate.tsx | 2 +- src/pages/JoinDevelopment.tsx | 2 +- src/pages/MainPage.tsx | 2 +- src/pages/Matrix.tsx | 8 ++++---- src/pages/News/NewsDetailPage.tsx | 4 ++-- src/pages/NotFoundPage.tsx | 6 +++--- src/pages/Products.tsx | 2 +- src/pages/TrySugar.tsx | 2 +- src/pages/Volunteer.tsx | 2 +- src/sections/Header.tsx | 8 ++++---- src/styles/globals.css | 8 ++++---- src/utils/MarkdownRenderer.tsx | 2 +- 29 files changed, 45 insertions(+), 45 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 51b9d660..ce1793a0 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -23,7 +23,7 @@ const App = () => { }, []); return ( -
+
); diff --git a/src/components/AboutUs/GoalsSection.tsx b/src/components/AboutUs/GoalsSection.tsx index 4e8106b8..40152170 100644 --- a/src/components/AboutUs/GoalsSection.tsx +++ b/src/components/AboutUs/GoalsSection.tsx @@ -4,7 +4,7 @@ import { FC } from 'react'; const GoalsSection: FC = () => { return ( -
+
{/* Section header */}
diff --git a/src/components/AboutUs/MissionSection.tsx b/src/components/AboutUs/MissionSection.tsx index 5208979e..2dad9cba 100644 --- a/src/components/AboutUs/MissionSection.tsx +++ b/src/components/AboutUs/MissionSection.tsx @@ -5,7 +5,7 @@ const MissionSection = () => { return (
{/* Section header */} diff --git a/src/components/AboutUs/PrinciplesSection.tsx b/src/components/AboutUs/PrinciplesSection.tsx index 233a1a6e..7b610504 100644 --- a/src/components/AboutUs/PrinciplesSection.tsx +++ b/src/components/AboutUs/PrinciplesSection.tsx @@ -5,7 +5,7 @@ const PrinciplesSection = () => { return (
{/* Section header */} diff --git a/src/components/AboutUs/ProjectSection.tsx b/src/components/AboutUs/ProjectSection.tsx index 7bdc8e81..ca646d17 100644 --- a/src/components/AboutUs/ProjectSection.tsx +++ b/src/components/AboutUs/ProjectSection.tsx @@ -13,7 +13,7 @@ const ProjectsSection = () => { return (
{/* Section header */} diff --git a/src/components/AboutUs/RoadmapSection.tsx b/src/components/AboutUs/RoadmapSection.tsx index 1af1e7a3..a22c1a62 100644 --- a/src/components/AboutUs/RoadmapSection.tsx +++ b/src/components/AboutUs/RoadmapSection.tsx @@ -6,7 +6,7 @@ const RoadmapSection: React.FC = () => { return (
{/* Section header */} diff --git a/src/components/DeveloperTestimonials.tsx b/src/components/DeveloperTestimonials.tsx index 9d8c1cab..0f63faea 100644 --- a/src/components/DeveloperTestimonials.tsx +++ b/src/components/DeveloperTestimonials.tsx @@ -32,7 +32,7 @@ const ReviewCard = ({ return ( { }; return ( -
+
{/* Left Side - Text Content */} { return ( <> -
+
{/* Hero Section */}
diff --git a/src/components/Stats.tsx b/src/components/Stats.tsx index 84eb3876..7232373e 100644 --- a/src/components/Stats.tsx +++ b/src/components/Stats.tsx @@ -10,12 +10,12 @@ import { const Stats = () => { return ( -
+
+
{/* Heading Section with Hearts */} { animate="visible" variants={fadeIn} > - +
+
{/* Left Side Content */} diff --git a/src/pages/About/AboutUs.tsx b/src/pages/About/AboutUs.tsx index 3b2e1d10..e31bc79f 100644 --- a/src/pages/About/AboutUs.tsx +++ b/src/pages/About/AboutUs.tsx @@ -19,7 +19,7 @@ const AboutUs = () => { }, []); return ( -
+
diff --git a/src/pages/About/ContactUs.tsx b/src/pages/About/ContactUs.tsx index b1ba7ab0..7d56c691 100644 --- a/src/pages/About/ContactUs.tsx +++ b/src/pages/About/ContactUs.tsx @@ -45,7 +45,7 @@ const Card: React.FC = ({ icon, title, content }) => ( const ContactUs = () => { return ( -
+
{/* Hero Section */} @@ -235,7 +235,7 @@ const ContactUs = () => { viewport={{ once: true, amount: 0.2 }} variants={slideInBottom} > -
+
diff --git a/src/pages/About/FAQs.tsx b/src/pages/About/FAQs.tsx index 4587ba66..3564ca44 100644 --- a/src/pages/About/FAQs.tsx +++ b/src/pages/About/FAQs.tsx @@ -28,7 +28,7 @@ const FAQs = () => { }, [selectedCategory]); return ( -
+
{/* Top FAQs Section */} diff --git a/src/pages/About/Leadership.tsx b/src/pages/About/Leadership.tsx index bbf6ab56..59cf55f6 100644 --- a/src/pages/About/Leadership.tsx +++ b/src/pages/About/Leadership.tsx @@ -14,9 +14,9 @@ import { const Leadership = () => { return ( -
+
-
+
{/* Section header with animations */}
diff --git a/src/pages/Donate.tsx b/src/pages/Donate.tsx index 4f24ede2..140ba4eb 100644 --- a/src/pages/Donate.tsx +++ b/src/pages/Donate.tsx @@ -27,7 +27,7 @@ const Donate: React.FC = () => { return ( <>
-
+
{/* Hero Section */}
diff --git a/src/pages/JoinDevelopment.tsx b/src/pages/JoinDevelopment.tsx index 445068ce..698136af 100644 --- a/src/pages/JoinDevelopment.tsx +++ b/src/pages/JoinDevelopment.tsx @@ -13,7 +13,7 @@ const JoinDevelopment = () => { }, []); return ( -
+
diff --git a/src/pages/MainPage.tsx b/src/pages/MainPage.tsx index 3cacd138..cfc6767c 100644 --- a/src/pages/MainPage.tsx +++ b/src/pages/MainPage.tsx @@ -11,7 +11,7 @@ import { bannerConfigs } from '@/constants/Banner'; const MainPage = () => { return ( -
+
diff --git a/src/pages/Matrix.tsx b/src/pages/Matrix.tsx index 55bf2044..0e97ed21 100644 --- a/src/pages/Matrix.tsx +++ b/src/pages/Matrix.tsx @@ -250,7 +250,7 @@ const Matrix: React.FC = () => { ]; return ( -
+
{/* Hero Section*/} @@ -311,7 +311,7 @@ const Matrix: React.FC = () => { whileInView="visible" viewport={{ once: true, margin: '-100px' }} variants={fadeIn} - className="py-12 sm:py-16 bg-[#FFFEF9] dark:bg-gray-900" + className="py-12 sm:py-16 bg-[#FFFEF9] dark:bg-black" >
@@ -354,7 +354,7 @@ const Matrix: React.FC = () => { whileInView="visible" viewport={{ once: true, margin: '-100px' }} variants={staggerContainer} - className="py-12 sm:py-16 md:py-24 bg-[#FFFEF9] dark:bg-gray-900" + className="py-12 sm:py-16 md:py-24 bg-[#FFFEF9] dark:bg-black" >
@@ -379,7 +379,7 @@ const Matrix: React.FC = () => { whileInView="visible" viewport={{ once: true, margin: '-100px' }} variants={staggerContainer} - className="py-12 sm:py-16 bg-[#FFFEF9] dark:bg-gray-900" + className="py-12 sm:py-16 bg-[#FFFEF9] dark:bg-black" >
diff --git a/src/pages/News/NewsDetailPage.tsx b/src/pages/News/NewsDetailPage.tsx index da7e0f87..c05ffa6b 100644 --- a/src/pages/News/NewsDetailPage.tsx +++ b/src/pages/News/NewsDetailPage.tsx @@ -122,7 +122,7 @@ const NewsDetailPage: React.FC = () => { return ( <>
-
+

@@ -163,7 +163,7 @@ const NewsDetailPage: React.FC = () => { return ( <>

-
+
{/* Back button */} { return ( -
+
{/* Hero Section */} @@ -99,7 +99,7 @@ const NotFoundPage: React.FC = () => { whileInView="visible" viewport={{ once: true, margin: '-100px' }} variants={fadeIn} - className="py-16 bg-[#FFFEF9] dark:bg-gray-900" + className="py-16 bg-[#FFFEF9] dark:bg-black" >
@@ -238,7 +238,7 @@ const NotFoundPage: React.FC = () => { whileInView="visible" viewport={{ once: true, margin: '-100px' }} variants={staggerContainer} - className="py-16 bg-[#FFFEF9] dark:bg-gray-900" + className="py-16 bg-[#FFFEF9] dark:bg-black" >
{ return ( -
+
{/* Parent container to control animation sequence */} diff --git a/src/pages/TrySugar.tsx b/src/pages/TrySugar.tsx index 3cd6877c..a2143d0e 100644 --- a/src/pages/TrySugar.tsx +++ b/src/pages/TrySugar.tsx @@ -6,7 +6,7 @@ const TrySugar = () => { return (
-
+
diff --git a/src/pages/Volunteer.tsx b/src/pages/Volunteer.tsx index 6b975c68..7313b921 100644 --- a/src/pages/Volunteer.tsx +++ b/src/pages/Volunteer.tsx @@ -29,7 +29,7 @@ const Volunteer = () => { }; return ( -
+
diff --git a/src/sections/Header.tsx b/src/sections/Header.tsx index 8b706f57..102a4c28 100644 --- a/src/sections/Header.tsx +++ b/src/sections/Header.tsx @@ -53,8 +53,8 @@ const Header: React.FC = () => {
@@ -193,7 +193,7 @@ const MobileNavDrawer: React.FC<{ animate={{ opacity: 1, x: 0 }} exit={{ opacity: 0, x: '100%' }} transition={{ type: 'tween', duration: 0.3 }} - className="fixed md:hidden top-0 right-0 bottom-0 w-[80%] max-w-sm bg-white dark:bg-gray-900 shadow-xl z-40 + className="fixed md:hidden top-0 right-0 bottom-0 w-[80%] max-w-sm bg-white dark:bg-black shadow-xl z-40 flex flex-col h-full" >
@@ -281,7 +281,7 @@ const MobileNavDrawer: React.FC<{
{/* CTA button footer */} -
+
= ({ tbody: ({ children, ...props }) => ( {children}