amirmoghi3.ir/layouts/pageLayout.tsx

23 lines
655 B
TypeScript
Raw 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 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;