amirmoghi3.ir/layouts/pageLayout.tsx

25 lines
715 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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