Update src/app/layout.tsx

This commit is contained in:
2026-03-04 07:06:00 +00:00
parent e7b6705468
commit 0ad90f9155

View File

@@ -1,14 +1,21 @@
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
import type { Metadata } from 'next';
import { Geist, Geist_Mono } from 'next/font/google';
import './globals.css';
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
const geist = Geist({
variable: '--font-geist-sans',
subsets: ['latin'],
});
const geistMono = Geist_Mono({
variable: '--font-geist-mono',
subsets: ['latin'],
});
export const metadata: Metadata = {
title: "M&T Kelly - Geelong Electrical Services", description: "Professional electrical services in Geelong. Residential, commercial, solar, and emergency solutions."};
title: 'M&T Kelly Electrical Services',
description: 'Professional electrical services in Geelong',
};
export default function RootLayout({
children,
@@ -17,7 +24,9 @@ export default function RootLayout({
}) {
return (
<html lang="en">
<body className={`${inter.variable}`}>{children}
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `