feat: add CY-403 past papers & unit tags + implement premium Privacy Policy page#84
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedFailed to post review comments. GitHub was unavailable or timed out while CodeRabbit was posting the review. Please request a new review later if the pull request still needs one. Use ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (8)
💤 Files with no reviewable changes (1)
⏰ Context from checks skipped due to timeout. (1)
📝 WalkthroughWalkthroughAdds a new animated privacy policy page with timeline content and contact CTA, updates creator image sources and Next.js image hosts, populates CY-403 exam data, fixes the privacy footer route, and removes an unused icon import. ChangesPrivacy policy page
Creator image loading
CY-403 exam data
Import cleanup
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant PrivacyPolicyPage
participant InteractivePath
participant ScrollReveal
participant ContactCTA
PrivacyPolicyPage->>InteractivePath: render timeline tracker
PrivacyPolicyPage->>ScrollReveal: render animated timeline nodes
InteractivePath->>InteractivePath: derive tracker position from scroll
InteractivePath->>ContactCTA: measure CTA near path completion
InteractivePath->>InteractivePath: animate marker toward CTA
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
🎉 Congratulations @RamuuXfree!Thank you for contributing to HyperLearningTech. Your pull request has been successfully merged into main. 📦 Merge Summary
🚀 Keep Contributing
Thank you for helping make HyperLearningTech better. Happy Coding! 🚀 |
|
Caution Failed to replace (edit) comment. This is likely due to insufficient permissions or the comment being deleted. Error details |
Summary
This Pull Request accomplishes two main goals:
/privacywith interactive SVG scroll paths and 3D scroll-reveal effects. It also resolves related routing and configuration fixes (footer links, Next.js image domain whitelist).Related Issue
Closes #
Type of Change
next.config.ts)What Changed?
📚 Course Content Updates (CY-403)
content/rgpv/cscy/semester-4/cy-403/pyqs.json: Populated past year question papers for June 2025, June 2024, November 2023, and June 2023. Every sub-question has been mapped with a"unit": "Unit X"tag corresponding to the syllabus modules to render appropriate UI badges.🛡️ Privacy Policy Page Implementation & Utilities
app/(public)/privacy/page.tsx: Created the new page route and content details for the Privacy Policy.app/(public)/privacy/InteractivePath.tsx: Built the interactive client-side component displaying the animated, scroll-linked path tracker matching page scrolling.app/(public)/privacy/ScrollReveal.tsx: Implemented a custom 3D fold-out layout utility for smooth scroll animations.components/footer.tsx: Fixed the privacy link redirection in the footer to point to/privacyinstead of/(home page).⚙️ Optimization & Configurations
next.config.ts: Addedgithub.comand adjusted pathnames wildcard innextConfig.imagesto allow loading avatar assets securely.app/(public)/creators/page.tsx: Swapped creator profiles avatars to GitHub source URLs for consistency.app/(public)/cgpa-calculator/page.tsx: Cleaned up unusedCompassicon import fromlucide-react.Screenshots (UI Changes Only)
Interactive Privacy Policy page features an SVG dash-path tracer following the user scroll and custom cards:
Testing
npm run devto verify the/privacypage route, scroll animations, responsive UI behavior, and Next.js image loading properties.content/rgpv/cscy/semester-4/cy-403/pyqs.jsonhas valid JSON syntax.Checklist
Before requesting a review, confirm the following:
main.cy-403).Summary by CodeRabbit