Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d88104a985 | ||
|
|
6f79363ec6 | ||
|
|
43925b1300 |
|
|
@ -60,6 +60,32 @@ export const event_apply: FormData = {
|
||||||
max_length: 2000,
|
max_length: 2000,
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: "What things are you good at building?",
|
||||||
|
additional_info: "You can include links to pictures of your builds",
|
||||||
|
name: "good_builds",
|
||||||
|
type: "textarea",
|
||||||
|
min_length: 2,
|
||||||
|
max_length: 2000,
|
||||||
|
required: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: "What things do you struggle to build?",
|
||||||
|
name: "bad_builds",
|
||||||
|
type: "textarea",
|
||||||
|
min_length: 2,
|
||||||
|
max_length: 2000,
|
||||||
|
required: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: "Do you have experience with the technical aspects of Minecraft? If so please list what you can do",
|
||||||
|
additional_info: "With technical aspects we mean things like plugins, mods, adventure maps, etc.",
|
||||||
|
name: "technical_aspects",
|
||||||
|
type: "textarea",
|
||||||
|
min_length: 2,
|
||||||
|
max_length: 2000,
|
||||||
|
required: true,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: "Are you able to use voice chat on Discord",
|
label: "Are you able to use voice chat on Discord",
|
||||||
name: "discord_vc",
|
name: "discord_vc",
|
||||||
|
|
@ -81,11 +107,11 @@ export const event_apply: FormData = {
|
||||||
required: false,
|
required: false,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
backend: `${process.env.REACT_APP_BACKEND_BASE_URL}/api/apply/staffApplication`,
|
backend: `${process.env.REACT_APP_BACKEND_BASE_URL}/api/event-apply/eventApplication`,
|
||||||
userInput: {
|
userInput: {
|
||||||
username: '', email: '', discord: ''
|
username: '', email: '', discord: ''
|
||||||
, age: '', pronoun: '', avg_time: '', event_experience: ''
|
, age: '', pronoun: '', avg_time: '', event_experience: ''
|
||||||
, discord_vc: '', other: ''
|
, discord_vc: '', good_builds: '', bad_builds: '', technical_aspects: '', other: ''
|
||||||
},
|
},
|
||||||
spec: Yup.object().shape({
|
spec: Yup.object().shape({
|
||||||
username: Yup.string()
|
username: Yup.string()
|
||||||
|
|
@ -132,6 +158,21 @@ export const event_apply: FormData = {
|
||||||
.matches(/(yes|no)$/i, 'Yes or no')
|
.matches(/(yes|no)$/i, 'Yes or no')
|
||||||
.required('An answer is required'),
|
.required('An answer is required'),
|
||||||
|
|
||||||
|
good_builds: Yup.string()
|
||||||
|
.min(2, 'Please provide examples of things you are good at building')
|
||||||
|
.max(2000, 'Please provide at most 2000 characters')
|
||||||
|
.required('Please enter your build experience or simply say you don\'t have any'),
|
||||||
|
|
||||||
|
bad_builds: Yup.string()
|
||||||
|
.min(2, 'Please provide examples of things you are bad at building')
|
||||||
|
.max(2000, 'Please provide at most 2000 characters')
|
||||||
|
.required('Please enter your build experience or simply say you don\'t have any'),
|
||||||
|
|
||||||
|
technical_aspects: Yup.string()
|
||||||
|
.min(2, 'Please provide your experience with the technical aspects of Minercraft, if you don\'t have any you can say that instead')
|
||||||
|
.max(2000, 'Please provide at most 2000 characters')
|
||||||
|
.required('Please enter your technical experience or simply say you don\'t have any'),
|
||||||
|
|
||||||
other: Yup.string()
|
other: Yup.string()
|
||||||
.max(2000, 'Please provide at most 2000 characters')
|
.max(2000, 'Please provide at most 2000 characters')
|
||||||
}),
|
}),
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ import React from "react";
|
||||||
|
|
||||||
type InputNames = "username" | "email" | "question" | "discord" | "pc_requirements" | "age" | "pronoun" | "join_date" |
|
type InputNames = "username" | "email" | "question" | "discord" | "pc_requirements" | "age" | "pronoun" | "join_date" |
|
||||||
"avg_time" | "available_days" | "available_time" | "staff_experience" | "plugin_experience" | "why_staff" |
|
"avg_time" | "available_days" | "available_time" | "staff_experience" | "plugin_experience" | "why_staff" |
|
||||||
"expectations_mod" | "event_experience" | "discord_vc" | "other";
|
"expectations_mod" | "event_experience" | "discord_vc" | "other" | "good_builds" | "bad_builds" | "technical_aspects";
|
||||||
|
|
||||||
export interface Step {
|
export interface Step {
|
||||||
label: string;
|
label: string;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user