* 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
37 lines
901 B
TypeScript
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>
|
|
);
|
|
}
|