Update src/app/layout.tsx

This commit is contained in:
2026-03-08 16:35:33 +00:00
parent 7966f88c35
commit aa16e0e2c2

View File

@@ -1,57 +1,28 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Nunito } from "next/font/google";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const halant = Halant({
variable: "--font-halant", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
const geist = Geist({
variable: "--font-geist-sans", subsets: ["latin"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const nunito = Nunito({
variable: "--font-nunito", subsets: ["latin"],
const geistMono = Geist_Mono({
variable: "--font-geist-mono", subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Los Amigos Mobile Home Estates | Santa Barbara Community", description: "Peaceful mobile home community in Santa Barbara, CA. Pet-friendly, safe residential environment with convenient access to shops and services. Call (805) 687-1100.", keywords: "mobile home estates, Santa Barbara, residential community, pet-friendly, mobile home park", metadataBase: new URL("https://losamigosestates.com"),
alternates: {
canonical: "https://losamigosestates.com"},
openGraph: {
title: "Los Amigos Mobile Home Estates", description: "A peaceful and friendly mobile home community in Santa Barbara, California", type: "website", siteName: "Los Amigos Mobile Home Estates", url: "https://losamigosestates.com", images: [
{
url: "http://img.b2bpic.net/free-photo/group-friends-reading-cell-phone-messages_23-2150409969.jpg", alt: "Los Amigos Mobile Home Estates community"},
],
},
twitter: {
card: "summary_large_image", title: "Los Amigos Mobile Home Estates", description: "Peaceful mobile home community in Santa Barbara, CA", images: ["http://img.b2bpic.net/free-photo/group-friends-reading-cell-phone-messages_23-2150409969.jpg"],
},
robots: {
index: true,
follow: true,
},
};
title: "Los Amigos Mobile Home Estates", description: "A peaceful and friendly mobile home community in Santa Barbara, California"};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${nunito.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1419,7 +1390,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}