diff --git a/index.html b/index.html index 1951551d..9306ae0a 100644 --- a/index.html +++ b/index.html @@ -2,8 +2,13 @@ - - + + SugarLabs diff --git a/src/components/Info.tsx b/src/components/Info.tsx index afe04d2d..19bbab02 100644 --- a/src/components/Info.tsx +++ b/src/components/Info.tsx @@ -12,19 +12,22 @@ const Info: React.FC = () => {
{image.alt} {image.caption && (

{image.caption} @@ -41,11 +44,14 @@ const Info: React.FC = () => { alt={image.alt} className="w-full h-64 object-cover" loading="lazy" + width={800} + height={600} + decoding="async" /> {image.caption && (

{image.caption}

@@ -61,31 +67,35 @@ const Info: React.FC = () => {
{images.main.alt}

{heroContent.title}

{heroContent.description}

@@ -125,18 +135,18 @@ const Info: React.FC = () => {
Empowering Young Learners

Our Mission? @@ -144,7 +154,7 @@ const Info: React.FC = () => {
Authentic
@@ -168,10 +178,10 @@ const Info: React.FC = () => {
{/* Card on Top Left */}

Project Based Learning @@ -188,16 +198,19 @@ const Info: React.FC = () => { src={mission.learnImage} alt="Students learning" className="w-full rounded-2xl transform hover:scale-105 - transition-all duration-500 ease-out" + transition-all duration-500" loading="lazy" + width={800} + height={600} + //decoding="async" /> {/* Card on Bottom Right */}

Challenge and Fun: It's hard fun. diff --git a/src/components/Stats.tsx b/src/components/Stats.tsx index 2c4451d1..0ef79ce1 100644 --- a/src/components/Stats.tsx +++ b/src/components/Stats.tsx @@ -42,6 +42,9 @@ const Stats = () => { src={stats.kidlaptop} alt="Student with laptop" className="w-full h-48 md:h-64 object-cover rounded-lg" + width={800} + height={600} + decoding="async" />

@@ -61,6 +64,10 @@ const Stats = () => { src={stats.studentsCollaborating} alt="Students collaborating" className="w h-36 object-cover rounded-lg" + loading="lazy" + width={400} + height={300} + decoding="async" />

@@ -78,6 +85,10 @@ const Stats = () => { src={stats.studentMobile} alt="Student with mobile device" className="w h-36 object-cover rounded-lg" + loading="lazy" + width={400} + height={300} + decoding="async" />
diff --git a/src/components/TryCard.tsx b/src/components/TryCard.tsx index ad575dc5..dd6fc2a8 100644 --- a/src/components/TryCard.tsx +++ b/src/components/TryCard.tsx @@ -27,7 +27,15 @@ export const ActivityCard: React.FC = ({ href, }) => (
- {title} + {title}

{title}

{description}

@@ -66,24 +74,24 @@ export const TryCard: React.FC = ({
{tryNowText} {learnMoreText} @@ -91,13 +99,17 @@ export const TryCard: React.FC = ({
{/* Image Section */} -
+
{title}
diff --git a/src/sections/Header.tsx b/src/sections/Header.tsx index 7339d793..2293211e 100644 --- a/src/sections/Header.tsx +++ b/src/sections/Header.tsx @@ -59,6 +59,10 @@ const Header: React.FC = () => { src={logo} alt="Sugar Labs" className="h-12 w-auto transition-transform hover:scale-105" + width={128} + height={48} + loading="eager" + fetchPriority="high" />