Description
Convert regular <img> tags to Next.js <Image> components throughout the codebase for better performance, automatic optimization, and improved SEO. Next.js Image provides built-in lazy loading, responsive images, and automatic format optimization.
Acceptance Criteria
Technical Requirements
Files to Update
src/app/podcast/page.tsx - Podcast episode thumbnails
src/app/podcast/[slug]/page.tsx - Guest headshots and sponsor images
src/app/events/page.tsx - Sponsor images
src/app/page.tsx - Sponsor avatars and supporter images
src/components/MemberCards.tsx - Member avatar images
src/components/UndrawIllustration.tsx - Illustration images
Benefits
- ✨ Automatic image optimization and format conversion
- ⚡ Built-in lazy loading for better performance
- 📱 Responsive images with automatic srcSet generation
- 🎯 Better Core Web Vitals scores
- 🚀 Improved SEO through optimized images
Testing Checklist
Resources
Difficulty: Beginner-Intermediate
Good for contributors familiar with React who want to learn Next.js optimization patterns.
Description
Convert regular
<img>tags to Next.js<Image>components throughout the codebase for better performance, automatic optimization, and improved SEO. Next.js Image provides built-in lazy loading, responsive images, and automatic format optimization.Acceptance Criteria
<img>tags insrc/app/podcast/page.tsx<img>tags insrc/app/podcast/[slug]/page.tsx<img>tags insrc/app/events/page.tsx<img>tags insrc/app/page.tsx(sponsors section)<img>tags insrc/components/MemberCards.tsx<img>tags insrc/components/UndrawIllustration.tsxTechnical Requirements
import Image from 'next/image'loading="lazy"attribute (Next.js handles this automatically)srcSetto Next.jssizesprop where applicablealtattributes are preservedFiles to Update
src/app/podcast/page.tsx- Podcast episode thumbnailssrc/app/podcast/[slug]/page.tsx- Guest headshots and sponsor imagessrc/app/events/page.tsx- Sponsor imagessrc/app/page.tsx- Sponsor avatars and supporter imagessrc/components/MemberCards.tsx- Member avatar imagessrc/components/UndrawIllustration.tsx- Illustration imagesBenefits
Testing Checklist
Resources
Difficulty: Beginner-Intermediate
Good for contributors familiar with React who want to learn Next.js optimization patterns.