-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #183 from SpaceyaTech/discordredirect
Discordredirect
- Loading branch information
Showing
2 changed files
with
79 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
const options = [ | ||
"Artificial Intelligence", | ||
"Blockchain", | ||
"Web Development", | ||
"Mobile Development", | ||
"Cloud Computing", | ||
"Cyber Security", | ||
"Data Analysis", | ||
"Database Management", | ||
"Machine Learning", | ||
"Natural Language Processing", | ||
"Neural Networks", | ||
"Software Engineering", | ||
"System Administration", | ||
"Robotics", | ||
"Augmented Reality", | ||
"Virtual Reality", | ||
"Game Development", | ||
"Internet of Things", | ||
"Graphic Design", | ||
"UI/UX Design", | ||
"Networking", | ||
"Operating Systems", | ||
"Quantum Computing", | ||
"DevOps", | ||
"Frontend Development", | ||
"Backend Development", | ||
"Full Stack Development", | ||
"Embedded Systems", | ||
"Big Data", | ||
]; | ||
|
||
const selectFields = [ | ||
{ | ||
label: "What would best describe your work?", | ||
id: "work", | ||
name: "work", | ||
options, | ||
}, | ||
{ | ||
label: "What would best describe your interest?", | ||
id: "field_of_interest", | ||
name: "field_of_interest", | ||
options, | ||
}, | ||
]; | ||
|
||
const JoinSytSelectFields = () => { | ||
return ( | ||
<> | ||
{selectFields.map((field) => ( | ||
<label | ||
key={field.id} | ||
htmlFor={field.id} | ||
className="text-sm font-medium flex flex-col gap-1.5" | ||
> | ||
{field.label} | ||
<select | ||
name={field.name} | ||
id={field.id} | ||
required | ||
className="px-3 py-2.5 outline-none border rounded-md text-sm" | ||
> | ||
{field.options.map((option) => ( | ||
<option key={option} value={option}> | ||
{option} | ||
</option> | ||
))} | ||
</select> | ||
</label> | ||
))} | ||
</> | ||
); | ||
}; | ||
|
||
export default JoinSytSelectFields; |