Update src/app/layout.tsx

This commit is contained in:
2026-03-04 16:30:51 +00:00
parent 2398afc539
commit c176db17f8

View File

@@ -1,75 +1,21 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Lato } 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 inter = Inter({
variable: "--font-inter",
subsets: ["latin"],
});
const lato = Lato({
variable: "--font-lato",
subsets: ["latin"],
weight: ["100", "300", "400", "700", "900"],
});
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "BookMyShow - Book Movie & Event Tickets Online",
description: "Book movies, events, sports & shows instantly. Browse showtimes, check availability, and reserve seats at BookMyShow. Trusted by 5M+ users across India.",
keywords: "movie tickets, book cinema tickets, events booking, sports tickets, live shows, entertainment platform",
metadataBase: new URL("https://www.bookmyshow.com"),
alternates: {
canonical: "https://www.bookmyshow.com",
},
openGraph: {
title: "BookMyShow - Your Entertainment Platform",
description: "Discover, book, and enjoy movies, events, and shows at BookMyShow.",
url: "https://www.bookmyshow.com",
siteName: "BookMyShow",
type: "website",
images: [
{
url: "http://img.b2bpic.net/free-photo/girl-big-cinema-hall-with-popcorn_23-2147768004.jpg",
alt: "BookMyShow Entertainment Platform",
},
],
},
twitter: {
card: "summary_large_image",
title: "BookMyShow - Book Tickets for Movies & Events",
description: "Fast, secure booking for movies, live events, and shows.",
images: ["http://img.b2bpic.net/free-photo/girl-big-cinema-hall-with-popcorn_23-2147768004.jpg"],
},
robots: {
index: true,
follow: true,
},
title: "UGNNN Shows - Book Your Entertainment", description: "Discover movies, live events, shows, and sports experiences. Reserve your seats instantly with UGNNN Shows - your ultimate entertainment companion."
};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${lato.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={inter.className}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1437,7 +1383,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}
}