-
Notifications
You must be signed in to change notification settings - Fork 31
Fix/Enhanced UI with Themed Cursor, Animations & Visual Elements #56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Sandraa16012007
wants to merge
18
commits into
anshaneja5:main
Choose a base branch
from
Sandraa16012007:fix/ui-nav
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
8ffff35
Fixed dark mode inconsistency
Sandraa16012007 f7c5b5d
Resolved errors
Sandraa16012007 412e3be
Resolved errors regarding darkmode
Sandraa16012007 7bcb751
Resolved errors in useDarkMode.js
Sandraa16012007 7a3ef66
Updated useDarkMode hook
Sandraa16012007 5188707
Added back-to-top button
Sandraa16012007 aae1803
Added custom cursor
Sandraa16012007 fc16448
Fixed cursor such that it appears everywhere
Sandraa16012007 cd273a1
Added icons in front of the 100% Free Community-Driven... subtitle
Sandraa16012007 369755c
Added scroll-based animations and hover effects to homepage
Sandraa16012007 da8a455
Resolved merge conflicts
Sandraa16012007 0331af3
Removed cursor
Sandraa16012007 12eebbc
Added Sitemap
Sandraa16012007 cc8b2f8
Merge branch 'main' into fix/ui-nav
Sandraa16012007 2bdc340
Add Search component route to App.jsx
anshaneja5 668e8b1
Update src/components/HomePage.jsx
anshaneja5 fa7b05c
Resolved conflicts
Sandraa16012007 03b7eb9
Merge branch 'main' into fix/ui-nav
Sandraa16012007 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <?xml-stylesheet type="text/xsl" href="/sitemap.xsl"?> | ||
| <urlset | ||
| xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" | ||
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 | ||
| http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> | ||
| <url> | ||
| <loc>https://mldl.study/</loc> | ||
| <lastmod>2025-11-04T12:23:46+00:00</lastmod> | ||
| <priority>1.00</priority> | ||
| </url> | ||
| <url> | ||
| <loc>https://mldl.study/prerequisites</loc> | ||
| <lastmod>2025-11-04T12:23:46+00:00</lastmod> | ||
| <priority>0.80</priority> | ||
| </url> | ||
| <url> | ||
| <loc>https://mldl.study/machinelearning</loc> | ||
| <lastmod>2025-11-04T12:23:46+00:00</lastmod> | ||
| <priority>0.80</priority> | ||
| </url> | ||
| <url> | ||
| <loc>https://mldl.study/deeplearning</loc> | ||
| <lastmod>2025-11-04T12:23:46+00:00</lastmod> | ||
| <priority>0.80</priority> | ||
| </url> | ||
| <url> | ||
| <loc>https://mldl.study/genai</loc> | ||
| <lastmod>2025-11-04T12:23:46+00:00</lastmod> | ||
| <priority>0.80</priority> | ||
| </url> | ||
| <url> | ||
| <loc>https://mldl.study/questionbank</loc> | ||
| <lastmod>2025-11-04T12:23:46+00:00</lastmod> | ||
| <priority>0.80</priority> | ||
| </url> | ||
| <url> | ||
| <loc>https://mldl.study/books</loc> | ||
| <lastmod>2025-11-04T12:23:46+00:00</lastmod> | ||
| <priority>0.80</priority> | ||
| </url> | ||
| <url> | ||
| <loc>https://mldl.study/privacy</loc> | ||
| <lastmod>2025-11-04T12:23:46+00:00</lastmod> | ||
| <priority>0.50</priority> | ||
| </url> | ||
| <url> | ||
| <loc>https://mldl.study/terms</loc> | ||
| <lastmod>2025-11-04T12:23:46+00:00</lastmod> | ||
| <priority>0.50</priority> | ||
| </url> | ||
| </urlset> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,72 @@ | ||
| <!-- sitemap file --> | ||
|
|
||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <xsl:stylesheet version="1.0" | ||
| xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
| xmlns:s="http://www.sitemaps.org/schemas/sitemap/0.9"> | ||
|
|
||
| <xsl:output method="html" encoding="UTF-8"/> | ||
|
|
||
| <xsl:template match="/"> | ||
| <html> | ||
| <head> | ||
| <title>Sitemap – mldl.study</title> | ||
| <style> | ||
| body { | ||
| font-family: 'Inter', sans-serif; | ||
| background-color: #0f172a; | ||
| color: #f8fafc; | ||
| margin: 0; | ||
| padding: 2rem; | ||
| } | ||
| h1 { | ||
| color: #38bdf8; | ||
| text-align: center; | ||
| margin-bottom: 2rem; | ||
| } | ||
| table { | ||
| width: 100%; | ||
| border-collapse: collapse; | ||
| background-color: #1e293b; | ||
| border-radius: 12px; | ||
| overflow: hidden; | ||
| } | ||
| th, td { | ||
| padding: 12px 16px; | ||
| border-bottom: 1px solid #334155; | ||
| } | ||
| tr:hover { | ||
| background-color: #334155; | ||
| } | ||
| a { | ||
| color: #38bdf8; | ||
| text-decoration: none; | ||
| } | ||
| a:hover { | ||
| text-decoration: underline; | ||
| } | ||
| th { | ||
| text-align: left; | ||
| color: #94a3b8; | ||
| } | ||
| </style> | ||
| </head> | ||
| <body> | ||
| <h1>📍 Sitemap – mldl.study</h1> | ||
| <table> | ||
| <tr> | ||
| <th>URL</th> | ||
| <th>Last Modified</th> | ||
| </tr> | ||
| <!-- ✅ Notice the namespace 's:' prefix below --> | ||
| <xsl:for-each select="s:urlset/s:url"> | ||
| <tr> | ||
| <td><a href="{s:loc}" target="_blank"><xsl:value-of select="s:loc"/></a></td> | ||
| <td><xsl:value-of select="s:lastmod"/></td> | ||
| </tr> | ||
| </xsl:for-each> | ||
| </table> | ||
| </body> | ||
| </html> | ||
| </xsl:template> | ||
| </xsl:stylesheet> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,3 @@ | ||
| /* Remove the restrictive max-width and padding */ | ||
| #root { | ||
| width: 100%; | ||
| margin: 0; | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| import React, { useState, useEffect } from 'react'; | ||
| import { ArrowUp } from 'lucide-react'; | ||
|
|
||
| const BackToTopButton = () => { | ||
| const [isVisible, setIsVisible] = useState(false); | ||
|
|
||
| // Show button when page is scrolled down | ||
| const toggleVisibility = () => { | ||
| if (window.scrollY > 300) { | ||
| setIsVisible(true); | ||
| } else { | ||
| setIsVisible(false); | ||
| } | ||
| }; | ||
|
|
||
| // Scroll to top smoothly | ||
| const scrollToTop = () => { | ||
| window.scrollTo({ | ||
| top: 0, | ||
| behavior: 'smooth' | ||
| }); | ||
| }; | ||
|
|
||
| useEffect(() => { | ||
| window.addEventListener('scroll', toggleVisibility); | ||
|
|
||
| return () => { | ||
| window.removeEventListener('scroll', toggleVisibility); | ||
| }; | ||
| }, []); | ||
|
|
||
| return ( | ||
| <button | ||
| className={`fixed bottom-8 right-8 z-50 p-3 rounded-full bg-gradient-to-r from-blue-500 to-indigo-600 text-white shadow-lg hover:from-blue-600 hover:to-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 dark:focus:ring-offset-gray-900 transition-all duration-300 ${isVisible ? 'opacity-100 scale-100' : 'opacity-0 scale-90'}`} | ||
| onClick={scrollToTop} | ||
| aria-label="Go to top" | ||
| > | ||
| <ArrowUp className="w-6 h-6" /> | ||
| </button> | ||
| ); | ||
| }; | ||
|
|
||
| export default BackToTopButton; | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.