Files
formbricks-formbricks/apps/formbricks-com/components/shared/LayoutLight.tsx
Johannes b5928e71e5 Add Best Practices to Landingpage (#281)
* Update landingpage
2023-05-12 14:25:17 +02:00

25 lines
659 B
TypeScript

import Footer from "./Footer";
import MetaInformation from "./MetaInformation";
import HeaderLight from "./HeaderLight";
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} />
<HeaderLight />
{
<main className="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>
);
}