43 lines
945 B
TypeScript
43 lines
945 B
TypeScript
import type { Metadata, Viewport } from "next";
|
|
import { Geist_Mono, Nunito_Sans } from "next/font/google";
|
|
import "./globals.css";
|
|
|
|
const nunitoSans = Nunito_Sans({
|
|
variable: "--font-nunito-sans",
|
|
subsets: ["latin"],
|
|
weight: ["200", "300", "400", "500", "600", "700", "800", "900"],
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Tibia Trade",
|
|
description:
|
|
"Marketplace seguro para negociação de itens e serviços de Tibia.",
|
|
};
|
|
|
|
export const viewport: Viewport = {
|
|
themeColor: "#09090b",
|
|
width: "device-width",
|
|
initialScale: 1,
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<html lang="pt" suppressHydrationWarning>
|
|
<body
|
|
className={`${nunitoSans.variable} ${geistMono.variable} antialiased`}
|
|
>
|
|
{children}
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|