diff --git a/README.md b/README.md
index f969113..69fc4c7 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,3 @@
-
-
-
-

-
NextSound
-
A music discovery app built with React and TypeScript.
Browse tracks, albums, and artists using Spotify's API.
@@ -171,5 +165,10 @@ npm run preview
Built with ❤️ for music lovers everywhere
-
Discover your next favorite track with NextSound
+
+
+
+hi you are cool - and I love you!
+
+Nice lol
diff --git a/package-lock.json b/package-lock.json
index 3bbb40b..6c4c8bb 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -6677,9 +6677,9 @@
}
},
"node_modules/glob": {
- "version": "10.4.5",
- "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz",
- "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==",
+ "version": "10.5.0",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz",
+ "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==",
"license": "ISC",
"dependencies": {
"foreground-child": "^3.1.0",
@@ -7529,9 +7529,9 @@
"license": "MIT"
},
"node_modules/js-yaml": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
- "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz",
+ "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -10481,9 +10481,9 @@
}
},
"node_modules/vite": {
- "version": "7.1.6",
- "resolved": "https://registry.npmjs.org/vite/-/vite-7.1.6.tgz",
- "integrity": "sha512-SRYIB8t/isTwNn8vMB3MR6E+EQZM/WG1aKmmIUCfDXfVvKfc20ZpamngWHKzAmmu9ppsgxsg4b2I7c90JZudIQ==",
+ "version": "7.2.4",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-7.2.4.tgz",
+ "integrity": "sha512-NL8jTlbo0Tn4dUEXEsUg8KeyG/Lkmc4Fnzb8JXN/Ykm9G4HNImjtABMJgkQoVjOBN/j2WAwDTRytdqJbZsah7w==",
"dev": true,
"license": "MIT",
"dependencies": {
diff --git a/package.json b/package.json
index ac62853..4fe62f2 100644
--- a/package.json
+++ b/package.json
@@ -75,4 +75,4 @@
"vite": "^7.1.6",
"vite-plugin-eslint": "^1.8.1"
}
-}
+}
\ No newline at end of file
diff --git a/src/App.tsx b/src/App.tsx
index e5b4f2d..819985d 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -8,7 +8,6 @@ import {
ScrollToTop,
Loader,
ErrorBoundary,
- DemoModeBadge,
} from "@/common";
import { CommandPalette } from "@/components/ui/CommandPalette";
@@ -39,7 +38,6 @@ const App = () => {
<>
setIsCommandPaletteOpen(true)} />
-
diff --git a/src/common/DemoModeBadge/index.tsx b/src/common/DemoModeBadge/index.tsx
deleted file mode 100644
index d64017b..0000000
--- a/src/common/DemoModeBadge/index.tsx
+++ /dev/null
@@ -1,18 +0,0 @@
-import { shouldUseMockData } from "@/data/mockMusicData";
-
-const DemoModeBadge = () => {
- const isDemoMode = shouldUseMockData();
-
- if (!isDemoMode) {
- return null;
- }
-
- return (
-
- );
-};
-
-export default DemoModeBadge;
\ No newline at end of file
diff --git a/src/common/Header/index.tsx b/src/common/Header/index.tsx
index 658dbb3..ca90ab7 100644
--- a/src/common/Header/index.tsx
+++ b/src/common/Header/index.tsx
@@ -5,7 +5,6 @@ import { BsMoonStarsFill } from "react-icons/bs";
import { AiOutlineMenu } from "react-icons/ai";
import { FiSun } from "react-icons/fi";
import { FiSearch } from "react-icons/fi";
-import throttle from "lodash.throttle";
import { Button } from "react-aria-components";
import { ThemeMenu, Logo } from "..";
@@ -15,7 +14,6 @@ import { useGlobalContext } from "@/context/globalContext";
import { useTheme } from "@/context/themeContext";
import { maxWidth } from "@/styles";
import { navLinks } from "@/constants";
-import { THROTTLE_DELAY } from "@/utils/config";
import { cn } from "@/utils/helper";
interface HeaderProps {
@@ -26,36 +24,9 @@ const Header = ({ onOpenSearch }: HeaderProps) => {
const { openMenu, theme, showThemeOptions } = useTheme();
const { setShowSidebar } = useGlobalContext();
- const [isActive, setIsActive] = useState(false);
const [isNotFoundPage, setIsNotFoundPage] = useState(false);
const location = useLocation();
- useEffect(() => {
- const handleBackgroundChange = () => {
- const body = document.body;
- if (
- window.scrollY > 0 ||
- (body.classList.contains("no-scroll") &&
- parseFloat(body.style.top) * -1 > 0)
- ) {
- setIsActive(true);
- } else {
- setIsActive(false);
- }
- };
-
- const throttledHandleBackgroundChange = throttle(
- handleBackgroundChange,
- THROTTLE_DELAY
- );
-
- window.addEventListener("scroll", throttledHandleBackgroundChange);
-
- return () => {
- window.removeEventListener("scroll", throttledHandleBackgroundChange);
- };
- }, []);
-
useEffect(() => {
if (location.pathname.split("/").length > 3) {
setIsNotFoundPage(true);
@@ -64,24 +35,20 @@ const Header = ({ onOpenSearch }: HeaderProps) => {
}
}, [location.pathname]);
+ // Permanently active (fixed black header)
+ const isActive = true;
+
return (