36 lines
1012 B
TypeScript
36 lines
1012 B
TypeScript
import "~/styles/globals.css";
|
|
|
|
import { Analytics } from "@vercel/analytics/next";
|
|
import { type Metadata } from "next";
|
|
import { Geist_Mono } from "next/font/google";
|
|
|
|
import { TRPCReactProvider } from "~/trpc/react";
|
|
import { Toaster } from "~/components/ui/sonner";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "beenvoice - Invoicing Made Simple",
|
|
description:
|
|
"Simple and efficient invoicing for freelancers and small businesses",
|
|
icons: [{ rel: "icon", url: "/favicon.ico" }],
|
|
};
|
|
|
|
const geistMono = Geist_Mono({
|
|
subsets: ["latin"],
|
|
variable: "--font-geist-mono",
|
|
display: "swap",
|
|
});
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{ children: React.ReactNode }>) {
|
|
return (
|
|
<html lang="en" className={geistMono.variable}>
|
|
<Analytics />
|
|
<body className="bg-background text-foreground relative min-h-screen overflow-x-hidden font-sans antialiased">
|
|
<TRPCReactProvider>{children}</TRPCReactProvider>
|
|
<Toaster />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|