Merge version_1 into main #2
@@ -1,10 +1,7 @@
|
||||
import type { Metadata } from "next";
|
||||
"use client";
|
||||
import { Source_Sans_3 } 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 { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
|
||||
import HeroOverlay from '@/components/sections/hero/HeroOverlay';
|
||||
import FeatureCardEight from '@/components/sections/feature/FeatureCardEight';
|
||||
@@ -20,18 +17,19 @@ const sourceSans3 = Source_Sans_3({ variable: "--font-source-sans-3", subsets: [
|
||||
|
||||
export default function HomePage() {
|
||||
return (
|
||||
<ServiceWrapper>
|
||||
<ThemeProvider>
|
||||
<div className={`${sourceSans3.variable} antialiased font-sans`}>
|
||||
<Tag />
|
||||
<NavbarStyleApple
|
||||
brandName="Ironwood"
|
||||
navItems={[
|
||||
{ name: "الرئيسية", id: "hero" },
|
||||
{ name: "المميزات", id: "features" },
|
||||
{ name: "حولنا", id: "about" },
|
||||
{ name: "اتصل بنا", id: "contact" }
|
||||
]}
|
||||
/>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleApple
|
||||
brandName="Ironwood"
|
||||
navItems={[
|
||||
{ name: "الرئيسية", id: "hero" },
|
||||
{ name: "المميزات", id: "features" },
|
||||
{ name: "حولنا", id: "about" },
|
||||
{ name: "اتصل بنا", id: "contact" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
<div id="hero" data-section="hero"><HeroOverlay title="تجربة طعام استثنائية تبدأ بانتظار مريح" description="انضم إلى قائمة الانتظار في Ironwood بكل سهولة واستمتع بوقتك بينما نجهز طاولتك." buttons={[{text: "انضم إلى قائمة الانتظار", href: "#contact"}]} imageSrc="http://img.b2bpic.net/free-photo/restaurant-hall-with-round-square-tables-some-chairs-plants_140725-8031.jpg" avatars={[{ src: "http://img.b2bpic.net/free-photo/restaurant-table-private-room-with-fireplace-wooden-ceilings-brick-walls_140725-8458.jpg", alt: "ضيف سعيد 1"},{ src: "http://img.b2bpic.net/free-photo/beige-colored-interior-dining-room_114579-2540.jpg", alt: "ضيف سعيد 2"},{ src: "http://img.b2bpic.net/free-photo/dining-table-with-chairs-tableware_140725-7822.jpg", alt: "ضيف سعيد 3"},{ src: "http://img.b2bpic.net/free-photo/there-are-glasses-wine-water-table-with-white-cloth-are-ready-dining_613910-3428.jpg", alt: "ضيف سعيد 4"},{ src: "http://img.b2bpic.net/free-photo/sitting-boy-waiting-restaurant_23-2148018743.jpg", alt: "ضيف سعيد 5"}]} avatarText="أكثر من 10,000 ضيف راضٍ" /></div>
|
||||
<div id="features" data-section="features"><FeatureCardEight textboxLayout="split" useInvertedBackground={false} features={[{title: "سهولة الانضمام", description: "سجل اسمك في القائمة بضغطة زر من هاتفك.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-hands-holding-smartphone_23-2149250085.jpg", imageAlt: "سهولة الانضمام"},{title: "متابعة فورية", description: "تعرف على ترتيبك في القائمة ووقت الانتظار المتوقع بدقة.", imageSrc: "http://img.b2bpic.net/free-photo/man-making-photo-finished-meal_23-2148114296.jpg", imageAlt: "متابعة فورية"},{title: "دخول ذكي", description: "استخدم تقنية مسح QR للوصول السريع إلى طاولتك.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-hands-holding-smartphone_23-2148896951.jpg", imageAlt: "دخول ذكي"}]} title="لماذا Ironwood؟" description="نحن نبسط تجربة ضيوفنا لضمان الراحة التامة." /></div>
|
||||
<div id="status" data-section="status"><MetricCardOne animationType="slide-up" textboxLayout="default" gridVariant="bento-grid" useInvertedBackground={false} metrics={[{id: "m1", value: "12", title: "الضيوف الحاليين", description: "في صالة الانتظار", icon: Users},{id: "m2", value: "25", title: "متوسط الانتظار", description: "بالدقائق", icon: Clock},{id: "m3", value: "4", title: "الطاولات المتاحة", description: "تتوقع الجاهزية قريباً", icon: Coffee}]} title="حالة قائمة الانتظار" description="نظرة مباشرة على تدفق العملاء الحالي." /></div>
|
||||
@@ -39,9 +37,8 @@ export default function HomePage() {
|
||||
<div id="faq" data-section="faq"><FaqBase textboxLayout="default" useInvertedBackground={false} faqs={[{id: "f1", title: "كيف أنضم إلى القائمة؟", content: "يمكنك الانضمام مباشرة عبر زر الانضمام وإدخال بياناتك."},{id: "f2", title: "هل يمكنني إلغاء حجزي؟", content: "نعم، يمكنك إلغاء الحجز عبر الرابط الذي سيصلك عبر SMS."},{id: "f3", title: "كيف أعرف متى يحين دوري؟", content: "سنقوم بإرسال تنبيه فور اقتراب موعد طاولتك."}]} title="الأسئلة الشائعة" description="كل ما تحتاج لمعرفته حول نظامنا للانتظار." faqsAnimation="slide-up" /></div>
|
||||
<div id="about" data-section="about"><MetricSplitMediaAbout useInvertedBackground={false} title="عن Ironwood" description="نحن في Ironwood ندمج بين الفخامة والتقنية لنوفر لك تجربة لا تُنسى في كل زيارة." metrics={[{value: "2024", title: "سنة التأسيس"},{value: "100+", title: "طاولة جاهزة"}]} mediaAnimation="slide-up" metricsAnimation="slide-up" imageSrc="http://img.b2bpic.net/free-photo/man-looking-through-menu-restaurant_23-2150520061.jpg" /></div>
|
||||
<div id="contact" data-section="contact"><ContactCenter tag="انضم إلينا الآن" title="سجل اسمك في قائمة الانتظار" description="أدخل بياناتك وسنتواصل معك فور تجهيز طاولتك." background={{variant: "gradient-bars"}} useInvertedBackground={false} /></div>
|
||||
<div id="footer" data-section="footer"><FooterBaseCard logoText="Ironwood" columns={[{title: "روابط سريعة", items: [{label: "الرئيسية", href: "#hero"},{label: "حولنا", href: "#about"}]},{title: "قانوني", items: [{label: "سياسة الخصوصية", href: "#"},{label: "شروط الخدمة", href: "#"}]}]} copyrightText="© 2025 | Ironwood Queue System" /></div>
|
||||
<script dangerouslySetInnerHTML={{ __html: `${getVisualEditScript()}` }} />
|
||||
<div id="footer" data-section="footer"><FooterBaseCard logoText="Ironwood" columns={[{title: "روابط سريعة", items: [{label: "الرئيسية", href: "#hero"},{label: "حولنا", href: "#about"}]},{title: "قانوني", items: [{label: "سياسة الخصوصية", href: "#"},{label: "شروط الخدمة", href: "#"}]} ]} copyrightText="© 2025 | Ironwood Queue System" /></div>
|
||||
</div>
|
||||
</ServiceWrapper>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user