71 lines
2.4 KiB
TypeScript
71 lines
2.4 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Halant } from "next/font/google";
|
|
import { Inter } from "next/font/google";
|
|
import "./globals.css";
|
|
import "@/lib/gsap-setup";
|
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
import Tag from "@/tag/Tag";
|
|
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
|
import { Inter_Tight } from "next/font/google";
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'BusConnect - Book Bus Tickets Online | Real-time Tracking',
|
|
description: 'BusConnect: Your ultimate mobile app for seamless bus ticket booking, real-time tracking, seat selection, and digital tickets. Travel smart and hassle-free.',
|
|
keywords: ["bus booking app, online bus tickets, real-time bus tracking, seat selection, digital tickets, travel app, bus connect, India bus booking"],
|
|
openGraph: {
|
|
"title": "BusConnect - Book Bus Tickets Online | Real-time Tracking",
|
|
"description": "BusConnect: Your ultimate mobile app for seamless bus ticket booking, real-time tracking, seat selection, and digital tickets. Travel smart and hassle-free.",
|
|
"url": "https://www.busconnect.com",
|
|
"siteName": "BusConnect",
|
|
"images": [
|
|
{
|
|
"url": "http://img.b2bpic.net/free-photo/woman-holding-blank-smartphone-bus_23-2148770382.jpg",
|
|
"alt": "BusConnect App Interface"
|
|
}
|
|
],
|
|
"type": "website"
|
|
},
|
|
twitter: {
|
|
"card": "summary_large_image",
|
|
"title": "BusConnect - Book Bus Tickets Online | Real-time Tracking",
|
|
"description": "BusConnect: Your ultimate mobile app for seamless bus ticket booking, real-time tracking, seat selection, and digital tickets. Travel smart and hassle-free.",
|
|
"images": [
|
|
"http://img.b2bpic.net/free-photo/woman-holding-blank-smartphone-bus_23-2148770382.jpg"
|
|
]
|
|
},
|
|
robots: {
|
|
"index": true,
|
|
"follow": true
|
|
},
|
|
};
|
|
|
|
const interTight = Inter_Tight({
|
|
variable: "--font-inter-tight",
|
|
subsets: ["latin"],
|
|
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
|
|
});
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<ServiceWrapper>
|
|
<body className={`${interTight.variable} antialiased`}>
|
|
<Tag />
|
|
{children}
|
|
<script
|
|
dangerouslySetInnerHTML={{
|
|
__html: `${getVisualEditScript()}`
|
|
}}
|
|
/>
|
|
</body>
|
|
</ServiceWrapper>
|
|
</html>
|
|
);
|
|
}
|