38 lines
881 B
TypeScript
38 lines
881 B
TypeScript
import type { Metadata } from "next"
|
|
import { Inter } from "next/font/google"
|
|
import "./globals.css"
|
|
import { QueryProvider } from "@/components/providers/QueryProvider"
|
|
import AuthGuard from "@/components/AuthGuard"
|
|
import Script from "next/script"
|
|
|
|
const inter = Inter({ subsets: ["latin"] })
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Audio Classifier",
|
|
description: "Intelligent audio library management and classification",
|
|
icons: {
|
|
icon: '/favicon.ico',
|
|
},
|
|
}
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode
|
|
}) {
|
|
return (
|
|
<html lang="en">
|
|
<head>
|
|
<Script src="/config.js" strategy="beforeInteractive" />
|
|
</head>
|
|
<body className={inter.className}>
|
|
<QueryProvider>
|
|
<AuthGuard>
|
|
{children}
|
|
</AuthGuard>
|
|
</QueryProvider>
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|