53 lines
1.3 KiB
TypeScript
53 lines
1.3 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
import "./globals.css";
|
|
|
|
const geistSans = Geist({
|
|
variable: "--font-geist-sans",
|
|
subsets: ["latin"],
|
|
display: "swap",
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
display: "swap",
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "JUNOHUB | Modern Commerce Infrastructure",
|
|
description: "The world's most advanced encrypted ecosystem for vendors and suppliers.",
|
|
viewport: "width=device-width, initial-scale=1, maximum-scale=5",
|
|
};
|
|
|
|
export const viewport = {
|
|
width: "device-width",
|
|
initialScale: 1,
|
|
};
|
|
|
|
import { Providers } from "@/components/providers";
|
|
import { ErrorBoundary } from "@/components/ErrorBoundary";
|
|
import { SmoothScroll } from "@/components/SmoothScroll";
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en">
|
|
<body
|
|
className={`${geistSans.variable} ${geistMono.variable} antialiased selection:bg-indigo-500/30`}
|
|
>
|
|
<ErrorBoundary>
|
|
<Providers>
|
|
<SmoothScroll>
|
|
{children}
|
|
</SmoothScroll>
|
|
</Providers>
|
|
</ErrorBoundary>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|