31 lines
731 B
JavaScript
31 lines
731 B
JavaScript
// Author: Shiv
|
|
// Date: April 2026
|
|
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
import "./globals.css";
|
|
import DisplayNav from "@/components/Navigation";
|
|
import Footer from "@/components/Footer";
|
|
import ClientProviders from "@/components/ClientProviders";
|
|
|
|
//Page title and description
|
|
export const metadata = {
|
|
title: "Leon's Pet Store",
|
|
description: "Generated by create next app",
|
|
};
|
|
|
|
//Root layout
|
|
//Wraps every page with the nav, footer, and all context providers
|
|
export default function RootLayout({children}) {
|
|
return (
|
|
<html lang="en">
|
|
<body>
|
|
<ClientProviders>
|
|
<DisplayNav />
|
|
{children}
|
|
<Footer />
|
|
</ClientProviders>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|