Files
formbricks-formbricks/apps/formbricks-com/components/shared/LayoutPMF.tsx
2023-01-30 14:07:29 +01:00

25 lines
663 B
TypeScript

import Footer from "./Footer";
import HeaderPMF from "./HeaderPMF";
import MetaInformation from "./MetaInformation";
interface LayoutProps {
children: React.ReactNode;
title: string;
description: string;
}
export default function Layout({ title, description, children }: LayoutProps) {
return (
<div className="flex h-screen flex-col justify-between">
<MetaInformation title={title} description={description} />
<HeaderPMF />
{
<main className="max-w-8xl relative mx-auto mb-auto flex w-full flex-col justify-center sm:px-2 lg:px-8 xl:px-12">
{children}
</main>
}
<Footer />
</div>
);
}