All checks were successful
Build and publish the docker image / build (push) Successful in 1m20s
Signed-off-by: ngn <ngn@ngn.tf>
25 lines
494 B
TypeScript
25 lines
494 B
TypeScript
import { ReactNode } from 'react';
|
|
import Footer from './Footer';
|
|
import Header from './Header';
|
|
|
|
type Props = {
|
|
full?: true;
|
|
children: ReactNode;
|
|
className: string;
|
|
originalPath?: string;
|
|
};
|
|
|
|
const Layout = ({ full, children, className, originalPath }: Props) => {
|
|
return (
|
|
<>
|
|
<Header full={full} originalPath={originalPath} />
|
|
<main id='main' className={`main ${className}`}>
|
|
{children}
|
|
</main>
|
|
<Footer />
|
|
</>
|
|
);
|
|
};
|
|
|
|
export default Layout;
|