Switch to version 2: modified src/app/layout.tsx

This commit is contained in:
2026-03-03 06:12:06 +00:00
parent aae5db5899
commit ad11bf09fe

View File

@@ -1,25 +1,58 @@
import type { Metadata } from "next";
import localFont from "next/font/local";
import "./styles/variables.css";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Raleway } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const geistSans = localFont({
src: "./fonts/GeistVF.woff2", variable: "--font-geist-sans", weight: "100 900"});
const geistMono = localFont({
src: "./fonts/GeistMonoVF.woff2", variable: "--font-geist-mono", weight: "100 900"});
const halant = Halant({
variable: "--font-halant", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const raleway = Raleway({
variable: "--font-raleway", subsets: ["latin"],
});
export const metadata: Metadata = {
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."};
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"),
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({
children,
}: {
}: Readonly<{
children: React.ReactNode;
}) {
}>) {
return (
<html lang="en">
<body className={`${geistSans.variable} ${geistMono.variable}`}>
{children}
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${raleway.variable} antialiased`}
>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
@@ -1388,6 +1421,7 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}