Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert sanity images to webp in attempt to improve page loads #749

Merged
merged 4 commits into from
Aug 6, 2024

Conversation

choden-dev
Copy link
Member

@choden-dev choden-dev commented Aug 6, 2024

https://www.sanity.io/answers/optimizing-image-file-sizes-in-studio-and-using-url-parameters-for-width-and-format-

created server compatible class called SanityImageUrl in client/sanity/lib/utils.ts to allow for basic manipulation of the image urls.

@choden-dev choden-dev linked an issue Aug 6, 2024 that may be closed by this pull request
6 tasks
Copy link

github-actions bot commented Aug 6, 2024

Visit the preview URL for this PR (updated for commit f59a274):

https://uasc-ceebc--pr749-748-frontend-compres-ehvmbnfy.web.app

(expires Tue, 13 Aug 2024 13:06:41 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 36296ceaed1d43e92e7d5e81a72a7bd987560bfa

@choden-dev choden-dev merged commit 0c06b23 into master Aug 6, 2024
8 checks passed
@choden-dev choden-dev deleted the 748-frontend-compress-images-from-sanity branch August 6, 2024 13:10
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.

[FRONTEND] Compress images from sanity
1 participant