diff --git a/apps/web/app/layout.tsx b/apps/web/app/layout.tsx
index e5a1966..90d8a96 100644
--- a/apps/web/app/layout.tsx
+++ b/apps/web/app/layout.tsx
@@ -8,6 +8,18 @@ const inter = Inter({ subsets: ['latin'] });
export const metadata: Metadata = {
title: 'NATS Console',
description: 'Enterprise-grade management console for NATS JetStream',
+ icons: {
+ icon: [
+ { url: '/favicon.ico', sizes: 'any' },
+ { url: '/favicon-16x16.png', sizes: '16x16', type: 'image/png' },
+ { url: '/favicon-32x32.png', sizes: '32x32', type: 'image/png' },
+ ],
+ apple: '/apple-touch-icon.png',
+ other: [
+ { rel: 'android-chrome-192x192', url: '/android-chrome-192x192.png' },
+ { rel: 'android-chrome-512x512', url: '/android-chrome-512x512.png' },
+ ],
+ },
};
export default function RootLayout({
diff --git a/apps/web/components/logo.tsx b/apps/web/components/logo.tsx
index 6db533e..0446f40 100644
--- a/apps/web/components/logo.tsx
+++ b/apps/web/components/logo.tsx
@@ -1,4 +1,5 @@
import Link from 'next/link';
+import Image from 'next/image';
import { cn } from '@/lib/utils';
interface LogoProps {
@@ -10,21 +11,20 @@ interface LogoProps {
export function Logo({ className, showText = true, size = 'md', href = '/' }: LogoProps) {
const sizes = {
- sm: { icon: 'h-6 w-6', text: 'text-base' },
- md: { icon: 'h-8 w-8', text: 'text-lg' },
- lg: { icon: 'h-10 w-10', text: 'text-xl' },
+ sm: { icon: 24, text: 'text-base' },
+ md: { icon: 32, text: 'text-lg' },
+ lg: { icon: 40, text: 'text-xl' },
};
const content = (
-
- N
-
+
{showText && (
NATS Console
)}
diff --git a/apps/web/public/android-chrome-192x192.png b/apps/web/public/android-chrome-192x192.png
new file mode 100644
index 0000000..380b825
Binary files /dev/null and b/apps/web/public/android-chrome-192x192.png differ
diff --git a/apps/web/public/android-chrome-512x512.png b/apps/web/public/android-chrome-512x512.png
new file mode 100644
index 0000000..26d1872
Binary files /dev/null and b/apps/web/public/android-chrome-512x512.png differ
diff --git a/apps/web/public/apple-touch-icon.png b/apps/web/public/apple-touch-icon.png
new file mode 100644
index 0000000..cbe796f
Binary files /dev/null and b/apps/web/public/apple-touch-icon.png differ
diff --git a/apps/web/public/favicon-16x16.png b/apps/web/public/favicon-16x16.png
new file mode 100644
index 0000000..698d228
Binary files /dev/null and b/apps/web/public/favicon-16x16.png differ
diff --git a/apps/web/public/favicon-32x32.png b/apps/web/public/favicon-32x32.png
new file mode 100644
index 0000000..db6caf3
Binary files /dev/null and b/apps/web/public/favicon-32x32.png differ
diff --git a/apps/web/public/favicon.ico b/apps/web/public/favicon.ico
new file mode 100644
index 0000000..28613fa
Binary files /dev/null and b/apps/web/public/favicon.ico differ
diff --git a/apps/web/public/icon.png b/apps/web/public/icon.png
new file mode 100644
index 0000000..26d1872
Binary files /dev/null and b/apps/web/public/icon.png differ
diff --git a/apps/web/public/icon.svg b/apps/web/public/icon.svg
new file mode 100644
index 0000000..bf6f697
--- /dev/null
+++ b/apps/web/public/icon.svg
@@ -0,0 +1,18 @@
+
\ No newline at end of file