Update src/app/layout.tsx

This commit is contained in:
2026-03-05 08:34:34 +00:00
parent eb70ff3175
commit f3f5fde01b

View File

@@ -1,59 +1,23 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Manrope } from "next/font/google";
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 manrope = Manrope({
variable: "--font-manrope", subsets: ["latin"],
});
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "La Café - Specialty Coffee & Community", description: "Experience artisan specialty coffee at La Café. Premium single-origin beans, expert baristas, and a welcoming community space. Visit us today.", keywords: "specialty coffee, café, espresso, barista, single-origin coffee, community space", metadataBase: new URL("https://lacafe.com"),
alternates: {
canonical: "https://lacafe.com"
},
openGraph: {
title: "La Café - Specialty Coffee Experience", description: "Discover handcrafted coffee and community at La Café", url: "https://lacafe.com", siteName: "La Café", type: "website", images: [
{
url: "http://img.b2bpic.net/free-photo/barista-work-coffee-shop_158595-2333.jpg", alt: "La Café specialty coffee"
}
]
},
twitter: {
card: "summary_large_image", title: "La Café - Your Perfect Cup", description: "Experience specialty coffee at its finest", images: ["http://img.b2bpic.net/free-photo/barista-work-coffee-shop_158595-2333.jpg"]
},
robots: {
index: true,
follow: true
}
};
title: "La Café - Specialty Coffee", description: "Experience the art of specialty coffee crafted with passion and precision."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${manrope.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={inter.className}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1421,7 +1385,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}