36 lines
946 B
TypeScript
36 lines
946 B
TypeScript
import React from "react"
|
|
import type { Metadata } from "next";
|
|
import { Inter, JetBrains_Mono } from "next/font/google";
|
|
import { AuthProvider } from "@/contexts/auth-context";
|
|
import { AppShell } from "@/components/app-shell";
|
|
|
|
import "./globals.css";
|
|
|
|
const inter = Inter({ subsets: ["latin"], variable: "--font-inter" });
|
|
const jetbrainsMono = JetBrains_Mono({
|
|
subsets: ["latin"],
|
|
variable: "--font-jetbrains-mono",
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Linse by EACH",
|
|
description:
|
|
"Manage electronic components inventory, products, and bill of materials",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" className={`${inter.variable} ${jetbrainsMono.variable}`}>
|
|
<body className="font-sans antialiased">
|
|
<AuthProvider>
|
|
<AppShell>{children}</AppShell>
|
|
</AuthProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|