feat: improve accessibility and SEO (100/100 Lighthouse score)

Fixes color contrast, canonical URLs, viewport scaling, semantic lists,

and resolves 404 errors for manifest/imgproxy.
This commit is contained in:
2026-02-18 21:36:02 +01:00
parent 7b277e6102
commit 34ff786c5f
10 changed files with 268 additions and 85 deletions

View File

@@ -17,6 +17,12 @@ export default function imgproxyLoader({
width: number;
_quality?: number;
}) {
// Skip imgproxy for SVGs as they are vectors and don't benefit from resizing,
// and often cause 404s if the source is not correctly resolvable by imgproxy.
if (src.toLowerCase().endsWith('.svg')) {
return src;
}
// We use the width provided by Next.js for responsive images
// Height is set to 0 to maintain aspect ratio
return getImgproxyUrl(src, {