Spaces:
Running
Running
File size: 1,289 Bytes
c4c4f17 | 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 | import type { Metadata } from "next";
import { Lato } from "next/font/google";
import { Suspense } from "react";
import "./globals.css";
import { TooltipProvider } from "@/components/ui/tooltip";
import { SidebarProvider } from "@/components/ui/sidebar";
import { AppSidebar } from "@/components/sidebar";
const lato = Lato({
weight: ["100", "300", "400", "700", "900"],
variable: "--font-lato",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Ethos Studio | Emotional Speech Recognition",
description: "Advanced emotional speech recognition and transcription studio powered by Evoxtral.",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body
className={`${lato.variable} antialiased selection:bg-black/10 font-sans`}
>
<TooltipProvider>
<SidebarProvider>
<Suspense fallback={<div className="w-64 flex-shrink-0" />}>
<AppSidebar />
</Suspense>
<main className="flex-1 flex flex-col min-w-0 min-h-screen">
{children}
</main>
</SidebarProvider>
</TooltipProvider>
</body>
</html>
);
}
|