Update src/app/layout.tsx

This commit is contained in:
2026-03-16 13:51:21 +00:00
parent ac9697aaa3
commit 9a0cb89f3f

View File

@@ -1,24 +1,61 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { DM_Sans } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { DM_Sans } from "next/font/google";
const halant = Halant({
variable: "--font-halant",
subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
export const metadata: Metadata = {
title: "Webild components 2",
description: "Generated by create next app",
};
const inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const dmSans = DM_Sans({
variable: "--font-dm-sans",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Red Barn Veterinary Service - Sidney, Illinois",
description: "Trusted veterinary care in Sidney, IL. Expert compassionate vet clinic offering wellness exams, diagnostics, senior pet care, and emergency services. Call (217) 688-2800.",
keywords: "Sidney Illinois veterinarian, veterinary clinic Sidney IL, affordable vet Sidney Illinois, pet vet near Sidney IL, animal hospital",
metadataBase: new URL("https://redbarnvet.com"),
alternates: {
canonical: "https://redbarnvet.com",
},
openGraph: {
title: "Red Barn Veterinary Service - Sidney, IL",
description: "20+ years of trusted, compassionate veterinary care for Sidney-area pets and families.",
url: "https://redbarnvet.com",
siteName: "Red Barn Veterinary Service",
images: [
{
url: "http://img.b2bpic.net/free-photo/medium-shot-doctor-checking-smiley-dog_23-2149304330.jpg",
alt: "Red Barn Veterinary Service",
},
],
type: "website",
},
twitter: {
card: "summary_large_image",
title: "Red Barn Veterinary Service",
description: "Expert, compassionate veterinary care in Sidney, Illinois.",
images: ["http://img.b2bpic.net/free-photo/medium-shot-doctor-checking-smiley-dog_23-2149304330.jpg"],
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: Readonly<{
@@ -27,7 +64,9 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body className={`${dmSans.variable} antialiased`}>
<body
className={`${halant.variable} ${inter.variable} ${dmSans.variable} antialiased`}
>
<Tag />
{children}
<script
@@ -39,4 +78,4 @@ export default function RootLayout({
</ServiceWrapper>
</html>
);
}
}