Merge version_2 into main #4
@@ -1,48 +1,20 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Lato } from "next/font/google";
|
||||
import { Cairo } 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 cairo = Cairo({ subsets: ["arabic"] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "احجز فنادقك في الجزائر - أفضل الأسعار والخدمة", description: "منصة حجز فنادق موثوقة متخصصة في الفنادق الجزائرية. اختر من أفضل الخيارات في جميع الولايات بأسعار تنافسية", keywords: "فنادق الجزائر، حجز فندق، الجزائر العاصمة، عنابة، قسنطينة، وهران، سطيف", openGraph: {
|
||||
title: "احجز فنادقك في الجزائر", description: "اكتشف وحجز أفضل الفنادق في الجزائر بسهولة", type: "website", siteName: "فندق الجزائر", images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/luxury-poolside-experience-where-guests-bask-opulence-cabanas_1268-31113.jpg", alt: "فندق فاخر في الجزائر"},
|
||||
],
|
||||
},
|
||||
};
|
||||
title: "فندق الجزائر - احجز فنادقك الآن", description: "احجز إقامتك في أفخم فنادق الجزائر بأسعار تنافسية"};
|
||||
|
||||
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="ar" dir="rtl">
|
||||
<body className={cairo.className}>{children}
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1410,7 +1382,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
103
src/app/page.tsx
103
src/app/page.tsx
@@ -35,7 +35,7 @@ export default function LandingPage() {
|
||||
{ name: "الولايات", id: "provinces" },
|
||||
{ name: "الآراء", id: "testimonials" },
|
||||
]}
|
||||
button={{ text: "احجز الآن", href: "#booking-simulator" }}
|
||||
button={{ text: "احجز قبل امتلاء الأماكن", href: "#booking-simulator" }}
|
||||
animateOnLoad={true}
|
||||
/>
|
||||
</div>
|
||||
@@ -44,7 +44,7 @@ export default function LandingPage() {
|
||||
<HeroBillboardRotatedCarousel
|
||||
title="اكتشف أجمل الفنادق في الجزائر"
|
||||
description="احجز إقامتك في أفخم فنادق الجزائر بأسعار تنافسية. تجربة حجز سهلة وآمنة مع أفضل الخيارات في كل ولاية"
|
||||
tag="احجز الآن"
|
||||
tag="احجز قبل امتلاء الأماكن"
|
||||
tagIcon={Sparkles}
|
||||
background={{ variant: "plain" }}
|
||||
buttons={[
|
||||
@@ -53,17 +53,23 @@ export default function LandingPage() {
|
||||
]}
|
||||
carouselItems={[
|
||||
{
|
||||
id: "1", imageSrc: "http://img.b2bpic.net/free-photo/luxury-poolside-experience-where-guests-bask-opulence-cabanas_1268-31113.jpg", imageAlt: "فندق فاخر في الجزائر"},
|
||||
id: "1", imageSrc: "http://img.b2bpic.net/free-photo/luxury-poolside-experience-where-guests-bask-opulence-cabanas_1268-31113.jpg", imageAlt: "فندق فاخر في الجزائر"
|
||||
},
|
||||
{
|
||||
id: "2", imageSrc: "http://img.b2bpic.net/free-photo/luxury-beautiful-pillow-bed-bedroom_74190-384.jpg", imageAlt: "غرفة نوم بتصميم حديث"},
|
||||
id: "2", imageSrc: "http://img.b2bpic.net/free-photo/luxury-beautiful-pillow-bed-bedroom_74190-384.jpg", imageAlt: "غرفة نوم بتصميم حديث"
|
||||
},
|
||||
{
|
||||
id: "3", imageSrc: "http://img.b2bpic.net/free-photo/girl-pool-hot-sunny-day_169016-10705.jpg", imageAlt: "حمام سباحة فخم في منتجع"},
|
||||
id: "3", imageSrc: "http://img.b2bpic.net/free-photo/girl-pool-hot-sunny-day_169016-10705.jpg", imageAlt: "حمام سباحة فخم في منتجع"
|
||||
},
|
||||
{
|
||||
id: "4", imageSrc: "http://img.b2bpic.net/free-photo/wide-angle-shot-travel-accommodation-hotel-lounge-with-check-reception-desk-stylish-empty-modern-resort-foyer-interior-with-cozy-furniture-warm-fireplace-ready-welcome-tourists_482257-67830.jpg", imageAlt: "ردهة الفندق الفاخرة"},
|
||||
id: "4", imageSrc: "http://img.b2bpic.net/free-photo/wide-angle-shot-travel-accommodation-hotel-lounge-with-check-reception-desk-stylish-empty-modern-resort-foyer-interior-with-cozy-furniture-warm-fireplace-ready-welcome-tourists_482257-67830.jpg", imageAlt: "ردهة الفندق الفاخرة"
|
||||
},
|
||||
{
|
||||
id: "5", imageSrc: "http://img.b2bpic.net/free-photo/glass-with-mixed-walnuts_140725-6403.jpg", imageAlt: "مطعم راقي"},
|
||||
id: "5", imageSrc: "http://img.b2bpic.net/free-photo/glass-with-mixed-walnuts_140725-6403.jpg", imageAlt: "مطعم راقي"
|
||||
},
|
||||
{
|
||||
id: "6", imageSrc: "http://img.b2bpic.net/free-photo/sunbeds-with-coconuts-tree-by-sea_23-2148249118.jpg", imageAlt: "إطلالة بحرية من شرفة الغرفة"},
|
||||
id: "6", imageSrc: "http://img.b2bpic.net/free-photo/sunbeds-with-coconuts-tree-by-sea_23-2148249118.jpg", imageAlt: "إطلالة بحرية من شرفة الغرفة"
|
||||
}
|
||||
]}
|
||||
autoPlay={true}
|
||||
autoPlayInterval={5000}
|
||||
@@ -82,11 +88,14 @@ export default function LandingPage() {
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
products={[
|
||||
{
|
||||
id: "1", name: "فندق الأوراسي - الجزائر العاصمة", price: "24,500 دج/ليلة", imageSrc: "http://img.b2bpic.net/free-photo/courtyard-lions-alhambra_1139-27.jpg?_wi=1", imageAlt: "فندق الأوراسي الفاخر"},
|
||||
id: "1", name: "فندق الأوراسي - الجزائر العاصمة", price: "24,500 دج/ليلة", imageSrc: "http://img.b2bpic.net/free-photo/courtyard-lions-alhambra_1139-27.jpg?_wi=1", imageAlt: "فندق الأوراسي الفاخر"
|
||||
},
|
||||
{
|
||||
id: "2", name: "شيراتون عنابة - عنابة", price: "22,000 دج/ليلة", imageSrc: "http://img.b2bpic.net/free-photo/beach-wood-cabin-coast-guard_146671-18885.jpg?_wi=1", imageAlt: "فندق شيراتون على الساحل"},
|
||||
id: "2", name: "شيراتون عنابة - عنابة", price: "22,000 دج/ليلة", imageSrc: "http://img.b2bpic.net/free-photo/beach-wood-cabin-coast-guard_146671-18885.jpg?_wi=1", imageAlt: "فندق شيراتون على الساحل"
|
||||
},
|
||||
{
|
||||
id: "3", name: "ماريوت قسنطينة - قسنطينة", price: "21,500 دج/ليلة", imageSrc: "http://img.b2bpic.net/free-photo/rainbow-bridge_649448-3170.jpg?_wi=1", imageAlt: "ماريوت في قسنطينة"},
|
||||
id: "3", name: "ماريوت قسنطينة - قسنطينة", price: "21,500 دج/ليلة", imageSrc: "http://img.b2bpic.net/free-photo/rainbow-bridge_649448-3170.jpg?_wi=1", imageAlt: "ماريوت في قسنطينة"
|
||||
}
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -102,17 +111,17 @@ export default function LandingPage() {
|
||||
animationType="slide-up"
|
||||
metrics={[
|
||||
{
|
||||
id: "1", title: "فندق الأوراسي - الجزائر العاصمة", subtitle: "5 نجوم | إطلالة على الخليج | مطاعم فاخرة", category: "5 نجوم", value: "24,500 دج", buttons: [{ text: "اختر هذا", href: "#" }],
|
||||
id: "1", title: "فندق الأوراسي - الجزائر العاصمة", subtitle: "5 نجوم | إطلالة على الخليج | مطاعم فاخرة", category: "5 نجوم", value: "24,500 دج", buttons: [{ text: "اختر هذا", href: "#" }]
|
||||
},
|
||||
{
|
||||
id: "2", title: "شيراتون عنابة - عنابة", subtitle: "5 نجوم | على الشاطئ | حمام سباحة خارجي", category: "5 نجوم", value: "22,000 دج", buttons: [{ text: "اختر هذا", href: "#" }],
|
||||
id: "2", title: "شيراتون عنابة - عنابة", subtitle: "5 نجوم | على الشاطئ | حمام سباحة خارجي", category: "5 نجوم", value: "22,000 دج", buttons: [{ text: "اختر هذا", href: "#" }]
|
||||
},
|
||||
{
|
||||
id: "3", title: "بارك مول سطيف - سطيف", subtitle: "4 نجوم | قريب من المطار | مطاعم متنوعة", category: "4 نجوم", value: "16,000 دج", buttons: [{ text: "اختر هذا", href: "#" }],
|
||||
id: "3", title: "بارك مول سطيف - سطيف", subtitle: "4 نجوم | قريب من المطار | مطاعم متنوعة", category: "4 نجوم", value: "16,000 دج", buttons: [{ text: "اختر هذا", href: "#" }]
|
||||
},
|
||||
{
|
||||
id: "4", title: "فندق الجزائر - الجزائر العاصمة", subtitle: "5 نجوم | عمارة تاريخية | حدائق رائعة", category: "5 نجوم", value: "23,000 دج", buttons: [{ text: "اختر هذا", href: "#" }],
|
||||
},
|
||||
id: "4", title: "فندق الجزائر - الجزائر العاصمة", subtitle: "5 نجوم | عمارة تاريخية | حدائق رائعة", category: "5 نجوم", value: "23,000 دج", buttons: [{ text: "اختر هذا", href: "#" }]
|
||||
}
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -128,17 +137,29 @@ export default function LandingPage() {
|
||||
animationType="slide-up"
|
||||
features={[
|
||||
{
|
||||
id: "1", title: "الجزائر العاصمة", tags: ["5 فنادق", "خليج الجزائر", "مطارات قريبة"], imageSrc: "http://img.b2bpic.net/free-photo/courtyard-lions-alhambra_1139-27.jpg?_wi=2", imageAlt: "فندق في الجزائر العاصمة"},
|
||||
id: "1", title: "الجزائر العاصمة", tags: ["5 فنادق", "خليج الجزائر", "مطارات قريبة"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/courtyard-lions-alhambra_1139-27.jpg?_wi=2", imageAlt: "فندق في الجزائر العاصمة"
|
||||
},
|
||||
{
|
||||
id: "2", title: "وهران", tags: ["4 فنادق", "ساحل متوسط", "عمارة حديثة"], imageSrc: "http://img.b2bpic.net/free-photo/beach-wood-cabin-coast-guard_146671-18885.jpg?_wi=2", imageAlt: "فندق في وهران"},
|
||||
id: "2", title: "وهران", tags: ["4 فنادق", "ساحل متوسط", "عمارة حديثة"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beach-wood-cabin-coast-guard_146671-18885.jpg?_wi=2", imageAlt: "فندق في وهران"
|
||||
},
|
||||
{
|
||||
id: "3", title: "قسنطينة", tags: ["4 فنادق", "معالم تاريخية", "إطلالات جبلية"], imageSrc: "http://img.b2bpic.net/free-photo/rainbow-bridge_649448-3170.jpg?_wi=2", imageAlt: "فندق في قسنطينة"},
|
||||
id: "3", title: "قسنطينة", tags: ["4 فنادق", "معالم تاريخية", "إطلالات جبلية"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/rainbow-bridge_649448-3170.jpg?_wi=2", imageAlt: "فندق في قسنطينة"
|
||||
},
|
||||
{
|
||||
id: "4", title: "عنابة", tags: ["4 فنادق", "شاطئ رملي", "مدينة ساحلية"], imageSrc: "http://img.b2bpic.net/free-photo/beach-wood-cabin-coast-guard_146671-18885.jpg?_wi=3", imageAlt: "فندق في عنابة"},
|
||||
id: "4", title: "عنابة", tags: ["4 فنادق", "شاطئ رملي", "مدينة ساحلية"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beach-wood-cabin-coast-guard_146671-18885.jpg?_wi=3", imageAlt: "فندق في عنابة"
|
||||
},
|
||||
{
|
||||
id: "5", title: "تلمسان", tags: ["4 فنادق", "تراث إسلامي", "طبيعة خضراء"], imageSrc: "http://img.b2bpic.net/free-photo/rainbow-bridge_649448-3170.jpg?_wi=3", imageAlt: "فندق في تلمسان"},
|
||||
id: "5", title: "تلمسان", tags: ["4 فنادق", "تراث إسلامي", "طبيعة خضراء"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/rainbow-bridge_649448-3170.jpg?_wi=3", imageAlt: "فندق في تلمسان"
|
||||
},
|
||||
{
|
||||
id: "6", title: "سطيف", tags: ["4 فنادق", "وسط البلاد", "متاجر حديثة"], imageSrc: "http://img.b2bpic.net/free-photo/courtyard-lions-alhambra_1139-27.jpg?_wi=3", imageAlt: "فندق في سطيف"},
|
||||
id: "6", title: "سطيف", tags: ["4 فنادق", "وسط البلاد", "متاجر حديثة"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/courtyard-lions-alhambra_1139-27.jpg?_wi=3", imageAlt: "فندق في سطيف"
|
||||
}
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -156,22 +177,28 @@ export default function LandingPage() {
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", name: "محمد علي", role: "رجل أعمال", company: "شركة التكنولوجيا المتقدمة", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-smiley-business-man_23-2148479530.jpg?_wi=1", imageAlt: "محمد علي"},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-smiley-business-man_23-2148479530.jpg?_wi=1", imageAlt: "محمد علي"
|
||||
},
|
||||
{
|
||||
id: "2", name: "فاطمة حسن", role: "مدير التسويق", company: "شركة السياحة الحديثة", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-successful-muslim-businesswoman-posing-outside_74855-2007.jpg?_wi=1", imageAlt: "فاطمة حسن"},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-successful-muslim-businesswoman-posing-outside_74855-2007.jpg?_wi=1", imageAlt: "فاطمة حسن"
|
||||
},
|
||||
{
|
||||
id: "3", name: "عمر خالد", role: "مهندس", company: "شركة البناء والتطوير", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-successful-businessman-posing-outside_74855-2003.jpg?_wi=1", imageAlt: "عمر خالد"},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-successful-businessman-posing-outside_74855-2003.jpg?_wi=1", imageAlt: "عمر خالد"
|
||||
},
|
||||
{
|
||||
id: "4", name: "ليلى أحمد", role: "مديرة مشروع", company: "شركة الخدمات المالية", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-successful-muslim-businesswoman-posing-outside_74855-2007.jpg?_wi=2", imageAlt: "ليلى أحمد"},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-successful-muslim-businesswoman-posing-outside_74855-2007.jpg?_wi=2", imageAlt: "ليلى أحمد"
|
||||
},
|
||||
{
|
||||
id: "5", name: "أحمد صالح", role: "صاحب متجر", company: "المتاجر المتحدة", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-smiley-business-man_23-2148479530.jpg?_wi=2", imageAlt: "أحمد صالح"},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-smiley-business-man_23-2148479530.jpg?_wi=2", imageAlt: "أحمد صالح"
|
||||
},
|
||||
{
|
||||
id: "6", name: "نور الدين", role: "مستشار قانوني", company: "مكتب القانون المتقدم", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-successful-businessman-posing-outside_74855-2003.jpg?_wi=2", imageAlt: "نور الدين"},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-successful-businessman-posing-outside_74855-2003.jpg?_wi=2", imageAlt: "نور الدين"
|
||||
}
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -184,7 +211,7 @@ export default function LandingPage() {
|
||||
tagIcon={Award}
|
||||
metrics={[
|
||||
{ value: "+500", title: "فندق مدرج" },
|
||||
{ value: "+50K", title: "حجز سنوي" },
|
||||
{ value: "+50K", title: "حجز سنوي" }
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/hand-holding-closed-padlock_176474-8918.jpg"
|
||||
imageAlt="خدمة احجز فنادقك"
|
||||
@@ -220,30 +247,30 @@ export default function LandingPage() {
|
||||
items: [
|
||||
{ label: "الفنادق", href: "#featured-hotels" },
|
||||
{ label: "الحجز", href: "#booking-simulator" },
|
||||
{ label: "الولايات", href: "#provinces" },
|
||||
],
|
||||
{ label: "الولايات", href: "#provinces" }
|
||||
]
|
||||
},
|
||||
{
|
||||
items: [
|
||||
{ label: "عن الخدمة", href: "#about" },
|
||||
{ label: "الآراء", href: "#testimonials" },
|
||||
{ label: "اتصل بنا", href: "#contact" },
|
||||
],
|
||||
{ label: "اتصل بنا", href: "#contact" }
|
||||
]
|
||||
},
|
||||
{
|
||||
items: [
|
||||
{ label: "الشروط والأحكام", href: "#" },
|
||||
{ label: "سياسة الخصوصية", href: "#" },
|
||||
{ label: "سياسة الاسترجاع", href: "#" },
|
||||
],
|
||||
{ label: "سياسة الاسترجاع", href: "#" }
|
||||
]
|
||||
},
|
||||
{
|
||||
items: [
|
||||
{ label: "فيسبوك", href: "https://facebook.com" },
|
||||
{ label: "تويتر", href: "https://twitter.com" },
|
||||
{ label: "إنستغرام", href: "https://instagram.com" },
|
||||
],
|
||||
},
|
||||
{ label: "إنستغرام", href: "https://instagram.com" }
|
||||
]
|
||||
}
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user