Update src/app/layout.tsx
This commit is contained in:
@@ -1,57 +1,26 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Public_Sans } from "next/font/google";
|
||||
import { DM_Sans } from "next/font/google";
|
||||
import "./styles/base.css";
|
||||
import "./styles/variables.css";
|
||||
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 inter = Inter({
|
||||
variable: "--font-inter", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const publicSans = Public_Sans({
|
||||
variable: "--font-public-sans", subsets: ["latin"],
|
||||
const dmSans = DM_Sans({
|
||||
variable: "--font-dm-sans", subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Trattoria Italia - Authentic Italian Restaurant", description: "Experience authentic Italian cuisine and warm hospitality at Trattoria Italia. Traditional handcrafted pasta dishes and regional Italian specialties since 1995.", keywords: "Italian restaurant, authentic pasta, fine dining, Italian cuisine, family restaurant", metadataBase: new URL("https://trattoria-italia.com"),
|
||||
alternates: {
|
||||
canonical: "https://trattoria-italia.com"},
|
||||
openGraph: {
|
||||
title: "Trattoria Italia - Authentic Italian Restaurant", description: "Experience authentic Italian cuisine and warm hospitality. Traditional handcrafted pasta dishes and regional Italian specialties.", siteName: "Trattoria Italia", type: "website", images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/beautiful-decorated-table-with-pine-leaf_8353-10194.jpg", alt: "Elegant Italian restaurant interior"},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "Trattoria Italia - Authentic Italian Restaurant", description: "Experience authentic Italian cuisine and warm hospitality. Reserve your table today.", images: ["http://img.b2bpic.net/free-photo/beautiful-decorated-table-with-pine-leaf_8353-10194.jpg"],
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
};
|
||||
title: "DeCasa Wood-Fired Pizza - Best Pizza in Midland, TX", description: "Premium wood-fired pizza crafted with 48-hour fermented dough. MRT Best of Midland 2024 & 2025. Located at 3302 Bedford Ave, Midland TX. Award-winning wood-fired pizza with local ingredients."};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${publicSans.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body className={dmSans.variable}>
|
||||
{children}
|
||||
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1419,7 +1388,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user