From b353e16b83df9a876910a0b98307399f8ae767fb Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 25 Mar 2026 13:54:38 +0000 Subject: [PATCH] Update src/app/application-form/page.tsx --- src/app/application-form/page.tsx | 311 +++++++++++++++++------------- 1 file changed, 181 insertions(+), 130 deletions(-) diff --git a/src/app/application-form/page.tsx b/src/app/application-form/page.tsx index a50c047..b8940f9 100644 --- a/src/app/application-form/page.tsx +++ b/src/app/application-form/page.tsx @@ -3,16 +3,66 @@ import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered'; import FooterSimple from '@/components/sections/footer/FooterSimple'; -import ButtonTextShift from '@/components/button/ButtonTextShift/ButtonTextShift'; -import { FileText, DollarSign } from "lucide-react"; export default function ApplicationFormPage() { - const handleFormSubmit = (e: React.FormEvent) => { + const handleSubmit = (e: React.FormEvent) => { e.preventDefault(); - // In a real application, you would handle form submission here, e.g., send data to an API - alert("Application submitted! Please proceed to payment."); + // In a real application, you would send this data to a backend. + alert("Application Submitted! Redirecting to payment..."); + // Simulate redirection to a payment gateway + setTimeout(() => { + console.log("Redirecting to payment for AED 500..."); + // window.location.href = "/payment-gateway-url"; + }, 1000); }; + // Navigation items for NavbarStyleCentered, adjusted to link back to homepage sections + const applicationFormNavItems = [ + { name: "Properties", id: "/#properties" }, + { name: "About", id: "/#about" }, + { name: "Services", id: "/#services" }, + { name: "Team", id: "/#team" }, + { name: "Testimonials", id: "/#testimonials" }, + { name: "Contact", id: "/#contact" }, + { name: "Apply Now", id: "/application-form" } + ]; + + // Footer columns for FooterSimple, adjusted to link back to homepage sections + const applicationFormFooterColumns = [ + { + title: "Company", items: [ + { label: "About Us", href: "/#about" }, + { label: "Our Services", href: "/#services" }, + { label: "Executive Team", href: "/#team" }, + { label: "Properties", href: "/#properties" }, + { label: "Contact", href: "/#contact" }, + { label: "Apply Now", href: "/application-form" } + ] + }, + { + title: "Resources", items: [ + { label: "Investment Guide", href: "/#" }, + { label: "Market Reports", href: "/#" }, + { label: "FAQ", href: "/#" }, + { label: "Blog", href: "/#" } + ] + }, + { + title: "Legal", items: [ + { label: "Privacy Policy", href: "/#" }, + { label: "Terms of Service", href: "/#" }, + { label: "Cookie Policy", href: "/#" } + ] + }, + { + title: "Connect", items: [ + { label: "LinkedIn", href: "#" }, + { label: "Instagram", href: "#" }, + { label: "WhatsApp", href: "#" } + ] + } + ]; + return ( -
-
-

Application Form

-

- Complete the form below to apply for your dream property. +

+
+

+ Property Application Form +

+

+ Complete the form below to apply for our exclusive properties.

-
-
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- - -
- -

- Your application has been received! Please proceed to the payment section to finalize your submission. -

- -
-

Application Fee

-

- A non-refundable application fee of $60 USD is required to process your application. This fee covers administrative costs and a preliminary review of your submission. -

-

- Click the button below to complete your payment securely via Flutterwave. -

-
- +
+ + {/* Personal Information */} +
+

Personal Information

+
+
+ + +
+
+ + +
+
+ + +
+
+ + {/* Employment Information */} +
+

Employment Information

+
+
+ + +
+
+ + +
+
+ + +
+
+
+ + {/* Document Upload */} +
+

Document Upload

+

Please upload necessary documents (e.g., ID, proof of income). Max file size 5MB per file.

+
+ + +
+
+ + {/* Application Fee Explanation */} +
+

Application Fee

+

+ A non-refundable application fee of AED 500 is required to process your application. This fee covers administrative costs and a comprehensive background check. You will be redirected to a secure payment gateway after submitting this form. +

+
+ + + + + {/* Confirmation Text - Note: In a real app, this would be conditionally rendered after successful submission */} +
+

Thank You for Your Application!

+

+ Your application has been received and is currently under review. Please check your email for a confirmation and further instructions regarding the payment of the application fee. We appreciate your patience. +

- +