26 lines
568 B
TypeScript
26 lines
568 B
TypeScript
import type { Metadata } from "next";
|
|
import { Inter } from "next/font/google";
|
|
import "./globals.css";
|
|
|
|
const inter = Inter({
|
|
variable: "--font-inter",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "IoT DC UPS Dashboard",
|
|
description: "Monitor your UPS status real-time",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" className={`${inter.variable}`} suppressHydrationWarning>
|
|
<body suppressHydrationWarning>{children}</body>
|
|
</html>
|
|
);
|
|
}
|