Update favicon
This commit is contained in:
+22
-27
@@ -1,53 +1,48 @@
|
||||
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'
|
||||
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({
|
||||
const spaceGrotesk = Space_Grotesk({
|
||||
subsets: ["latin"],
|
||||
variable: '--font-sans'
|
||||
variable: "--font-sans",
|
||||
});
|
||||
const inter = Inter({
|
||||
const inter = Inter({
|
||||
subsets: ["latin"],
|
||||
variable: '--font-body'
|
||||
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',
|
||||
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',
|
||||
url: "/icon.svg",
|
||||
type: "image/svg+xml",
|
||||
},
|
||||
],
|
||||
apple: '/apple-icon.png',
|
||||
apple: "/apple-icon.png",
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
children: React.ReactNode
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body className={`${spaceGrotesk.variable} ${inter.variable} font-sans antialiased`}>
|
||||
<body
|
||||
className={`${spaceGrotesk.variable} ${inter.variable} font-sans antialiased`}
|
||||
>
|
||||
{children}
|
||||
<Analytics />
|
||||
<ChatwootWidget />
|
||||
</body>
|
||||
</html>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user