You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
634 B
28 lines
634 B
import type { Metadata } from "next";
|
|
import { GeistSans } from "geist/font/sans";
|
|
import { GeistMono } from "geist/font/mono";
|
|
import { AuthProvider } from "@/hooks/use-auth";
|
|
import "./globals.css";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "查价系统",
|
|
description: "美美与共报价中台",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html
|
|
lang="zh-CN"
|
|
className={`${GeistSans.variable} ${GeistMono.variable}`}
|
|
>
|
|
<body className="font-sans">
|
|
<AuthProvider>{children}</AuthProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|