mirror of
https://github.com/formbricks/formbricks.git
synced 2026-02-11 03:09:15 -06:00
Co-authored-by: Johannes <johannes@formbricks.com> Co-authored-by: Matti Nannt <mail@matthiasnannt.com>
23 lines
752 B
TypeScript
23 lines
752 B
TypeScript
import { Toaster } from "react-hot-toast";
|
|
import { FormbricksLogo } from "@formbricks/ui/FormbricksLogo";
|
|
|
|
const SetupLayout = ({ children }: { children: React.ReactNode }) => {
|
|
return (
|
|
<>
|
|
<Toaster />
|
|
<div className="flex h-full w-full items-center justify-center bg-slate-50">
|
|
<div
|
|
style={{ scrollbarGutter: "stable both-edges" }}
|
|
className="flex max-h-[90vh] w-[40rem] flex-col items-center space-y-4 overflow-auto rounded-lg border bg-white p-12 text-center shadow">
|
|
<div className="h-20 w-20 rounded-lg bg-slate-900 p-2">
|
|
<FormbricksLogo className="h-full w-full" />
|
|
</div>
|
|
{children}
|
|
</div>
|
|
</div>
|
|
</>
|
|
);
|
|
};
|
|
|
|
export default SetupLayout;
|