Add Resend API-based contact form and Chatwoot widget integration. Co-authored-by: ASOwnerYT <[email protected]>
54 lines
1.3 KiB
TypeScript
54 lines
1.3 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-light-32x32.png',
|
|
media: '(prefers-color-scheme: light)',
|
|
},
|
|
{
|
|
url: '/icon-dark-32x32.png',
|
|
media: '(prefers-color-scheme: dark)',
|
|
},
|
|
{
|
|
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>
|
|
)
|
|
}
|