Skip to content

Commit 3bea0f6

Browse files
authored
Merge pull request #103 from codeunia-dev/fix/headernavissue
fix the header nav issue
2 parents 9521fbd + fdf7240 commit 3bea0f6

File tree

4 files changed

+7
-200
lines changed

4 files changed

+7
-200
lines changed

app/layout.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { Geist } from "next/font/google";
33
import { ThemeProvider } from "next-themes";
44
import { Toaster } from "sonner";
55

6-
import ThemeAwareFavicon from "@/components/ThemeAwareFavicon";
76
// Only load dev tools in development
87
const ReactDevTools = () => null;
98
const AuthDebug = () => null;
@@ -50,7 +49,6 @@ export default function RootLayout({
5049
return (
5150
<html lang="en" suppressHydrationWarning>
5251
<head>
53-
{/* Favicon will be managed dynamically by ThemeAwareFavicon component */}
5452
</head>
5553
<body className={`${geistSans.className} antialiased`} suppressHydrationWarning>
5654
<ThemeProvider
@@ -59,7 +57,6 @@ export default function RootLayout({
5957
enableSystem={true}
6058
disableTransitionOnChange
6159
>
62-
<ThemeAwareFavicon />
6360
{children}
6461
<Toaster richColors position="top-center" />
6562

components/ThemeAwareFavicon.tsx

Lines changed: 0 additions & 25 deletions
This file was deleted.

hooks/useFavicon.ts

Lines changed: 0 additions & 172 deletions
This file was deleted.

next.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ const nextConfig = {
1313
images: {
1414
formats: ['image/webp', 'image/avif'],
1515
minimumCacheTTL: 60,
16+
remotePatterns: [
17+
{
18+
protocol: 'https',
19+
hostname: 'ocnorlktyfswjqgvzrve.supabase.co',
20+
pathname: '/storage/v1/object/public/**',
21+
},
22+
],
1623
},
1724

1825
// Bundle analyzer (uncomment for debugging)

0 commit comments

Comments
 (0)