Skip to content

Commit

Permalink
Format next.js web app with prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
debanjum committed Aug 4, 2024
1 parent 046cd3f commit d51022d
Show file tree
Hide file tree
Showing 61 changed files with 5,777 additions and 5,056 deletions.
16 changes: 8 additions & 8 deletions src/interface/web/app/agents/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,19 @@ export const metadata: Metadata = {
title: "Khoj AI - Agents",
description: "Find a specialized agent that can help you address more specific needs.",
icons: {
icon: '/static/favicon.ico',
icon: "/static/favicon.ico",
},
};

export default function RootLayout({
children,
children,
}: Readonly<{
children: React.ReactNode;
children: React.ReactNode;
}>) {
return (
<html lang="en">
<meta httpEquiv="Content-Security-Policy"
<meta
httpEquiv="Content-Security-Policy"
content="default-src 'self' https://assets.khoj.dev;
media-src * blob:;
script-src 'self' https://assets.khoj.dev 'unsafe-inline' 'unsafe-eval';
Expand All @@ -28,10 +29,9 @@ export default function RootLayout({
img-src 'self' data: https://*.khoj.dev https://*.googleusercontent.com https://*.google.com/ https://*.gstatic.com;
font-src 'self' https://assets.khoj.dev https://fonts.gstatic.com;
child-src 'none';
object-src 'none';"></meta>
<body className={inter.className}>
{children}
</body>
object-src 'none';"
></meta>
<body className={inter.className}>{children}</body>
</html>
);
}
372 changes: 207 additions & 165 deletions src/interface/web/app/agents/page.tsx

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions src/interface/web/app/automations/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ import { Toaster } from "@/components/ui/toaster";

import "../globals.css";


export const metadata: Metadata = {
title: "Khoj AI - Automations",
description: "Use Autoomations with Khoj to simplify the process of running repetitive tasks.",
icons: {
icon: '/static/favicon.ico',
icon: "/static/favicon.ico",
},
};

Expand Down
Loading

0 comments on commit d51022d

Please sign in to comment.