49 lines
1.1 KiB
TypeScript
49 lines
1.1 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Space_Grotesk, Inter } from "next/font/google";
|
|
import { Analytics } from "@vercel/analytics/next";
|
|
import { ChatwootWidget } from "@/components/chatwoot";
|
|
import "./globals.css";
|
|
|
|
const spaceGrotesk = Space_Grotesk({
|
|
subsets: ["latin"],
|
|
variable: "--font-sans",
|
|
});
|
|
const inter = Inter({
|
|
subsets: ["latin"],
|
|
variable: "--font-body",
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Cloudrite | Every Business Needs an I.T Guy",
|
|
description:
|
|
"Auckland-based IT services company helping small businesses with websites, cloud hosting, IT support and repairs. We make tech simple.",
|
|
generator: "v0.app",
|
|
icons: {
|
|
icon: [
|
|
{
|
|
url: "/icon.svg",
|
|
type: "image/svg+xml",
|
|
},
|
|
],
|
|
apple: "/apple-icon.png",
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en">
|
|
<body
|
|
className={`${spaceGrotesk.variable} ${inter.variable} font-sans antialiased`}
|
|
>
|
|
{children}
|
|
<Analytics />
|
|
<ChatwootWidget />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|