Skip to content

perf: Enable Astro image optimization for site components#355

Merged
InlinePizza merged 1 commit intomainfrom
astro-image-optimization
Apr 2, 2026
Merged

perf: Enable Astro image optimization for site components#355
InlinePizza merged 1 commit intomainfrom
astro-image-optimization

Conversation

@InlinePizza
Copy link
Copy Markdown
Contributor

Move homepage and site images from public/ to src/assets/ so Astro can optimize them (WebP conversion, resizing). Update Hero, HowItWorks, and Testimonials components to use Astro's component with static imports. Remove the noop image service that was disabling optimization and add a font preload for InterVariable.woff2.

Move homepage and site images from public/ to src/assets/ so Astro can
optimize them (WebP conversion, resizing). Update Hero, HowItWorks, and
Testimonials components to use Astro's <Image> component with static
imports. Remove the noop image service that was disabling optimization
and add a font preload for InterVariable.woff2.
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
promptless-docs Ready Ready Preview, Comment Apr 2, 2026 6:51pm

Request Review

@InlinePizza InlinePizza merged commit f706267 into main Apr 2, 2026
4 checks passed
@InlinePizza InlinePizza deleted the astro-image-optimization branch April 2, 2026 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant