diff --git a/app/(app)/jobs/create/_client.tsx b/app/(app)/jobs/create/_client.tsx new file mode 100644 index 00000000..d2aaa4f5 --- /dev/null +++ b/app/(app)/jobs/create/_client.tsx @@ -0,0 +1,267 @@ +"use client"; + +import { Button } from "@/components/ui-components/button"; +import { + Checkbox, + CheckboxField, + CheckboxGroup, +} from "@/components/ui-components/checkbox"; +import { Divider } from "@/components/ui-components/divider"; +import { Description, Field, Label } from "@/components/ui-components/fieldset"; +import { Heading, Subheading } from "@/components/ui-components/heading"; +import { Input } from "@/components/ui-components/input"; +import { + Radio, + RadioField, + RadioGroup, +} from "@/components/ui-components/radio"; +import { Strong, Text } from "@/components/ui-components/text"; +import { Textarea } from "@/components/ui-components/textarea"; +import { FEATURE_FLAGS, isFlagEnabled } from "@/utils/flags"; +import Image from "next/image"; +import { notFound } from "next/navigation"; +import React, { useRef, useState } from "react"; + +export default function Content() { + const flagEnabled = isFlagEnabled(FEATURE_FLAGS.JOBS); + const fileInputRef = useRef(null); + const [imgUrl, setImgUrl] = useState(null); + + if (!flagEnabled) { + notFound(); + } + + return ( +
+ Post a job + +
+
+ Company Logo + Square format is best +
+ +
+ Company Logo +
+ + {}} + className="hidden" + ref={fileInputRef} + /> + + JPG, GIF or PNG. 1MB max. + +
+
+
+
+ + + +
+
+ Company Name + This will be shown in the format you type it +
+ + + + {/* Add error part after validation here */} +
+ + + +
+
+ Job Title + The job title for the position that you are opening +
+ + + + {/* Add error part after validation here */} +
+ + + +
+
+ Job Description + In markdown format +
+ +