Skip to content

add: smooth scroll function for start learning button to universities…#1

Merged
imuniqueshiv merged 1 commit into
mainfrom
navigation-fix
Jun 24, 2026
Merged

add: smooth scroll function for start learning button to universities…#1
imuniqueshiv merged 1 commit into
mainfrom
navigation-fix

Conversation

@imuniqueshiv

@imuniqueshiv imuniqueshiv commented Jun 24, 2026

Copy link
Copy Markdown
Owner

smooth scroll function for the start learning button to universities.

Summary by CodeRabbit

  • New Features
    • The “Start Learning” button now smoothly scrolls users to the Universities section.
    • The Universities section is now directly reachable via a page anchor link.

@vercel

vercel Bot commented Jun 24, 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 Jun 24, 2026 8:21pm

@coderabbitai

coderabbitai Bot commented Jun 24, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 20a2b230-56d4-434c-9319-ea36e76a9a5a

📥 Commits

Reviewing files that changed from the base of the PR and between 01b1811 and 7395056.

📒 Files selected for processing (2)
  • features/landing/hero.tsx
  • features/landing/universities.tsx

📝 Walkthrough

Walkthrough

The landing hero CTA now scrolls to the Universities section. The Universities section now exposes the DOM id that the CTA targets.

Changes

Landing in-page scroll CTA

Layer / File(s) Summary
Universities anchor id
features/landing/universities.tsx
The Universities section adds id="Universities" to its root <section>.
Hero scroll CTA
features/landing/hero.tsx
The Start Learning action now renders an <a> with href="#Universities" and onClick={scrollToUniversities}, and the component adds a helper that calls document.getElementById("universities") and scrollIntoView({ behavior: "smooth" }).

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

I hop to the link with a twitch of my nose 🐇
A smooth little scroll where the learning grows
The hero goes boing and the section says hi
With a carrot-bright anchor beneath the sky
Thump! The page lands where the scholars lie

✨ 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 navigation-fix

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.

@imuniqueshiv imuniqueshiv merged commit f99eda5 into main Jun 24, 2026
2 checks passed

@imuniqueshiv imuniqueshiv left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed was completed, all good.

Commented in CodeRabbit Change Stack

@RamuuXfree RamuuXfree deleted the navigation-fix branch June 25, 2026 08:46
@nitinmohan18 nitinmohan18 mentioned this pull request Jul 9, 2026
17 tasks
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