23 lines
655 B
TypeScript
23 lines
655 B
TypeScript
|
|
import GoBack from "@/GoBack";
|
|||
|
|
import type { NextPage } from "next";
|
|||
|
|
import Head from "next/head";
|
|||
|
|
|
|||
|
|
|
|||
|
|
const PageLayout: NextPage = ({ children }) => {
|
|||
|
|
return (
|
|||
|
|
<div className="w-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'>
|
|||
|
|
<GoBack />
|
|||
|
|
{children}
|
|||
|
|
</main>
|
|||
|
|
</div>
|
|||
|
|
)
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
export default PageLayout;
|