forked from Transparency/kgroad-frontend2
36 lines
783 B
TypeScript
36 lines
783 B
TypeScript
import type { Metadata } from "next";
|
|
import "./globals.scss";
|
|
import "./App.scss";
|
|
// import "@/shared/fonts/fonts.scss";
|
|
import { Providers } from "./Providers";
|
|
import Navbar from "@/widgets/Navbar/Navbar";
|
|
import Footer from "@/widgets/Footer/Footer";
|
|
import { GoogleAnalytics } from '@next/third-parties/google'
|
|
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en">
|
|
<head>
|
|
</head>
|
|
<body>
|
|
<Providers>
|
|
<Navbar />
|
|
<div className="app">{children}</div>
|
|
<Footer />
|
|
</Providers>
|
|
</body>
|
|
|
|
{/*
|
|
|
|
Disable google analytics in uat
|
|
<GoogleAnalytics gaId={process.env.NEXT_PUBLIC_GOOGLE_ANALYTICS || ""} />
|
|
*/}
|
|
</html>
|
|
);
|
|
}
|