Files
libremdb/src/components/layout/index.tsx
ngn d9c37b7f8f
All checks were successful
Build and publish the docker image / build (push) Successful in 1m20s
add footer to the layout
Signed-off-by: ngn <ngn@ngn.tf>
2025-01-20 00:31:02 +03:00

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;