import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
import Providers from "./providers";
import NotificationToast from "@/components/NotificationToast";

export const metadata: Metadata = {
  title: "录音应用",
  description: "一个现代化的录音应用",
};

export default function RootLayout({
  children,
}: {
  children: React.ReactNode;
}) {
  return (
    <html lang="zh-CN">
      <body>
        <Providers>
          {children}
          <NotificationToast />
        </Providers>
      </body>
    </html>
  );
}
