Files
GibSend/apps/web/src/app/layout.tsx
KM Koushik 5ddc0a7bb9 Add unsend campaign feature (#45)
* Add unsend email editor

Add email editor

Add more email editor

Add renderer partial

Add more marketing email features

* Add more campaign feature

* Add variables

* Getting there

* campaign is there mfs

* Add migration
2024-08-10 10:09:10 +10:00

37 lines
901 B
TypeScript

import "@unsend/ui/styles/globals.css";
import { Inter } from "next/font/google";
import { ThemeProvider } from "@unsend/ui";
import { Toaster } from "@unsend/ui/src/toaster";
import { TRPCReactProvider } from "~/trpc/react";
import { Metadata } from "next";
const inter = Inter({
subsets: ["latin"],
variable: "--font-sans",
});
export const metadata: Metadata = {
title: "Unsend",
description: "Open source sending infrastructure for developers",
icons: [{ rel: "icon", url: "/favicon.ico" }],
};
export default async function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en">
<body className={`font-sans ${inter.variable} app`}>
<ThemeProvider attribute="class" defaultTheme="dark">
<Toaster />
<TRPCReactProvider>{children}</TRPCReactProvider>
</ThemeProvider>
</body>
</html>
);
}