chore: setup project for production
This commit is contained in:
40
app/layout.js
Normal file
40
app/layout.js
Normal file
@@ -0,0 +1,40 @@
|
||||
import { Toaster } from "react-hot-toast";
|
||||
import { ContextProvider } from "./contexts/mainContext";
|
||||
import "./globals.css";
|
||||
|
||||
import NavigationWrapper from "./NavigationWrapper";
|
||||
import WrapperFooter from "./WrapperFooter";
|
||||
import { ProductContextProvider } from "./contexts/productContext";
|
||||
import { CurrencyProvider } from "./contexts/currencyContext";
|
||||
|
||||
export const metadata = {
|
||||
title: "Gupta Rudraksha",
|
||||
description: "Powered by Rudraksha",
|
||||
};
|
||||
|
||||
export default function RootLayout({ children }) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<head>
|
||||
<link rel="icon" href="/logo1.jpg" />
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Questrial&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
</head>
|
||||
<body>
|
||||
<Toaster position="top-center" />
|
||||
|
||||
<ContextProvider>
|
||||
<CurrencyProvider>
|
||||
<ProductContextProvider>
|
||||
<NavigationWrapper />
|
||||
{children}
|
||||
<WrapperFooter />
|
||||
</ProductContextProvider>
|
||||
</CurrencyProvider>
|
||||
</ContextProvider>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user