personal-site/layouts/general_layout/GeneralLayout.jsx

22 lines
715 B
React
Raw Normal View History

2022-03-11 10:43:00 +00:00
import React, { Fragment } from 'react';
import GeneralHeader from './GeneralHeader';
2022-03-11 12:19:52 +00:00
import Head from "next/head"
2022-03-11 12:36:23 +00:00
import GeneralFooter from './GeneralFooter';
2022-01-06 05:27:13 +00:00
2022-03-11 10:43:00 +00:00
const GeneralLayout = ({ children }) => {
2022-01-06 05:27:13 +00:00
return (
<Fragment>
2022-03-11 12:19:52 +00:00
<Head>
<meta name="keywords" content="UI/UX designer, Full Stack Web Developer, Web/graphic/motion designer, React Developer, NextJS developer, Node JS developer, Javascript Developer, Linux Ubuntu, DevOps, Nginx, MySQL developer, Freelancer" />
</Head>
2022-03-11 10:43:00 +00:00
<GeneralHeader />
2022-03-11 12:36:23 +00:00
<main>
2022-03-11 12:19:52 +00:00
{ children }
2022-03-11 12:36:23 +00:00
</main>
<GeneralFooter />
2022-01-06 05:27:13 +00:00
</Fragment>
)
}
export default GeneralLayout