mirror of
https://github.com/soconnor0919/beenvoice.git
synced 2026-05-08 17:48:55 -04:00
Add Vercel Analytics and improve PDF export layout
The main changes are: - Add Vercel Analytics to track site usage - Improve PDF invoice layout and pagination: - Better line height and padding for description text - Dynamic row height based on content length - More accurate pagination calculations - Prevent orphaned items on last page - Clean up formatting and spacing - Remove database backup and Docker files
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import "~/styles/globals.css";
|
||||
|
||||
import { Analytics } from "@vercel/analytics/next";
|
||||
import { type Metadata } from "next";
|
||||
import { Geist, Azeret_Mono } from "next/font/google";
|
||||
|
||||
@@ -29,6 +30,7 @@ export default function RootLayout({
|
||||
}: Readonly<{ children: React.ReactNode }>) {
|
||||
return (
|
||||
<html lang="en" className={`${geist.variable} ${azeretMono.variable}`}>
|
||||
<Analytics />
|
||||
<body className="relative min-h-screen overflow-x-hidden font-sans antialiased">
|
||||
<TRPCReactProvider>{children}</TRPCReactProvider>
|
||||
<Toaster />
|
||||
|
||||
Reference in New Issue
Block a user