diff --git a/src/app/post-job/page.tsx b/src/app/post-job/page.tsx index 15ac221..f9d93e3 100644 --- a/src/app/post-job/page.tsx +++ b/src/app/post-job/page.tsx @@ -2,47 +2,70 @@ import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered"; -import FeatureCardEight from "@/components/sections/feature/FeatureCardEight"; -import ContactCenter from "@/components/sections/contact/ContactCenter"; import FooterBase from "@/components/sections/footer/FooterBase"; -import Link from "next/link"; -import { Briefcase, Mail, MapPin, Sparkles } from "lucide-react"; +import { Briefcase, Mail } from "lucide-react"; +import { useState } from "react"; + +const navItems = [ + { name: "Search Jobs", id: "search" }, + { name: "Post a Job", id: "/post-job" }, + { name: "Applications", id: "/applications" }, + { name: "Browse", id: "browse" }, + { name: "Contact", id: "contact" }, +]; + +const footerColumns = [ + { + title: "Product", items: [ + { label: "Search Jobs", href: "/search" }, + { label: "Post a Job", href: "/post-job" }, + { label: "My Applications", href: "/applications" }, + { label: "For Employers", href: "#" }, + ], + }, + { + title: "Company", items: [ + { label: "About Jobee", href: "#about" }, + { label: "Careers", href: "#" }, + { label: "Contact Us", href: "#contact" }, + { label: "Blog", href: "#" }, + ], + }, + { + title: "Resources", items: [ + { label: "Privacy Policy", href: "#" }, + { label: "Terms of Service", href: "#" }, + { label: "FAQ", href: "#" }, + { label: "Support", href: "#" }, + ], + }, +]; export default function PostJobPage() { - const navItems = [ - { name: "Search Jobs", id: "search" }, - { name: "Post a Job", id: "post-job" }, - { name: "Admin", id: "admin-login" }, - { name: "Browse", id: "browse" }, - { name: "Contact", id: "contact" }, - ]; + const [formData, setFormData] = useState({ + jobTitle: "", company: "", location: "", province: "", jobType: "Full-Time", salaryRange: "", description: "", requirements: "", contactEmail: "", benefits: ""}); - const footerColumns = [ - { - title: "Product", items: [ - { label: "Search Jobs", href: "/search" }, - { label: "Post a Job", href: "/post-job" }, - { label: "Browse by Province", href: "#provinces" }, - { label: "For Employers", href: "#" }, - ], - }, - { - title: "Company", items: [ - { label: "About Jobee", href: "#about" }, - { label: "Careers", href: "#" }, - { label: "Contact Us", href: "#contact" }, - { label: "Blog", href: "#" }, - ], - }, - { - title: "Resources", items: [ - { label: "Privacy Policy", href: "#" }, - { label: "Terms of Service", href: "#" }, - { label: "FAQ", href: "#" }, - { label: "Support", href: "#" }, - ], - }, - ]; + const [submitted, setSubmitted] = useState(false); + + const handleChange = ( + e: React.ChangeEvent< + HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement + > + ) => { + const { name, value } = e.target; + setFormData((prev) => ({ ...prev, [name]: value })); + }; + + const handleSubmit = (e: React.FormEvent) => { + e.preventDefault(); + console.log("Job Posted:", formData); + setSubmitted(true); + setTimeout(() => { + setFormData({ + jobTitle: "", company: "", location: "", province: "", jobType: "Full-Time", salaryRange: "", description: "", requirements: "", contactEmail: "", benefits: ""}); + setSubmitted(false); + }, 2000); + }; return ( -
- -
+
+
+
+
+ + + Post Your Job + +
+

+ Create Your Job Listing +

+

+ Fill in the details below to post your job opening and reach qualified candidates + across the Netherlands. +

+
-
- + {submitted && ( +
+

✓ Job posted successfully!

+
+ )} + +
+ {/* Job Title */} +
+ + +
+ + {/* Company */} +
+ + +
+ + {/* Location */} +
+
+ + +
+
+ + +
+
+ + {/* Job Type */} +
+
+ + +
+
+ + +
+
+ + {/* Description */} +
+ +