Update src/app/layout.tsx
This commit is contained in:
@@ -1,67 +1,17 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Public_Sans } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
|
||||
const publicSans = Public_Sans({
|
||||
variable: "--font-public-sans",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Aesthetic Cafe | Where Every Sip Becomes a Moment",
|
||||
description: "Experience the ultimate Instagram-worthy cafe. Handcrafted specialty drinks, artisan pastries, and beautifully designed spaces perfect for remote work or celebrations.",
|
||||
keywords: "aesthetic cafe, specialty coffee, artisan pastries, Instagram cafe, remote work space, cafe reservations, coffee culture, instagrammable spaces",
|
||||
metadataBase: new URL("https://aestheticcafe.com"),
|
||||
alternates: {
|
||||
canonical: "https://aestheticcafe.com",
|
||||
},
|
||||
openGraph: {
|
||||
title: "Aesthetic Cafe | Where Every Sip Becomes a Moment",
|
||||
description: "Discover our carefully curated aesthetic cafe with handcrafted drinks, Instagramperfect spaces, and unforgettable vibes.",
|
||||
url: "https://aestheticcafe.com",
|
||||
siteName: "Aesthetic Cafe",
|
||||
type: "website",
|
||||
images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/confident-young-indian-man-black-shirt-standing-cafe_627829-5462.jpg",
|
||||
alt: "Aesthetic Cafe interior with warm lighting",
|
||||
},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: "Aesthetic Cafe | Where Every Sip Becomes a Moment",
|
||||
description: "Experience handcrafted coffee and artisan pastries in our beautifully designed aesthetic spaces.",
|
||||
images: ["http://img.b2bpic.net/free-photo/confident-young-indian-man-black-shirt-standing-cafe_627829-5462.jpg"],
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
};
|
||||
title: "Aesthetic Cafe", description: "Where Every Sip Becomes a Moment"};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${publicSans.variable} ${inter.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1429,7 +1379,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user