mirror of
https://github.com/formbricks/formbricks.git
synced 2025-12-30 02:10:12 -06:00
25 lines
664 B
TypeScript
25 lines
664 B
TypeScript
import HeaderLight from "../salespage/HeaderLight";
|
|
import Footer from "./Footer";
|
|
import MetaInformation from "./MetaInformation";
|
|
|
|
interface LayoutProps {
|
|
children: React.ReactNode;
|
|
title: string;
|
|
description: string;
|
|
}
|
|
|
|
export default function Layout({ title, description, children }: LayoutProps) {
|
|
return (
|
|
<div className="mx-auto w-full">
|
|
<MetaInformation title={title} description={description} />
|
|
<HeaderLight />
|
|
{
|
|
<main className="max-w-8xl relative mx-auto flex w-full flex-col justify-center space-y-32 px-6 py-24 lg:px-24 xl:px-36 ">
|
|
{children}
|
|
</main>
|
|
}
|
|
<Footer />
|
|
</div>
|
|
);
|
|
}
|