diff --git a/src/ProfilesList.json b/src/ProfilesList.json index 39c85ab5..221511cb 100644 --- a/src/ProfilesList.json +++ b/src/ProfilesList.json @@ -380,6 +380,7 @@ "Harshgupta2125.json", "Abhi0049k.json", "drishtii.json", + "sumitdashrathgupta.json", "NishantRana07.json", "asabhi6776.json", "AkashJana18.json", diff --git a/src/components/Sidebar/Sidebar.jsx b/src/components/Sidebar/Sidebar.jsx deleted file mode 100644 index a9ff6f78..00000000 --- a/src/components/Sidebar/Sidebar.jsx +++ /dev/null @@ -1,94 +0,0 @@ -import React, { useState, useEffect } from 'react'; -import { FaLinkedin } from 'react-icons/fa'; -import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; -import { faCode, faMoon, faSun } from '@fortawesome/free-solid-svg-icons'; -import { useNavigate } from 'react-router-dom'; - -function Sidebar() { - const navigate = useNavigate(); - const [theme, setTheme] = useState(() => { - const storedTheme = JSON.parse(localStorage.getItem('theme')); - return storedTheme || (document.documentElement.classList.contains('dark') ? 'dark' : 'light'); - }); - - useEffect(() => { - const htmlElement = document.documentElement; - htmlElement.classList.toggle('dark', theme === 'dark'); - htmlElement.classList.toggle('light', theme === 'light'); - localStorage.setItem('theme', JSON.stringify(theme)); - }, [theme]); - - function toggleTheme() { - setTheme((prevTheme) => (prevTheme === 'dark' ? 'light' : 'dark')); - } - - function handleTechDisplay() { - navigate('/TechDisplay'); - } - - return ( -