perf: optimize homepage and logo images to webp

This commit is contained in:
2026-07-26 10:18:43 +02:00
parent fabc63edf5
commit 789a200595
50 changed files with 126 additions and 29 deletions
+6 -6
View File
@@ -9,11 +9,11 @@ import PhotoBand from '../components/PhotoBand'
import './Home.css'
const PHOTO_BAND_IMAGES = [
'/images/workshop-1.jpg',
'/images/keynote-1.jpg',
'/images/workshop-2.jpg',
'/images/panel-1.jpg',
'/images/workshop-3.jpg',
'/images/workshop-1.webp',
'/images/keynote-1.webp',
'/images/workshop-2.webp',
'/images/panel-1.webp',
'/images/workshop-3.webp',
]
export default function Home() {
@@ -24,7 +24,7 @@ export default function Home() {
{/* Hero */}
<section className="hero">
<div className="app-container hero-content">
<img src="/images/andre-knie.png" alt="Dr. André Knie" className="hero-photo" />
<img src="/images/andre-knie.webp" alt="Dr. André Knie" className="hero-photo" />
<h1>
{profile?.name || 'Dr. André Knie'}
</h1>