Skip to content

feat: add CY-403 past papers & unit tags + implement premium Privacy Policy page#84

Merged
RamuuXfree merged 8 commits into
mainfrom
cy-403
Jul 10, 2026
Merged

feat: add CY-403 past papers & unit tags + implement premium Privacy Policy page#84
RamuuXfree merged 8 commits into
mainfrom
cy-403

Conversation

@RamuuXfree

@RamuuXfree RamuuXfree commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

This Pull Request accomplishes two main goals:

  1. CY-403 (Computer Networks) PYQs: Adds complete past exam papers (June 2023 - June 2025) with question-by-question unit tags mapped directly to the syllabus modules.
  2. Privacy Policy Page: Implements a premium, highly interactive Privacy Policy page at /privacy with 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

  • Feature
  • Bug Fix
  • Documentation / Content Update
  • Refactor
  • Other: Configuration update (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 /privacy instead of / (home page).

⚙️ Optimization & Configurations

  • next.config.ts: Added github.com and adjusted pathnames wildcard in nextConfig.images to 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 unused Compass icon import from lucide-react.

Screenshots (UI Changes Only)

Interactive Privacy Policy page features an SVG dash-path tracer following the user scroll and custom cards:

Mobile View Desktop View
Straight center timeline path Curved parallax timeline path

Testing

  • Local Verification: Tested the app using npm run dev to verify the /privacy page route, scroll animations, responsive UI behavior, and Next.js image loading properties.
  • Data Validation: Confirmed that content/rgpv/cscy/semester-4/cy-403/pyqs.json has valid JSON syntax.

Checklist

Before requesting a review, confirm the following:

  • My branch is up to date with the latest main.
  • My code follows the project's coding standards.
  • I have tested my changes locally.
  • This Pull Request focuses on a single feature branch (cy-403).

Summary by CodeRabbit

  • New Features
    • Added a dedicated Privacy Policy page with interactive scroll animations, timeline content, and a Contact Team call-to-action.
    • Added June 2025, June 2024, November 2023, and June 2023 exam papers for CY-403.
  • Bug Fixes
    • Updated the footer’s Privacy Policy link to open the correct page.
    • Improved display reliability for creator profile images.
  • Style
    • Added responsive visual effects and animated transitions to the Privacy Policy experience.

@RamuuXfree RamuuXfree requested a review from imuniqueshiv as a code owner July 10, 2026 00:44
@vercel

vercel Bot commented Jul 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hyper-learning-tech Ready Ready Preview, Comment Jul 10, 2026 12:49am

@coderabbitai

coderabbitai Bot commented Jul 10, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

Failed 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 @coderabbitai full review to retry the review.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 51a37fb9-bdb3-4e38-a54d-ac66d25a9355

📥 Commits

Reviewing files that changed from the base of the PR and between e28388e and 24613fb.

📒 Files selected for processing (8)
  • app/(public)/cgpa-calculator/page.tsx
  • app/(public)/creators/page.tsx
  • app/(public)/privacy/InteractivePath.tsx
  • app/(public)/privacy/ScrollReveal.tsx
  • app/(public)/privacy/page.tsx
  • components/footer.tsx
  • content/rgpv/cscy/semester-4/cy-403/pyqs.json
  • next.config.ts
💤 Files with no reviewable changes (1)
  • app/(public)/cgpa-calculator/page.tsx
⏰ Context from checks skipped due to timeout. (1)
  • GitHub Check: Format · Lint · Typecheck · Build
📝 Walkthrough

Walkthrough

Adds 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.

Changes

Privacy policy page

Layer / File(s) Summary
Scroll animation components
app/(public)/privacy/InteractivePath.tsx, app/(public)/privacy/ScrollReveal.tsx
Adds scroll-linked marker movement, CTA jump animation, responsive SVG/mobile tracking, and 3D scroll reveals.
Privacy page composition and route
app/(public)/privacy/page.tsx, components/footer.tsx
Adds the privacy page metadata, hero, timeline nodes, contact CTA, and /privacy footer link.

Creator image loading

Layer / File(s) Summary
Creator avatars and image hosts
app/(public)/creators/page.tsx, next.config.ts
Updates three creator image URLs and permits GitHub image paths in Next.js remote image patterns.

CY-403 exam data

Layer / File(s) Summary
CY-403 previous-question records
content/rgpv/cscy/semester-4/cy-403/pyqs.json
Adds four dated exam records with nested questions, sub-questions, labels, and unit tags.

Import cleanup

Layer / File(s) Summary
Unused icon removal
app/(public)/cgpa-calculator/page.tsx
Removes the unused Compass icon import.

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
Loading

Possibly related PRs

Suggested reviewers: imuniqueshiv

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the two main additions: CY-403 past papers with unit tags and the new Privacy Policy page.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cy-403

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@RamuuXfree RamuuXfree merged commit c41d9b0 into main Jul 10, 2026
4 checks passed
@github-actions

Copy link
Copy Markdown

🎉 Congratulations @RamuuXfree!

Thank you for contributing to HyperLearningTech.

Your pull request has been successfully merged into main.

📦 Merge Summary

🚀 Keep Contributing

  • Follow the CONTRIBUTING.md guidelines.
  • Keep each Pull Request focused on a single feature or fix.
  • Run formatting, linting, type checking, and a production build before opening a PR.

Thank you for helping make HyperLearningTech better.

Happy Coding! 🚀

@RamuuXfree RamuuXfree deleted the cy-403 branch July 10, 2026 00:50
@coderabbitai

coderabbitai Bot commented Jul 10, 2026

Copy link
Copy Markdown

Caution

Failed to replace (edit) comment. This is likely due to insufficient permissions or the comment being deleted.

Error details
putComment timed out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant