forked from ZyntariHQ/Invoisio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout.tsx
More file actions
60 lines (56 loc) · 1.74 KB
/
Copy pathlayout.tsx
File metadata and controls
60 lines (56 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
import type React from "react"
import type { Metadata } from "next"
import { Inter, Poppins } from "next/font/google"
import { Analytics } from "@vercel/analytics/next"
import { Suspense } from "react"
import { Navigation } from "@/components/navigation"
import { ThemeProvider } from "@/components/theme-provider"
import { ServiceWorkerRegister } from "@/components/service-worker-register"
import "./globals.css"
const inter = Inter({
subsets: ["latin"],
variable: "--font-inter",
display: "swap",
})
const poppins = Poppins({
subsets: ["latin"],
weight: ["400", "500", "600", "700"],
variable: "--font-poppins",
display: "swap",
})
export const metadata: Metadata = {
title: "Invoisio - Smart Invoice Generator for Freelancers and Businesses",
description:
"Create and send professional invoices easily with our intuitive invoice generator — streamline your billing process today.",
generator: "v0.app",
manifest: "/manifest.webmanifest",
themeColor: "#0ea5e9",
icons: {
icon: "/assest/invoisio_logo.svg",
apple: "/assest/invoisio_logo.png",
shortcut: "/assest/invoisio_logo.png",
},
appleWebApp: {
capable: true,
statusBarStyle: "default",
title: "Invoisio",
},
}
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode
}>) {
return (
<html lang="en" suppressHydrationWarning>
<body className={`font-sans ${inter.variable} ${poppins.variable} antialiased`}>
<ThemeProvider attribute="class" defaultTheme="light" enableSystem disableTransitionOnChange>
<Navigation />
<Suspense fallback={null}>{children}</Suspense>
<Analytics />
<ServiceWorkerRegister />
</ThemeProvider>
</body>
</html>
)
}