Update src/app/layout.tsx
This commit is contained in:
@@ -1,46 +1,20 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Inter } from "next/font/google";
|
import { Inter } from "next/font/google";
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
||||||
import Tag from "@/tag/Tag";
|
|
||||||
|
|
||||||
const inter = Inter({
|
const inter = Inter({ subsets: ["latin"] });
|
||||||
variable: "--font-inter", subsets: ["latin"],
|
|
||||||
});
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
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"),
|
title: "La Bella Italia", description: "Experience Authentic Italian Cuisine"};
|
||||||
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
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
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={inter.className}>{children}
|
||||||
<body
|
|
||||||
className={`${inter.variable} antialiased`}
|
|
||||||
>
|
|
||||||
<Tag />
|
|
||||||
{children}
|
|
||||||
|
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `
|
__html: `
|
||||||
@@ -1259,7 +1233,6 @@ export default function RootLayout({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</body>
|
</body>
|
||||||
</ServiceWrapper>
|
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user