diff --git a/frontend/src/components/Layout/Footer.jsx b/frontend/src/components/Layout/Footer.jsx index 95a7472..2340c1f 100644 --- a/frontend/src/components/Layout/Footer.jsx +++ b/frontend/src/components/Layout/Footer.jsx @@ -1,4 +1,5 @@ -import { FaGithub, FaLinkedin, FaTwitter } from "react-icons/fa"; +import { FaGithub, FaLinkedin } from "react-icons/fa"; +import { BsTwitterX } from "react-icons/bs"; import { useTheme } from "../../contexts/ThemeContext"; const Footer = () => { @@ -19,7 +20,7 @@ const Footer = () => { { platform: "Twitter", url: "https://twitter.com/your_twitter_handle", - icon: , + icon: , }, ]; diff --git a/frontend/src/pages/GraphVisualizer.jsx b/frontend/src/pages/GraphVisualizer.jsx index 621dccc..c4decb9 100644 --- a/frontend/src/pages/GraphVisualizer.jsx +++ b/frontend/src/pages/GraphVisualizer.jsx @@ -546,92 +546,105 @@ const GraphVisualizer = () => { ? 'bg-gray-800/20 border-gray-700/50' : 'bg-white/20 border-white/50' }`}> -
-
-
-

+
+
+
+

Graph Algorithm Visualizer

Interactive graph algorithm visualization platform

- -
- {/* Search Bar */} -
- - setSearchTerm(e.target.value)} - className={`w-full sm:w-auto pl-10 pr-4 py-2 rounded-lg backdrop-blur-md border transition-all ${ - isDark - ? 'bg-gray-800/50 border-gray-600 text-white' - : 'bg-white/50 border-white/30 text-gray-800' + +
+ {/* Search + Theme Toggle */} +
+
+ + setSearchTerm(e.target.value)} + className={`pl-10 pr-4 py-2 w-full rounded-lg backdrop-blur-md border transition-all ${ + darkMode + ? "bg-gray-800/50 border-gray-600 text-white" + : "bg-white/50 border-white/30 text-gray-800" + }`} + /> +
+ + {/* Theme Toggle */} +
- {/* Theme Toggle */} - - - {/* Algorithm Selector */} - - - {/* User Menu */} -
+ {/* Algorithm Selector + User Menu */} +
+ {/* Algorithm Selector */} - - {showUserMenu && ( -
-
- + + {/* User Menu */} +
+ + + {showUserMenu && ( +
+
+ +
-
- )} + )} +
+ {/* Algorithm Selector */} {isAlgorithmSelectorOpen && (