Update src/app/layout.tsx

This commit is contained in:
2026-03-07 12:02:15 +00:00
parent 39edb46582
commit 33b6b02ecb

View File

@@ -1,45 +1,28 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Geist, Geist_Mono } from "next/font/google";
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 geist = Geist({
variable: "--font-geist-sans", subsets: ["latin"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
const geistMono = Geist_Mono({
variable: "--font-geist-mono", subsets: ["latin"],
});
export const metadata: Metadata = {
title: "MilanoCafèDurante | Premium Coffee & Sandwiches Milano", description: "Discover MilanoCafèDurante - authentic Italian café in Milano with great coffee, fresh sandwiches, and pastries at affordable prices. Family-friendly, cozy atmosphere.", keywords: "coffee milano, sandwiches, italian café, cappuccino, espresso, aperitivo, casoretto", openGraph: {
title: "MilanoCafèDurante | Quality Coffee & Sandwiches", description: "Experience authentic Milan hospitality with premium coffee, fresh sandwiches, and pastries at the right price.", url: "https://milanocafedurante.it", siteName: "MilanoCafèDurante", images: [
{
url: "http://img.b2bpic.net/free-photo/top-view-coffee-portafilter-tamper_23-2148336770.jpg", alt: "MilanoCafèDurante - Premium Italian Coffee"},
],
type: "website"},
twitter: {
card: "summary_large_image", title: "MilanoCafèDurante | Milano's Favorite Café", description: "Quality coffee, fresh sandwiches, authentic hospitality. Visit us today!", images: ["http://img.b2bpic.net/free-photo/top-view-coffee-portafilter-tamper_23-2148336770.jpg"],
},
};
title: "MilanoCafèDurante", description: "Great sandwiches and coffee at the right price. Experience authentic Italian hospitality in the heart of Milano."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1407,7 +1390,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}