Merge version_2 into main #3

Merged
bender merged 2 commits from version_2 into main 2026-06-05 19:57:41 +00:00
2 changed files with 106 additions and 3 deletions

View File

@@ -0,0 +1,103 @@
"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
export default function BookAppointmentPage() {
return (
<ThemeProvider
defaultButtonVariant="bounce-effect"
defaultTextAnimation="background-highlight"
borderRadius="rounded"
contentWidth="smallMedium"
sizing="large"
background="aurora"
cardStyle="soft-shadow"
primaryButtonStyle="gradient"
secondaryButtonStyle="solid"
headingFontWeight="medium"
>
<ReactLenis root>
<div id="nav" data-section="nav">
<NavbarStyleCentered
navItems={[
{ name: "ראשי", id: "#hero" },
{ name: "אודות", id: "#about" },
{ name: "שירותים", id: "#features" },
{ name: "עבודות", id: "#projects" },
{ name: "המלצות", id: "#testimonials" },
{ name: "חבילות", id: "#pricing" },
{ name: "קבעו פגישה", id: "/book-appointment" },
{ name: "צור קשר", id: "#contact" },
]}
brandName="גנן מקצועי"
/>
</div>
<div id="book-appointment" data-section="book-appointment">
<ContactSplitForm
useInvertedBackground={true}
title="קבעו פגישה לגינה שלכם"
description="בחרו תאריך ושעה מועדפים ונציגנו יחזרו אליכם לאישור. אנו כאן כדי להגשים לכם את גינת החלומות!"
inputs={[
{ name: "שם מלא", type: "text", placeholder: "שם מלא", required: true },
{ name: "טלפון", type: "tel", placeholder: "מספר טלפון", required: true },
{ name: "אימייל", type: "email", placeholder: "כתובת אימייל", required: false },
{ name: "תאריך מועדף", type: "date", placeholder: "תאריך", required: true },
{ name: "שעה מועדפת", type: "time", placeholder: "שעה", required: true },
]}
multiSelect={{
name: "serviceType", label: "סוג השירות הרצוי", options: ["גיזום עצים ושיחים", "תכנון ועיצוב גינות", "התקנת מערכות השקיה", "ייעוץ גינון ותחזוקה"],
}}
textarea={{
name: "פרטים נוספים", placeholder: "פרטו כל בקשה או שאלה נוספת", rows: 3,
required: false,
}}
imageSrc="http://img.b2bpic.net/free-photo/young-african-american-man-working-garden-full-shot_23-2148504026.jpg"
imageAlt="גנן מסדר צמחים בגינה"
mediaAnimation="opacity"
mediaPosition="right"
buttonText="שלח בקשה לקביעת פגישה"
onSubmit={(data) => {
console.log("Appointment request submitted:", data);
alert("בקשת הפגישה נשלחה בהצלחה! ניצור קשר בהקדם.");
}}
/>
</div>
<div id="footer" data-section="footer">
<FooterLogoEmphasis
columns={[
{
items: [
{ label: "ראשי", href: "#hero" },
{ label: "אודות", href: "#about" },
{ label: "שירותים", href: "#features" },
],
},
{
items: [
{ label: "עבודות", href: "#projects" },
{ label: "המלצות", href: "#testimonials" },
{ label: "חבילות", href: "#pricing" },
],
},
{
items: [
{ label: "קבעו פגישה", href: "/book-appointment" },
{ label: "צור קשר", href: "#contact" },
{ label: "מדיניות פרטיות", href: "#" },
{ label: "תנאי שימוש", href: "#" },
],
},
]}
logoText="גנן מקצועי"
/>
</div>
</ReactLenis>
</ThemeProvider>
);
}

View File

@@ -218,8 +218,8 @@ export default function LandingPage() {
<div id="contact" data-section="contact">
<ContactSplitForm
useInvertedBackground={true}
title="קבעו פגישה עוד היום!"
description="צרו קשר עוד היום לקבלת ייעוץ והצעת מחיר חינם, או קבעו פגישה דרך הטופס. נחזור אליכם בהקדם!"
title="קביעת פגישת ייעוץ לגינה"
description="מלאו את הפרטים ונחזור אליכם בהקדם לתיאום פגישת ייעוץ חינם, בה נבין את חלום הגינה שלכם ונבנה תוכנית מותאמת אישית."
inputs={[
{
name: "שם מלא", type: "text", placeholder: "שם מלא", required: true,
@@ -232,7 +232,7 @@ export default function LandingPage() {
},
]}
textarea={{
name: "הודעה", placeholder: "פרטו את צרכי הגינון שלכם (לדוגמה: גיזום, עיצוב, תחזוקה)", rows: 4,
name: "הודעה", placeholder: "ספרו לנו בקצרה על הפרויקט שאתם מתכננים, או מהו התאריך/שעה המועדפים עליכם לפגישה.", rows: 4,
required: true,
}}
imageSrc="http://img.b2bpic.net/free-photo/quality-control-inspector-worker-talking-while-going-through-list-plants-greenhouse_637285-1670.jpg"