Files
GibSend/apps/web/src/app/layout.tsx
KM Koushik b75b125981 add new design (#70)
* add new design stuff

* add more ui things

* add more ui changes

* more ui changes

* add more design

* update emoji
2024-09-28 20:48:26 +10:00

37 lines
902 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="light">
<Toaster />
<TRPCReactProvider>{children}</TRPCReactProvider>
</ThemeProvider>
</body>
</html>
);
}