Skip to content

Conversation

@Sandraa16012007
Copy link
Contributor

@Sandraa16012007 Sandraa16012007 commented Nov 3, 2025

Title: Enhance UI with Themed Cursor, Animations & Visual Elements

Linked Issue

Fixes #21

Description:
This PR revamps the homepage UI to make it more engaging and visually consistent with the website’s theme.

Changes Made:

  • Added a custom SVG cursor (exported from Figma) that aligns with the site’s design.
  • Implemented scroll-based animations on the homepage using Framer Motion.
  • Added hover effects to various cards for better interactivity.
  • Included icons next to the “100% Free Community-Driven Real-World Skills” subtitle to make it more appealing.

Result:
A more dynamic, modern, and visually cohesive interface that enhances user experience.


Note

Adds sitemap and legal pages, centralizes dark mode via useDarkMode, integrates a BackToTop button, and introduces Framer Motion animations on the homepage.

  • SEO & Routing
    • Add public/sitemap.xml with XSL viewer public/sitemap.xsl and link in Footer.
    • Register new routes for PrivacyPolicy and TermsOfUse in src/App.jsx.
  • Theming & UX
    • Introduce src/components/useDarkMode.js and refactor multiple pages to use it (HomePage, Books, MachineLearningRoadmap, DeepLearningRoadmap, PrerequisiteRoadmap, GenerativeAIRoadmap, Journey, PrivacyPolicy, TermsOfUse).
    • Add reusable BackToTopButton and integrate across pages.
  • Homepage Enhancements
    • Implement Framer Motion–based animations, animated navbar entrance, and iconized feature badges; card hover/entrance animations.
  • Component Updates
    • Footer: improved link handling (external/mailto/sitemap) and formatting.
    • Books, QuestionBank, ResearchPaper: styling tweaks, dark mode consistency, animations, and BackToTop integration.
    • Minor CSS cleanup in src/App.css.

Written by Cursor Bugbot for commit 668e8b1. This will update automatically on new commits. Configure here.

@vercel
Copy link

vercel bot commented Nov 3, 2025

@Sandraa16012007 is attempting to deploy a commit to the Ansh's projects Team on Vercel.

A member of the Team first needs to authorize it.

@anshaneja5
Copy link
Owner

resolve merge conflicts @Sandraa16012007

@Sandraa16012007
Copy link
Contributor Author

resolve merge conflicts @Sandraa16012007

Done! @anshaneja5

@anshaneja5 anshaneja5 requested a review from Copilot November 3, 2025 17:22
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors dark mode management by introducing a centralized useDarkMode custom hook and adds several UX improvements including a back-to-top button, animations using Framer Motion, a custom cursor, and new Privacy Policy and Terms of Use pages.

  • Centralized dark mode state management with the useDarkMode hook across all components
  • Added BackToTopButton component for improved navigation on long pages
  • Integrated Framer Motion animations in HomePage and QuestionBank for enhanced user experience
  • Created Privacy Policy and Terms of Use pages with routing

Reviewed Changes

Copilot reviewed 15 out of 16 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/components/useDarkMode.js New custom hook providing centralized dark mode state management with localStorage persistence
src/components/BackToTopButton.jsx New component for scroll-to-top functionality
src/components/PrivacyPolicy.jsx New Privacy Policy page component
src/components/TermsOfUse.jsx New Terms of Use page component
src/components/HomePage.jsx Refactored to use useDarkMode hook, added Framer Motion animations and BackToTopButton
src/components/QuestionBank.jsx Replaced local dark mode logic with useDarkMode hook, added animations and BackToTopButton, removed Reinforcement Learning topic
src/components/Books.jsx Migrated to useDarkMode hook, improved dark mode styling consistency
src/components/Journey.jsx Refactored dark mode management to use useDarkMode hook
src/components/ResearchPaper.jsx Added BackToTopButton component
src/components/PrerequisiteRoadmap.jsx Replaced local dark mode state with useDarkMode hook
src/components/MachineLearningRoadmap.jsx Replaced local dark mode state with useDarkMode hook
src/components/DeepLearningRoadmap.jsx Replaced local dark mode state with useDarkMode hook
src/components/GenerativeAIRoadmap.jsx Replaced local dark mode state with useDarkMode hook
src/App.jsx Added routes for Privacy Policy and Terms of Use pages
src/App.css Added global custom cursor styling
public/cursor.svg New custom cursor SVG asset

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@anshaneja5
Copy link
Owner

Try to resolve these issues. Also remove this themed cursor. Not needed right now. Also there is some dark mode issues in a lot of pages right now, both normally in PC and in mobiles. Try to resolve that too. Add sitemap too. I have changed the tag to HARD now. You can work on it. @Sandraa16012007

@Sandraa16012007
Copy link
Contributor Author

Sandraa16012007 commented Nov 4, 2025

HI @anshaneja5 I have removed the cursor and added the sitemap...I will fix the dark mode issues on that specific issue #33 (issue) #36 PR....could u pls assign marks for these commits. I will work on the dark mode UI separately

@anshaneja5 anshaneja5 requested a review from Copilot November 4, 2025 13:36
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 18 out of 18 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -1,10 +1,14 @@
import React, { useState, useEffect } from 'react';
import { Code2, Database, Brain, Cpu, BarChart3, GitBranch, ArrowLeft, RotateCcw, Sparkles, Award } from 'lucide-react';
import { Code2, Database, Brain, Cpu, BarChart3, GitBranch, ArrowLeft, RotateCcw, Sparkles } from 'lucide-react';
Copy link

Copilot AI Nov 4, 2025

Choose a reason for hiding this comment

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

The 'Award' icon was removed from imports but there's no corresponding removal from the actual topics array visible in this diff. Ensure the RL topic that used the Award icon was actually removed from the topics array.

Copilot uses AI. Check for mistakes.
anshaneja5 and others added 2 commits November 4, 2025 19:13
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@anshaneja5
Copy link
Owner

@Sandraa16012007 resolve merge conflicts

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on December 7

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

import researchPapers from "../../categorizedRPContent";
import Navbar from './Navbar';
import { Helmet } from 'react-helmet';
import BackToTopButton from './BackToTopButton';
Copy link

Choose a reason for hiding this comment

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

Bug: Inconsistent Dark Mode Sync Across Component

The ResearchPaper component uses local dark mode state management instead of the new useDarkMode hook. This prevents it from syncing with the global dark mode state, leading to an inconsistent user experience across the application.

Fix in Cursor Fix in Web

@Sandraa16012007
Copy link
Contributor Author

@anshaneja5 Please check. Resolved conflicts

@anshaneja5 anshaneja5 requested a review from Copilot November 4, 2025 17:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 18 out of 18 changed files in this pull request and generated no new comments.

Comments suppressed due to low confidence (1)

src/components/QuestionBank.jsx:23

  • The bookmarks state variable is referenced in this useEffect hook, but its state declaration was removed in the diff. The removed lines show that const [bookmarks, setBookmarks] = useState(...) was deleted, but the variable is still used on line 22 in the dependency array and in line 231 with setBookmarks. This will cause a ReferenceError at runtime.
  useEffect(() => {
    localStorage.setItem('bookmarkedQuestions', JSON.stringify(bookmarks));
  }, [bookmarks]);

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@anshaneja5
Copy link
Owner

@Sandraa16012007 site layout, question bank is broken.

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.

UI and Navigation help....

2 participants