Update src/app/layout.tsx

This commit is contained in:
2026-03-03 06:14:06 +00:00
parent 4da3aba2d6
commit 28a03d8b54

View File

@@ -1,59 +1,29 @@
import type { Metadata } from "next"; import type { Metadata } from "next";
import { Halant } from "next/font/google"; import localFont from "next/font/local";
import { Inter } from "next/font/google"; import "./styles/variables.css";
import { Raleway } from "next/font/google";
import "./globals.css"; import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const halant = Halant({ const geistSans = localFont({
variable: "--font-halant", subsets: ["latin"], src: "./fonts/GeistVF.woff2", variable: "--font-geist-sans", weight: "100 900"
weight: ["300", "400", "500", "600", "700"],
}); });
const geistMono = localFont({
const inter = Inter({ src: "./fonts/GeistMonoVF.woff2", variable: "--font-geist-mono", weight: "100 900"
variable: "--font-inter", subsets: ["latin"],
});
const raleway = Raleway({
variable: "--font-raleway", subsets: ["latin"],
}); });
export const metadata: Metadata = { export const metadata: Metadata = {
title: "Mini Market Moras | Convenience Store in Kersey, CO", description: "Your friendly neighborhood convenience store in Kersey, CO. Well-stocked with snacks, groceries, and essentials. ⭐ 5.0 rated. Call (970) 503-5033 or visit 202 1st St today.", keywords: "convenience store Kersey, mini market Colorado, grocery store near me, local market Kersey CO", metadataBase: new URL("https://minimarketmoras.com"), title: "Mini Market Moras - Local Market in Kersey, CO", description: "Your friendly neighborhood market in Kersey, Colorado. Well-stocked with quality products and friendly service."
alternates: {
canonical: "https://minimarketmoras.com"
},
openGraph: {
title: "Mini Market Moras - Kersey's Trusted Convenience Store", description: "Visit Mini Market Moras for your everyday essentials. Friendly service, great selection, and community focus. ⭐ 5.0 rated.", url: "https://minimarketmoras.com", siteName: "Mini Market Moras", type: "website", images: [
{
url: "http://img.b2bpic.net/free-photo/hipster-buying-fresh-vegetables-store_482257-76243.jpg", alt: "Mini Market Moras storefront"
}
]
},
twitter: {
card: "summary_large_image", title: "Mini Market Moras - Kersey, CO", description: "Your friendly neighborhood market. Call (970) 503-5033", images: ["http://img.b2bpic.net/free-photo/hipster-buying-fresh-vegetables-store_482257-76243.jpg"]
},
robots: {
index: true,
follow: true
}
}; };
export default function RootLayout({ export default function RootLayout({
children, children,
}: Readonly<{ }: {
children: React.ReactNode; children: React.ReactNode;
}>) { }) {
return ( return (
<html lang="en" suppressHydrationWarning> <html lang="en">
<ServiceWrapper> <body className={`${geistSans.variable} ${geistMono.variable}`}>
<body {children}
className={`${halant.variable} ${inter.variable} ${raleway.variable} antialiased`}
>
<Tag />
{children}
<script <script
dangerouslySetInnerHTML={{ dangerouslySetInnerHTML={{
__html: ` __html: `
@@ -1421,7 +1391,6 @@ export default function RootLayout({
}} }}
/> />
</body> </body>
</ServiceWrapper>
</html> </html>
); );
} }