2026-03-09 16:31:21 -04:00
|
|
|
import type { Metadata } from "next";
|
|
|
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
|
|
|
import "./globals.css";
|
2026-03-10 08:17:45 -04:00
|
|
|
import { Providers } from "@/components/providers";
|
|
|
|
|
import { Sidebar } from "@/components/layout/sidebar";
|
2026-03-09 16:31:21 -04:00
|
|
|
|
|
|
|
|
const geistSans = Geist({
|
|
|
|
|
variable: "--font-geist-sans",
|
|
|
|
|
subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const geistMono = Geist_Mono({
|
|
|
|
|
variable: "--font-geist-mono",
|
|
|
|
|
subsets: ["latin"],
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
2026-03-10 08:17:45 -04:00
|
|
|
title: "Echo OCR",
|
|
|
|
|
description: "Response card scanning and management",
|
2026-03-09 16:31:21 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: Readonly<{
|
|
|
|
|
children: React.ReactNode;
|
|
|
|
|
}>) {
|
|
|
|
|
return (
|
2026-03-10 08:17:45 -04:00
|
|
|
<html lang="en" suppressHydrationWarning>
|
2026-03-09 16:31:21 -04:00
|
|
|
<body
|
2026-03-10 08:17:45 -04:00
|
|
|
className={`${geistSans.variable} ${geistMono.variable} font-sans antialiased`}
|
2026-03-09 16:31:21 -04:00
|
|
|
>
|
2026-03-10 08:17:45 -04:00
|
|
|
<Providers>
|
|
|
|
|
<div className="flex min-h-screen">
|
|
|
|
|
<Sidebar />
|
|
|
|
|
<main className="flex-1 pt-14 md:pt-0 md:pl-[240px]">
|
|
|
|
|
<div className="p-6 md:p-8">{children}</div>
|
|
|
|
|
</main>
|
|
|
|
|
</div>
|
|
|
|
|
</Providers>
|
2026-03-09 16:31:21 -04:00
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|