Fix: Implement Global and Image Loading States#299
Fix: Implement Global and Image Loading States#299kunal-bunkar wants to merge 2 commits intoAOSSIE-Org:devfrom
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip CodeRabbit can use Trivy to scan for security misconfigurations and secrets in Infrastructure as Code files.Add a .trivyignore file to your project to customize which findings Trivy reports. |
Description
This PR implements proper loading states across the application to improve user experience, prevent layout shifts, and enhance performance during page initialization.
Previously, the website displayed blank or unstyled content while resources (images, animations) were loading. This caused layout shifts and poor UX, especially on slow networks.
##Key Changes
to Next.js ![]()
-Added a global loading spinner with skeleton layout
-Wait for all critical images to load before rendering main content
-Temporarily hide navbar and footer during loading
-Converted Features component images from
-Added shimmer animation to skeleton loaders
-Ensured loading states are accessible (role="status", aria-live="polite")
Fixes #298
Type of change
How Has This Been Tested?
-Tested with Slow 3G throttling → Spinner and skeletons display correctly

-Disabled cache → No noticeable layout shifts
-Tested on mobile viewport → Layout remains stable
-Verified accessibility → Screen reader announces loading state
Checklist:
Maintainer Checklist