-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlayout.tsx
More file actions
53 lines (49 loc) · 1.47 KB
/
Copy pathlayout.tsx
File metadata and controls
53 lines (49 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import type { Metadata } from "next";
import Link from "next/link";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import NavBar from "@/components/NavBar";
import { Separator } from "@/components/ui/separator";
import { TooltipProvider } from "@/components/ui/tooltip";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Morphic-Agent",
description: "Mission Control for Intelligence",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased bg-background text-foreground`}
>
<TooltipProvider>
<header className="flex items-center justify-between px-4 py-2">
<div className="flex items-center gap-6">
<Link
href="/"
className="font-mono text-sm font-bold tracking-tight text-accent"
>
Morphic-Agent
</Link>
<NavBar />
</div>
<span className="text-sm text-text-muted">v0.5.0-alpha</span>
</header>
<Separator />
<main className="mx-auto max-w-7xl px-4 py-4">{children}</main>
</TooltipProvider>
</body>
</html>
);
}