Conversation
* remove bootstrap * remove styled-components * add tailwindcss, postcss and autoprefixer * upgrade deps * update _app.js and _document.js * make folder for styles and import relevant styles * remove package-lock.json and .babelrc
* navbar converted to tailwind * add dsc colors to config * add global styles * move icons to seperate file * improve layout component * font contrast and size fixes * [wip] comment pages html
* make social icons same in footer and about * fix font size of college name in sidenav * make icons iterable
* fix button colors
* new custom breakpoitns * refactor the responsive values * add join section
* make navbar sticky * lazy load iframe * make button background blue on hover * increase clickable area for footer links * change images initial widths * reduce border on team image on hover
* remove react import * comment notice section js * add faqs and guildlines * remove clutter
* defer iframe till the footer is mounted * lazy load react-lottie * load animation json asynchronously * reduce first js load from 195kb to 88kb 🎉 * add keys to faqs and guildlines iterables
|
Nice, next/image doesn't work when we do Possible solution:
|
|
Can you try and deploy it again? |
|
Okay, checked it. |
|
Also, look for the input focus. When the input box is clicked, the browser adds up a weird border around the element. Fix it as well. |
goelaakash79
left a comment
There was a problem hiding this comment.
Check the UI elements, and give the same look and feel
Can you specify those elements? |
|
Maximum achievable performance score when using lottie animations Desktops have a higher score because it has more resources than mobile :) Evidence to prove that lottie animations are killing the performance. Mobile scores are still less than 90 because of embedded google maps Pretty much nothing more can be done to improve performance. 🙇🏽 |
add new build command to publish build use cloudinary as default loader to fetch remote images make image url absolute
|
@mayanksh99 can you please check it? Compare the live version with the PR preview. |
|
Finally 🎉 Also, the problem with
I went with the 3rd option. Using Cloudinary to fetch the remote image URLs, which are now optimized and cached as expected 🎉 |
|
Can we just load svg for mobiles rather than loading complete lottie animation ? |
|
closing due to inactivity. |




changes:
refactor:
fixes:
I have tried running lighthouse metrics with several scenarios:
Scenario 1: page has embed map and lottie animation (without above optimisations)
Scenario 2: page has embed map and lottie animation (with above optimisations)
Scenario 3: page has no embed map and lottie animation (with above optimisations)
Scenario 4: page has embed map and no lottie animation (with above optimisations)
Scenario 5: page has no embed map and no lottie animation (with above optimisations)
Verdict: Lottie animations are degrading performance more than embed maps :)
I have settled for scenario 2.