tomdohnal / twitter-fomo

https://twitterfomo.dev
53 stars 7 forks source link

Use next/image to optimize images #4

Open tomdohnal opened 3 years ago

tomdohnal commented 3 years ago

Please describe what you'd want to add to TwitterFOMO and why would you find it helpful. We should leverage the next/image component to optimize images in the tweet cards. It's necessary to give this a little bit of research as I don't know what the best approach for integrating it with the Img component from Chakra UI is.

Implementing it should make the site load faster (especially on mobile devices) and not load images that are too large.