UoaWDCC / uasc-web

Project with the University of Auckland Snowsports Club Website & Booking System. Established in 2023.
https://uasc.co.nz
6 stars 2 forks source link

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

Closed bcho892 closed 2 months ago

bcho892 commented 2 months ago

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.

github-actions[bot] commented 2 months ago

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