Merge version_2 into main #2
@@ -1,59 +1,20 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Montserrat } 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 montserrat = Montserrat({
|
||||
variable: "--font-montserrat", subsets: ["latin"],
|
||||
});
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "52 Rental - Premium Car Rentals at Affordable Prices", description: "Book luxury and economy cars with 52 Rental. Instant booking, 24/7 support, full insurance coverage. Affordable daily, weekly, and monthly rates.", keywords: "car rental, car hire, luxury cars, vehicle rental, affordable rates, instant booking", metadataBase: new URL("https://52rental.com"),
|
||||
alternates: {
|
||||
canonical: "https://52rental.com"
|
||||
},
|
||||
openGraph: {
|
||||
title: "52 Rental - Premium Car Rentals", description: "Rent premium vehicles at affordable prices with flexible booking options and 24/7 support", url: "https://52rental.com", siteName: "52 Rental", type: "website", images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/young-woman-choosing-car-car-showroom_1303-17456.jpg", alt: "52 Rental premium car fleet"
|
||||
}
|
||||
]
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "52 Rental - Premium Car Rentals", description: "Instant car booking with full insurance coverage and 24/7 support", images: ["http://img.b2bpic.net/free-photo/young-woman-choosing-car-car-showroom_1303-17456.jpg"]
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true
|
||||
}
|
||||
};
|
||||
title: "52 Rental - Premium Car Rentals", description: "Book premium vehicles at affordable prices with 52 Rental. Instant booking, full insurance coverage, and 24/7 customer support."};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${montserrat.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="en">
|
||||
<body className={inter.className}>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1421,7 +1382,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -222,13 +222,13 @@ export default function LandingPage() {
|
||||
<ContactCenter
|
||||
tag="Ready to Rent?"
|
||||
title="Book Your Perfect Ride Today"
|
||||
description="Get exclusive offers and early access to new vehicles. Sign up for our newsletter and receive a 10% discount on your first booking!"
|
||||
description="Get 10% off your first booking when you sign up for our newsletter. Stay updated with exclusive offers and early access to new vehicles!"
|
||||
tagIcon={Heart}
|
||||
tagAnimation="slide-up"
|
||||
background={{ variant: "radial-gradient" }}
|
||||
useInvertedBackground={false}
|
||||
inputPlaceholder="Enter your email address"
|
||||
buttonText="Get Offer"
|
||||
buttonText="Claim 10% Discount"
|
||||
termsText="By signing up, you agree to our Terms of Service and Privacy Policy. Unsubscribe anytime."
|
||||
/>
|
||||
</div>
|
||||
@@ -270,4 +270,4 @@ export default function LandingPage() {
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user