From 427f4e2a9ac4f79c45b2ba2948dae295221488da Mon Sep 17 00:00:00 2001 From: kuekhaoyang Date: Mon, 12 Jan 2026 19:41:18 +0800 Subject: [PATCH] Update --- app/layout.tsx | 3 ++- components/layout/Navbar.tsx | 1 - components/player/PlayerNavbar.tsx | 1 - package-lock.json | 39 ++++++++++++++++++++++++++++++ package.json | 1 + 5 files changed, 42 insertions(+), 3 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index 398bbbf..73e9ca1 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -2,6 +2,7 @@ import type { Metadata } from "next"; import { Geist, Geist_Mono } from "next/font/google"; import "./globals.css"; import { ThemeProvider } from "@/components/ThemeProvider"; +import { Analytics } from "@vercel/analytics/react"; import { ServiceWorkerRegister } from "@/components/ServiceWorkerRegister"; import { PasswordGate } from "@/components/PasswordGate"; import { siteConfig } from "@/lib/config/site-config"; @@ -20,7 +21,6 @@ const geistMono = Geist_Mono({ export const metadata: Metadata = { title: siteConfig.title, description: siteConfig.description, - referrer: 'no-referrer', icons: { icon: '/icon.png', }, @@ -41,6 +41,7 @@ export default function RootLayout({ {children} + diff --git a/components/layout/Navbar.tsx b/components/layout/Navbar.tsx index 210cf40..1d839c2 100644 --- a/components/layout/Navbar.tsx +++ b/components/layout/Navbar.tsx @@ -34,7 +34,6 @@ export function Navbar({ onReset, isPremiumMode = false }: NavbarProps) { width={40} height={40} className="object-contain" - unoptimized />
diff --git a/components/player/PlayerNavbar.tsx b/components/player/PlayerNavbar.tsx index dedb864..8985f49 100644 --- a/components/player/PlayerNavbar.tsx +++ b/components/player/PlayerNavbar.tsx @@ -25,7 +25,6 @@ export function PlayerNavbar({ isPremium }: { isPremium?: boolean }) { width={40} height={40} className="object-contain" - unoptimized />