|
1 | | -import type { Metadata } from "next"; |
2 | | -import { Geist, Geist_Mono } from "next/font/google"; |
3 | | -import "./globals.css"; |
| 1 | +import type { Metadata } from "next" |
| 2 | +import { JetBrains_Mono } from "next/font/google" |
| 3 | +import { Analytics } from "@/components/Analytics" |
| 4 | +import "./globals.css" |
4 | 5 |
|
5 | | -const geistSans = Geist({ |
6 | | - variable: "--font-geist-sans", |
| 6 | +const jetbrains = JetBrains_Mono({ |
| 7 | + variable: "--font-jetbrains", |
7 | 8 | subsets: ["latin"], |
8 | | -}); |
9 | | - |
10 | | -const geistMono = Geist_Mono({ |
11 | | - variable: "--font-geist-mono", |
12 | | - subsets: ["latin"], |
13 | | -}); |
| 9 | + display: "swap", |
| 10 | +}) |
14 | 11 |
|
15 | 12 | export const metadata: Metadata = { |
16 | | - title: "Create Next App", |
17 | | - description: "Generated by create next app", |
18 | | -}; |
| 13 | + title: "AgentAudit -- AI Agent Security Scanner", |
| 14 | + description: |
| 15 | + "Paste your CLAUDE.md, .cursorrules, or MCP config. Get a security risk score + actionable fixes. Free scan, $47 full report.", |
| 16 | + keywords: [ |
| 17 | + "AI agent security", |
| 18 | + "CLAUDE.md scanner", |
| 19 | + "cursorrules audit", |
| 20 | + "MCP config security", |
| 21 | + "AI coding agent security", |
| 22 | + "agent configuration audit", |
| 23 | + ], |
| 24 | + openGraph: { |
| 25 | + title: "AgentAudit -- AI Agent Security Scanner", |
| 26 | + description: |
| 27 | + "Your AI agent has more access than your junior dev. Have you audited it?", |
| 28 | + type: "website", |
| 29 | + siteName: "AgentAudit", |
| 30 | + }, |
| 31 | + twitter: { |
| 32 | + card: "summary_large_image", |
| 33 | + title: "AgentAudit -- AI Agent Security Scanner", |
| 34 | + description: |
| 35 | + "Scan CLAUDE.md, .cursorrules, MCP configs for security vulnerabilities in 10 seconds.", |
| 36 | + }, |
| 37 | + robots: { |
| 38 | + index: true, |
| 39 | + follow: true, |
| 40 | + }, |
| 41 | +} |
19 | 42 |
|
20 | 43 | export default function RootLayout({ |
21 | 44 | children, |
22 | | -}: Readonly<{ |
23 | | - children: React.ReactNode; |
24 | | -}>) { |
| 45 | +}: { |
| 46 | + children: React.ReactNode |
| 47 | +}) { |
25 | 48 | return ( |
26 | | - <html |
27 | | - lang="en" |
28 | | - className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`} |
29 | | - > |
30 | | - <body className="min-h-full flex flex-col">{children}</body> |
| 49 | + <html lang="en" className={`${jetbrains.variable} h-full antialiased dark`}> |
| 50 | + <head> |
| 51 | + <script |
| 52 | + type="application/ld+json" |
| 53 | + dangerouslySetInnerHTML={{ |
| 54 | + __html: JSON.stringify({ |
| 55 | + "@context": "https://schema.org", |
| 56 | + "@type": "SoftwareApplication", |
| 57 | + name: "AgentAudit", |
| 58 | + description: |
| 59 | + "AI agent security scanner. Paste your CLAUDE.md, .cursorrules, or MCP config. Get a security risk score and actionable fixes.", |
| 60 | + url: "https://agentaudit.dev", |
| 61 | + applicationCategory: "SecurityApplication", |
| 62 | + operatingSystem: "Web", |
| 63 | + offers: { |
| 64 | + "@type": "Offer", |
| 65 | + price: "47", |
| 66 | + priceCurrency: "USD", |
| 67 | + availability: "https://schema.org/InStock", |
| 68 | + }, |
| 69 | + }), |
| 70 | + }} |
| 71 | + /> |
| 72 | + </head> |
| 73 | + <body className="min-h-full flex flex-col bg-background text-foreground font-mono"> |
| 74 | + <Analytics product="agentaudit" /> |
| 75 | + {children} |
| 76 | + </body> |
31 | 77 | </html> |
32 | | - ); |
| 78 | + ) |
33 | 79 | } |
0 commit comments