25 lines
730 B
TypeScript
25 lines
730 B
TypeScript
import Footer from "@/Footer";
|
||
import Navbar from "@/Navbar";
|
||
import type { NextPage } from "next";
|
||
import Head from "next/head";
|
||
|
||
|
||
const MainLayout: NextPage = ({ children }) => {
|
||
return (
|
||
<div className="w-screen h-screen bg-dark-primary p-5 ">
|
||
<Head>
|
||
<title>Amirmoghi3 | امیرحسین مقیسه</title>
|
||
<meta name="description" content="amir hossein moghiseh personal page" />
|
||
<link rel="icon" href="/favicon.ico" />
|
||
</Head>
|
||
<main className='bg-light-primary w-full h-full'>
|
||
<Navbar />
|
||
{children}
|
||
<Footer />
|
||
</main>
|
||
</div>
|
||
)
|
||
|
||
}
|
||
|
||
export default MainLayout; |