|
1 | | -import { Provider } from "@/components/provider"; |
2 | | -import { getBaseUrl } from "@/lib/urls"; |
3 | | -import "./global.css"; |
4 | | -import { Inter, Barlow } from "next/font/google"; |
5 | | -import type { Metadata } from "next"; |
6 | | -import type { ReactNode } from "react"; |
| 1 | +import { Provider } from '@/components/provider'; |
| 2 | +import { getBaseUrl } from '@/lib/urls'; |
| 3 | +import './global.css'; |
| 4 | +import { Inter, Barlow } from 'next/font/google'; |
| 5 | +import type { Metadata } from 'next'; |
| 6 | +import type { ReactNode } from 'react'; |
| 7 | +import Script from 'next/script'; |
7 | 8 |
|
8 | 9 | const inter = Inter({ |
9 | | - subsets: ["latin"], |
10 | | - variable: "--font-inter", |
| 10 | + subsets: ['latin'], |
| 11 | + variable: '--font-inter', |
11 | 12 | }); |
12 | 13 |
|
13 | 14 | const barlow = Barlow({ |
14 | | - subsets: ["latin"], |
15 | | - weight: ["400", "500", "600", "700"], |
16 | | - variable: "--font-barlow", |
| 15 | + subsets: ['latin'], |
| 16 | + weight: ['400', '500', '600', '700'], |
| 17 | + variable: '--font-barlow', |
17 | 18 | }); |
18 | 19 |
|
19 | 20 | export const metadata: Metadata = { |
20 | 21 | metadataBase: new URL(getBaseUrl()), |
21 | | - title: "Prisma Documentation", |
| 22 | + title: 'Prisma Documentation', |
22 | 23 | description: |
23 | | - "Documentation for Prisma ORM, Prisma Postgres, Prisma Accelerate, and the Prisma ecosystem. Build type-safe database applications with ease.", |
| 24 | + 'Documentation for Prisma ORM, Prisma Postgres, Prisma Accelerate, and the Prisma ecosystem. Build type-safe database applications with ease.', |
24 | 25 | }; |
25 | 26 |
|
26 | 27 | export default function Layout({ children }: { children: ReactNode }) { |
27 | 28 | return ( |
28 | | - <html lang="en" className={`${inter.variable} ${barlow.variable}`} suppressHydrationWarning> |
| 29 | + <html |
| 30 | + lang="en" |
| 31 | + className={`${inter.variable} ${barlow.variable}`} |
| 32 | + suppressHydrationWarning |
| 33 | + > |
29 | 34 | <body className="flex flex-col min-h-screen"> |
30 | 35 | <Provider>{children}</Provider> |
| 36 | + <Script |
| 37 | + async |
| 38 | + src="https://cdn.tolt.io/tolt.js" |
| 39 | + data-tolt="fda67739-7ed0-42d2-b716-6da0edbec191" |
| 40 | + /> |
| 41 | + <Script |
| 42 | + async |
| 43 | + src="https://cdn-cookieyes.com/client_data/96980f76df67ad5235fc3f0d/script.js" |
| 44 | + id="cookieyes" |
| 45 | + /> |
31 | 46 | </body> |
32 | 47 | </html> |
33 | 48 | ); |
|
0 commit comments