Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e07c570a39 | |||
| bb5d4f171a | |||
| 171e2f80c0 |
@@ -1,59 +1,20 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Halant } from "next/font/google";
|
|
||||||
import { Inter } from "next/font/google";
|
import { Inter } from "next/font/google";
|
||||||
import { Montserrat } from "next/font/google";
|
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
|
||||||
import Tag from "@/tag/Tag";
|
|
||||||
|
|
||||||
const halant = Halant({
|
const inter = Inter({ subsets: ["latin"] });
|
||||||
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"],
|
|
||||||
});
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
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"),
|
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."};
|
||||||
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
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
}: Readonly<{
|
}: {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}>) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en">
|
||||||
<ServiceWrapper>
|
<body className={inter.className}>{children}
|
||||||
<body
|
|
||||||
className={`${halant.variable} ${inter.variable} ${montserrat.variable} antialiased`}
|
|
||||||
>
|
|
||||||
<Tag />
|
|
||||||
{children}
|
|
||||||
|
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `
|
__html: `
|
||||||
@@ -1421,7 +1382,6 @@ export default function RootLayout({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</body>
|
</body>
|
||||||
</ServiceWrapper>
|
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -222,13 +222,13 @@ export default function LandingPage() {
|
|||||||
<ContactCenter
|
<ContactCenter
|
||||||
tag="Ready to Rent?"
|
tag="Ready to Rent?"
|
||||||
title="Book Your Perfect Ride Today"
|
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}
|
tagIcon={Heart}
|
||||||
tagAnimation="slide-up"
|
tagAnimation="slide-up"
|
||||||
background={{ variant: "radial-gradient" }}
|
background={{ variant: "radial-gradient" }}
|
||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
inputPlaceholder="Enter your email address"
|
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."
|
termsText="By signing up, you agree to our Terms of Service and Privacy Policy. Unsubscribe anytime."
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -270,4 +270,4 @@ export default function LandingPage() {
|
|||||||
</div>
|
</div>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user