diff --git a/src/App.tsx b/src/App.tsx index 6f1559fe..51b9d660 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 046948cf..4e8106b8 100644 --- a/src/components/AboutUs/GoalsSection.tsx +++ b/src/components/AboutUs/GoalsSection.tsx @@ -4,21 +4,21 @@ import { FC } from 'react'; const GoalsSection: FC = () => { return ( -
+
{/* Section header */}
- + {sectionContent.title.main} {' '} - + {sectionContent.title.highlight} @@ -32,7 +32,7 @@ const GoalsSection: FC = () => { /> { {goals.map((goal, i) => ( {
{i + 1}
-
+
{/* Goal content */} -

+

{goal.title}

-

+

{goal.description}

{/* Category tag */} {goal.category && ( -
+
{goal.category}
)} diff --git a/src/components/AboutUs/MissionSection.tsx b/src/components/AboutUs/MissionSection.tsx index e316f89a..5208979e 100644 --- a/src/components/AboutUs/MissionSection.tsx +++ b/src/components/AboutUs/MissionSection.tsx @@ -3,21 +3,24 @@ import { content } from '@/constants/aboutUs/mission'; const MissionSection = () => { return ( -
+
{/* Section header */}
- + {content.title.prefix} {' '} - + {content.title.highlighted} @@ -54,7 +57,7 @@ const MissionSection = () => { {/* Text content */} { return ( -
+
{/* Section header */}
- + {principlesContent.title.prefix} {' '} - + {principlesContent.title.highlight} @@ -39,8 +42,8 @@ const PrinciplesSection = () => { viewport={{ once: true }} transition={{ duration: 0.8 }} > -
-

+

+

{principlesContent.description}

@@ -83,7 +86,7 @@ const PrinciplesSection = () => { viewport={{ once: true }} transition={{ duration: 0.6, delay: 0.1 * index }} > -
+
{ />
-
-

+
+

{principle.title}

-

+

{principle.description}

diff --git a/src/components/AboutUs/ProjectSection.tsx b/src/components/AboutUs/ProjectSection.tsx index a5d3409e..7bdc8e81 100644 --- a/src/components/AboutUs/ProjectSection.tsx +++ b/src/components/AboutUs/ProjectSection.tsx @@ -11,21 +11,24 @@ const ProjectsSection = () => { : projects.slice(0, initialProjectCount); return ( -
+
{/* Section header */}
- + {projectsContent.title.prefix} {' '} - + {projectsContent.title.highlight} @@ -40,7 +43,7 @@ const ProjectsSection = () => { {projectsContent.description && ( { transition={{ duration: 0.6, delay: 0.1 * i }} className="h-full" > -
+
Project {i + 1}
-
+
{project.title} {
-

+

{project.title}

-

+

{project.description}

@@ -92,7 +95,7 @@ const ProjectsSection = () => { {project.tags.map((tag, tagIndex) => ( {tag} @@ -104,7 +107,7 @@ const ProjectsSection = () => { {project.link && ( {projectsContent.ctaText || 'Learn More'} { href={project.exlink} target="_blank" rel="noopener noreferrer" - className="text-blue-600 hover:text-red-600 font-medium text-sm flex items-center gap-1 mt-auto transition-colors duration-300 group" + className="text-blue-600 dark:text-blue-400 hover:text-red-600 dark:hover:text-red-400 font-medium text-sm flex items-center gap-1 mt-auto transition-colors duration-300 group" > {projectsContent.ctaText || 'Visit Website'} { {!project.link && !project.exlink && (
{/* Section header */}
- + {roadmapContent.title.prefix} {' '} - + {roadmapContent.title.highlight} @@ -32,7 +35,7 @@ const RoadmapSection: React.FC = () => { /> {
{ {/* Content */}

{item.title}

-

+

{item.description || 'Milestone in our journey'}

@@ -103,7 +106,7 @@ const RoadmapSection: React.FC = () => {
{/* Vertical connecting line */} { {/* Card */}

{item.title}

-

+

{item.description || 'Milestone in our journey'}

diff --git a/src/components/AboutUs/TextMaskSection.tsx b/src/components/AboutUs/TextMaskSection.tsx index 34a18e3b..50ef7eb4 100644 --- a/src/components/AboutUs/TextMaskSection.tsx +++ b/src/components/AboutUs/TextMaskSection.tsx @@ -90,7 +90,7 @@ const TextMaskSection = () => { @@ -104,9 +104,9 @@ const TextMaskSection = () => {
-
+
{ diff --git a/src/components/DirectorCard.tsx b/src/components/DirectorCard.tsx index 3ca5ad0e..a2312838 100644 --- a/src/components/DirectorCard.tsx +++ b/src/components/DirectorCard.tsx @@ -6,12 +6,12 @@ const DirectorCard: React.FC = ({ director }) => { const showPlaceholder = imageError || !director.imageUrl; return ( -
+
-
-
+
+
{showPlaceholder ? ( -
+
{director.name .split(' ') .map((n) => n[0]) @@ -30,22 +30,24 @@ const DirectorCard: React.FC = ({ director }) => {
-

{director.name}

+

+ {director.name} +

{director.position && ( -

+

{director.position}

)}
-
+
-
+
{director.bio || 'No biography available.'}
-
+
{director.socialLinks?.linkedin && ( = ({ director }) => { {!director.socialLinks?.linkedin && !director.socialLinks?.github && !director.socialLinks?.wiki && ( - + No social links available )} @@ -87,7 +89,7 @@ const SocialLink: React.FC = ({ href, aria, icon }) => ( href={href} target="_blank" rel="noopener noreferrer" - className="text-gray-500 hover:text-red-500 transition-colors" + className="text-gray-500 dark:text-gray-400 hover:text-red-500 dark:hover:text-red-400 transition-colors" aria-label={aria} > {icon} diff --git a/src/components/Donation.tsx b/src/components/Donation.tsx index abec45bd..c5067b1d 100644 --- a/src/components/Donation.tsx +++ b/src/components/Donation.tsx @@ -21,7 +21,7 @@ const Donation: React.FC = () => { }; return ( -
+
{/* Left Side - Text Content */} { whileInView="visible" viewport={{ once: true, amount: 0.5 }} > -

+

Donate to Sugar Labs to make a{' '} Positive Impact

@@ -39,7 +39,7 @@ const Donation: React.FC = () => { Support and Empower
{' '} Learners Everywhere

-

+

Support Sugar Labs and make a difference in children's education. Sugar Labs has brought educational software and authentic problem solving to millions in the US and across the globe. @@ -91,7 +91,7 @@ const Donation: React.FC = () => { @@ -106,7 +106,9 @@ const Donation: React.FC = () => { transition={{ delay: 0.05 * index }} /> ))} - Join the volunteer + + Join the volunteer + { whileInView="visible" viewport={{ once: true, amount: 0.2 }} > - + Join us to empower young learners across the globe. The simplest way to get involved is to join our newsletter. @@ -151,7 +153,7 @@ const Donation: React.FC = () => { className="flex" > { return ( { variants={faqToggleIconVariants(isOpen)} initial="initial" animate="animate" + className="text-gray-600 dark:text-gray-400" > {isOpen ? '-' : '+'} @@ -64,7 +65,7 @@ const FAQItem = ({ index, question, answer }: FAQItemProps) => { animate="animate" style={{ overflow: 'hidden' }} > -

{answer}

+

{answer}

); diff --git a/src/components/Info.tsx b/src/components/Info.tsx index f92664ae..66e0214a 100644 --- a/src/components/Info.tsx +++ b/src/components/Info.tsx @@ -48,14 +48,14 @@ const Info: React.FC = () => { return ( <> -
+
{/* Hero Section */}
{ @@ -170,10 +170,10 @@ const Info: React.FC = () => {
Empowering Young Learners @@ -181,7 +181,7 @@ const Info: React.FC = () => {
@@ -201,13 +201,13 @@ const Info: React.FC = () => { Igniting Curiosity through Project Based Learning -

+

Empowering Young Minds with Hands-on Learning, Transforming Curiosity into Discovery and Innovation.

diff --git a/src/components/Product.tsx b/src/components/Product.tsx index f7dbbbd6..cf0883d3 100644 --- a/src/components/Product.tsx +++ b/src/components/Product.tsx @@ -21,7 +21,7 @@ const ProductCard = ({ product }: { product: ProductType }) => { const [currentImage, setCurrentImage] = useState(0); return ( -
+
{/* Product Image Carousel with custom hover controls */}
{ {/* Product Details */}
-

{product.name}

-

{product.description}

+

+ {product.name} +

+

+ {product.description} +

{ return ( -
+
@@ -37,7 +37,7 @@ const Stats = () => { numbers @@ -46,7 +46,7 @@ const Stats = () => { @@ -65,12 +65,12 @@ const Stats = () => { viewport={{ once: true, amount: 0.1 }} >
-

+

Kids whose lives have been enriched by using the Sugar Learning Platform.

@@ -126,7 +126,7 @@ const Stats = () => { >
-

+

{stat.title}

{ {/* Closing Section with Interactive Element */} -

+

Join us and make a difference

-

+

These numbers represent more than statistics - they represent lives changed through education and technology. Sugar Labs continues to grow and impact communities worldwide. @@ -177,7 +177,7 @@ const Stats = () => { > {stat.value} - + {stat.title.split('.')[0].substring(0, 12)} {stat.title.split('.')[0].length > 12 ? '...' : ''} diff --git a/src/components/Testimonials.tsx b/src/components/Testimonials.tsx index 13e68bb6..bd779450 100644 --- a/src/components/Testimonials.tsx +++ b/src/components/Testimonials.tsx @@ -62,7 +62,7 @@ const ReviewCard = ({ setImgError(true)} /> @@ -93,7 +93,7 @@ export function Testimonials() { const secondRow = testimonials.slice(Math.ceil(testimonials.length / 2)); return ( -

+
{/* Heading Section with Hearts */} - + Words of appreciation and
admiration from others.
@@ -185,8 +185,8 @@ export function Testimonials() { {/* Gradient Fades */} -
-
+
+
); diff --git a/src/components/Try.tsx b/src/components/Try.tsx index 9bb35277..77323366 100644 --- a/src/components/Try.tsx +++ b/src/components/Try.tsx @@ -66,7 +66,7 @@ const Try: React.FC = () => { animate="visible" variants={fadeIn} > - +
{ EXPERIENCE SUGAR @@ -94,14 +94,14 @@ const Try: React.FC = () => { variants={subtleRise} > "Our educational tools can be experienced in a number of ways. Try the ones that are best for you!" Whether you enjoy hands-on activities, visual learning, or @@ -163,7 +163,7 @@ const Try: React.FC = () => { onClick={() => handleSwipe('prev', setCurrentCard, TryCardData.length) } - className="pointer-events-auto p-2 sm:p-3 bg-white/80 text-[#975555] rounded-full shadow-lg hover:bg-white transition-all" + className="pointer-events-auto p-2 sm:p-3 bg-white/80 dark:bg-gray-800/80 text-[#975555] dark:text-pink-400 rounded-full shadow-lg hover:bg-white dark:hover:bg-gray-700 transition-all" aria-label="Previous" > { onClick={() => handleSwipe('next', setCurrentCard, TryCardData.length) } - className="pointer-events-auto p-2 sm:p-3 bg-white/80 text-[#975555] rounded-full shadow-lg hover:bg-white transition-all" + className="pointer-events-auto p-2 sm:p-3 bg-white/80 dark:bg-gray-800/80 text-[#975555] dark:text-pink-400 rounded-full shadow-lg hover:bg-white dark:hover:bg-gray-700 transition-all" aria-label="Next" > { onClick={() => setCurrentCard(index)} className={`w-2 h-2 sm:w-2.5 sm:h-2.5 rounded-full transition-all duration-300 ${ currentCard === index - ? 'bg-[#975555] w-4 sm:w-6' - : 'bg-[#975555]/30' + ? 'bg-[#975555] dark:bg-pink-400 w-4 sm:w-6' + : 'bg-[#975555]/30 dark:bg-pink-400/30' }`} aria-label={`Go to slide ${index + 1}`} /> @@ -244,7 +244,7 @@ const Try: React.FC = () => { ALREADY USING SUGAR? @@ -255,13 +255,13 @@ const Try: React.FC = () => { variants={subtleRise} > "We have many activities for you!" The Sugar Learning platform is a complete environment for @@ -339,7 +339,7 @@ const Try: React.FC = () => { onClick={() => handleSwipe('prev', setCurrentActivity, Activities.length) } - className="pointer-events-auto p-2 sm:p-3 bg-white/80 text-[#975555] rounded-full shadow-lg hover:bg-white transition-all" + className="pointer-events-auto p-2 sm:p-3 bg-white/80 dark:bg-gray-800/80 text-[#975555] dark:text-pink-400 rounded-full shadow-lg hover:bg-white dark:hover:bg-gray-700 transition-all" aria-label="Previous" > { onClick={() => handleSwipe('next', setCurrentActivity, Activities.length) } - className="pointer-events-auto p-2 sm:p-3 bg-white/80 text-[#975555] rounded-full shadow-lg hover:bg-white transition-all" + className="pointer-events-auto p-2 sm:p-3 bg-white/80 dark:bg-gray-800/80 text-[#975555] dark:text-pink-400 rounded-full shadow-lg hover:bg-white dark:hover:bg-gray-700 transition-all" aria-label="Next" > { onClick={() => setCurrentActivity(index)} className={`w-2 h-2 sm:w-2.5 sm:h-2.5 rounded-full transition-all duration-300 ${ currentActivity === index - ? 'bg-[#975555] w-4 sm:w-6' - : 'bg-[#975555]/30' + ? 'bg-[#975555] dark:bg-pink-400 w-4 sm:w-6' + : 'bg-[#975555]/30 dark:bg-pink-400/30' }`} aria-label={`Go to slide ${index + 1}`} /> diff --git a/src/components/TryCard.tsx b/src/components/TryCard.tsx index 57195478..5400326c 100644 --- a/src/components/TryCard.tsx +++ b/src/components/TryCard.tsx @@ -29,13 +29,13 @@ export const ActivityCard: React.FC = ({ href, version, }) => ( -
+
{title} -

+

{title}

@@ -43,22 +43,22 @@ export const ActivityCard: React.FC = ({

{version}

)} -

+

{description}

- @@ -75,16 +75,16 @@ export const TryCard: React.FC = ({ imagePath, gradientClass, }) => ( -
+
{/* Content Section */}
{/* Header */}
-

+

{title}

-

+

{description}

@@ -105,9 +105,9 @@ export const TryCard: React.FC = ({
= ({ {/* Image Section */}
-
+
{title} +
{/* Left Side Content */} @@ -60,7 +60,7 @@ export function TryMore() { variants={staggerContainer} > diff --git a/src/components/TryNow/FeatureSection.tsx b/src/components/TryNow/FeatureSection.tsx index 8a9f71f8..fd2c1017 100644 --- a/src/components/TryNow/FeatureSection.tsx +++ b/src/components/TryNow/FeatureSection.tsx @@ -30,9 +30,15 @@ const FeatureSection = ({ data }: { data: FeatureData }) => { variants={featureSectionAnimations.textContainer} >

{data.title}

-

{data.subtitle}

-

{data.quote}

-

{data.description}

+

+ {data.subtitle} +

+

+ {data.quote} +

+

+ {data.description} +

{/* Right Side: Image Carousel */} @@ -69,12 +75,14 @@ const FeatureSection = ({ data }: { data: FeatureData }) => { ) : ( -

No Image Available

+

+ No Image Available +

)} @@ -82,7 +90,7 @@ const FeatureSection = ({ data }: { data: FeatureData }) => { {/* Optional Note */} {data.note && ( { {data.map((card, index) => ( { {/* Title */} -

{card.title}

+

+ {card.title} +

{/* Divider */} -
+
{/* Description */} -