Update src/app/layout.tsx
This commit is contained in:
@@ -1,46 +1,20 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Inter } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter", subsets: ["latin"],
|
||||
});
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "La Bella Italia - Authentic Italian Restaurant", description: "Experience authentic Italian cuisine in an elegant setting. Fresh ingredients, traditional recipes, and premium wines. Make your reservation today.", keywords: "Italian restaurant, authentic cuisine, fine dining, pasta, wine", metadataBase: new URL("https://labellaitalia.com"),
|
||||
alternates: {
|
||||
canonical: "https://labellaitalia.com"
|
||||
},
|
||||
openGraph: {
|
||||
title: "La Bella Italia - Authentic Italian Restaurant", description: "Experience authentic Italian cuisine in an elegant setting. Fresh ingredients, traditional recipes, and premium wines.", type: "website", siteName: "La Bella Italia", images: [{
|
||||
url: "https://img.b2bpic.net/free-photo/close-up-large-tube-pasta-with-chicken-cherry-tomato-with-chopped-parsley_141793-1840.jpg", alt: "La Bella Italia - Authentic Italian Cuisine"
|
||||
}]
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "La Bella Italia - Authentic Italian Restaurant", description: "Experience authentic Italian cuisine. Fresh ingredients, traditional recipes, premium wines.", images: ["https://img.b2bpic.net/free-photo/close-up-large-tube-pasta-with-chicken-cherry-tomato-with-chopped-parsley_141793-1840.jpg"]
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true
|
||||
}
|
||||
};
|
||||
title: "La Bella Italia", description: "Experience Authentic Italian Cuisine"};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${inter.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body className={inter.className}>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1259,7 +1233,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user