diff --git a/public/images/knowhere/favicon.svg b/public/images/knowhere/favicon.svg
new file mode 100644
index 00000000..63a9bda8
--- /dev/null
+++ b/public/images/knowhere/favicon.svg
@@ -0,0 +1,7 @@
+
diff --git a/public/images/knowhere/logo-mark.svg b/public/images/knowhere/logo-mark.svg
new file mode 100644
index 00000000..33009170
--- /dev/null
+++ b/public/images/knowhere/logo-mark.svg
@@ -0,0 +1,3 @@
+
diff --git a/src/app/favicon.ico b/src/app/favicon.ico
index 718d6fea..c01aa003 100644
Binary files a/src/app/favicon.ico and b/src/app/favicon.ico differ
diff --git a/src/app/login/page.tsx b/src/app/login/page.tsx
index 8ae3bc73..930a50fd 100644
--- a/src/app/login/page.tsx
+++ b/src/app/login/page.tsx
@@ -29,7 +29,7 @@ export async function LoginContent() {
-
+
Knowhere Brain
diff --git a/src/components/notebook-logo-mark.tsx b/src/components/notebook-logo-mark.tsx
index 79208dc4..34d1fac6 100644
--- a/src/components/notebook-logo-mark.tsx
+++ b/src/components/notebook-logo-mark.tsx
@@ -1,8 +1,9 @@
import Image from "next/image";
+import { cn } from "@/lib/utils";
const DASHBOARD_MARK = {
- height: 84,
- width: 92,
+ height: 42,
+ width: 37,
} as const;
type NotebookLogoMarkProps = {
@@ -15,10 +16,10 @@ export function NotebookLogoMark({ width, className }: NotebookLogoMarkProps) {
return (
{
@@ -22,7 +22,7 @@ describe("notebook page icon", () => {
const serializedIcons: string = JSON.stringify(appMetadata.icons);
expect(serializedIcons).toContain(notebookIconPath);
- expect(serializedIcons).toContain("image/png");
+ expect(serializedIcons).toContain("image/svg+xml");
});
it("keeps the configured icon asset available from public", async () => {
@@ -31,7 +31,7 @@ describe("notebook page icon", () => {
"public",
"images",
"knowhere",
- "logo-icon.png",
+ "favicon.svg",
);
await expect(hasFile(iconFilePath)).resolves.toBe(true);
diff --git a/src/lib/app-metadata.ts b/src/lib/app-metadata.ts
index db9b41dc..3c31af89 100644
--- a/src/lib/app-metadata.ts
+++ b/src/lib/app-metadata.ts
@@ -7,9 +7,9 @@ export const appMetadata: Metadata = {
icons: {
icon: [
{
- url: "/images/knowhere/logo-icon.png",
- type: "image/png",
- sizes: "92x84",
+ url: "/images/knowhere/favicon.svg",
+ type: "image/svg+xml",
+ sizes: "any",
},
],
},