mirror of
https://github.com/formbricks/formbricks.git
synced 2026-02-09 18:58:46 -06:00
24 lines
591 B
TypeScript
24 lines
591 B
TypeScript
import { SpeedInsights } from "@vercel/speed-insights/next";
|
|
import { Metadata } from "next";
|
|
|
|
import "./globals.css";
|
|
|
|
export const metadata: Metadata = {
|
|
title: {
|
|
template: "%s | Formbricks",
|
|
default: "Formbricks",
|
|
},
|
|
description: "Open-Source Survey Suite",
|
|
};
|
|
|
|
const RootLayout = ({ children }: { children: React.ReactNode }) => {
|
|
return (
|
|
<html lang="en">
|
|
{process.env.VERCEL === "1" && <SpeedInsights sampleRate={0.1} />}
|
|
<body className="flex h-dvh flex-col transition-all ease-in-out">{children}</body>
|
|
</html>
|
|
);
|
|
};
|
|
|
|
export default RootLayout;
|