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

This commit is contained in:
2026-03-09 17:52:23 +00:00
parent fa1fac08e8
commit 8352d71eee

View File

@@ -1,22 +1,51 @@
import type { Metadata } from 'next';
import { Inter } from 'next/font/google';
import './globals.css';
import type { Metadata } from "next";
import { Manrope } from "next/font/google";
import { DM_Sans } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const inter = Inter({ subsets: ['latin'] });
const manrope = Manrope({
variable: "--font-manrope", subsets: ["latin"],
});
const dmSans = DM_Sans({
variable: "--font-dm-sans", subsets: ["latin"],
});
export const metadata: Metadata = {
title: 'Tortellino\'s Farm - Fresh Farm-to-Table Pasta Delivered Daily',
description: 'Experience authentic Italian tortellini crafted from the finest organic ingredients. From our farm to your table in minutes.',
title: "Tortellino's Farm | Fresh Farm-to-Table Pasta Delivery", description: "Experience authentic Italian tortellini crafted from organic ingredients. Same-day delivery of farm-fresh pasta to your door.", keywords: "tortellini, pasta delivery, organic pasta, Italian food, farm fresh, local delivery", metadataBase: new URL("https://tortellinos-farm.com"),
alternates: {
canonical: "https://tortellinos-farm.com"},
openGraph: {
title: "Tortellino's Farm - Fresh Pasta Delivered Daily", description: "Authentic Italian tortellini from our farm to your table in minutes.", url: "https://tortellinos-farm.com", siteName: "Tortellino's Farm", type: "website", images: [
{
url: "http://img.b2bpic.net/free-photo/arrangement-with-preserved-tomatoes_23-2148606772.jpg", alt: "Fresh tortellini from Tortellino's Farm"},
],
},
twitter: {
card: "summary_large_image", title: "Tortellino's Farm - Farm-to-Table Pasta", description: "Order fresh, organic Italian tortellini. Same-day delivery available.", images: ["http://img.b2bpic.net/free-photo/arrangement-with-preserved-tomatoes_23-2148606772.jpg"],
},
robots: {
index: true,
follow: true,
},
};
export default function RootLayout({
children,
}: {
}: Readonly<{
children: React.ReactNode;
}) {
}>) {
return (
<html lang="en">
<body className={inter.className}>{children}
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${manrope.variable} ${dmSans.variable} antialiased`}
>
<Tag />
{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1384,6 +1413,7 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}