Files
formbricks-formbricks/apps/formbricks-com/components/shared/Layout.tsx
Matti Nannt 80617811c2 Add new landingpage with waitlist, update Formbricks App to handle custom waitlist survey (#185)
* add new landingpage for user research surveys
* update Formbricks App to support custom surveys

Co-authored-by: knugget <johannes@knugget.de>
2023-01-19 15:34:22 +01:00

27 lines
726 B
TypeScript

import FeedbackButton from "./FeedbackButton";
import Footer from "./Footer";
import Header from "./Header";
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} />
<Header />
<FeedbackButton />
{
<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>
);
}