mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-05 13:21:18 +00:00
- in-app chat is meant for support requests and currently is only in the settings page, where users are most likely to go if confused IMO
47 lines
1.4 KiB
TypeScript
47 lines
1.4 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { noto_sans, noto_sans_arabic } from "@/app/fonts";
|
|
import "../globals.css";
|
|
import { Toaster } from "@/components/ui/toaster";
|
|
import { ContentSecurityPolicy } from "../common/layoutHelper";
|
|
import { ChatwootWidget } from "../components/chatWoot/ChatwootWidget";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Khoj AI - Settings",
|
|
description: "Configure Khoj to get personalized, deeper assistance.",
|
|
icons: {
|
|
icon: "/static/assets/icons/khoj_lantern.ico",
|
|
apple: "/static/assets/icons/khoj_lantern_256x256.png",
|
|
},
|
|
openGraph: {
|
|
siteName: "Khoj AI",
|
|
title: "Khoj AI - Settings",
|
|
description: "Your Second Brain.",
|
|
url: "https://app.khoj.dev/settings",
|
|
type: "website",
|
|
images: [
|
|
{
|
|
url: "https://assets.khoj.dev/khoj_lantern_256x256.png",
|
|
width: 256,
|
|
height: 256,
|
|
},
|
|
],
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" className={`${noto_sans.variable} ${noto_sans_arabic.variable}`}>
|
|
<ContentSecurityPolicy />
|
|
<body>
|
|
{children}
|
|
<Toaster />
|
|
<ChatwootWidget />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|