Skip to content

Commit 61a3c13

Browse files
committed
Alec feedbacks
1 parent 1c77c46 commit 61a3c13

File tree

6 files changed

+21
-17
lines changed

6 files changed

+21
-17
lines changed

src/Components/forms/Acknowledgement.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default ({ onChange, checked, isEmpty }) => {
66
<span className="form-acknowledgement-header">
77
Acknowledgement: (* Required)
88
</span>
9-
<div className={`form-check ml-4 pl-4 ${isEmpty && 'is-empty'}`}>
9+
<div className={`form-check ml-4 pl-4 mt-2 ${isEmpty && 'is-empty'}`}>
1010
<input
1111
className={`form-check-input`}
1212
type="checkbox"

src/Components/forms/data.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,16 @@
137137
{ "id": "iuhiygutf4w3", "name": "", "level": "", "label": "Other" }
138138
],
139139
"GuidePeopleThList": ["A. Guide people", "None", "Some", "Part of a job"],
140-
"TechSkillThList": ["B. Teach people coding or UX", "", "", ""],
141-
"OtherSkillThList": ["C. Help run Code Your Future", "", "", ""]
140+
"TechSkillThList": [
141+
"B. Teach people coding or UX",
142+
"None",
143+
"Some",
144+
"Part of a job"
145+
],
146+
"OtherSkillThList": [
147+
"C. Help run Code Your Future",
148+
"None",
149+
"Some",
150+
"Part of a job"
151+
]
142152
}

src/Components/forms/helper.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,9 @@ export const initialState = {
2323
lastName: false,
2424
email: false,
2525
city: false,
26-
tel: false,
2726
cityId: false,
2827
interestedInVolunteer: false,
2928
interestedInCYF: false,
30-
industry: false,
31-
hearAboutCYF: false,
3229
acknowledgement: false
3330
}
3431
}

src/Components/forms/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
.contact-interested {
6060
font-size: 20px;
6161
line-height: 24px;
62-
margin-top: 50px;
62+
margin-bottom: 50px;
6363
}
6464
.contact-interested a {
6565
color: green;

src/Components/forms/index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,9 @@ class Forms extends Component {
9999
firstName,
100100
lastName,
101101
email,
102-
tel,
103102
cityId,
104103
interestedInVolunteer,
105104
interestedInCYF,
106-
industry,
107-
hearAboutCYF,
108105
acknowledgement
109106
})
110107
this.validateArray({ guidePeople, techSkill, otherSkill })

src/Components/forms/inputs/index.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export default class VolunteerForm extends Component {
5858
onChange={onChange}
5959
value={firstName}
6060
isEmpty={errors.firstName}
61-
label="First Name"
61+
label="First Name *"
6262
name="firstName"
6363
placeholder="Your first name..."
6464
type="text"
@@ -67,30 +67,30 @@ export default class VolunteerForm extends Component {
6767
onChange={onChange}
6868
value={lastName}
6969
isEmpty={errors.lastName}
70-
label="Last Name"
70+
label="Last Name *"
7171
name="lastName"
7272
placeholder="Your first name..."
7373
type="text"
7474
/>
75-
<PhoneNumber onChange={telOnChange} tel={tel} isEmpty={errors.tel} />
7675
<TextInput
7776
onChange={onChange}
7877
value={email}
7978
isEmpty={errors.email}
8079
emailExist={volunteer.userExist}
81-
label="Email"
80+
label="Email *"
8281
name="email"
8382
placeholder="[email protected]"
8483
type="email"
8584
/>
85+
<PhoneNumber onChange={telOnChange} tel={tel} isEmpty={errors.tel} />
8686
</div>
8787
<DropDown
8888
onChange={onChange}
8989
value={cityId}
9090
name="cityId"
9191
arrayList={cities}
9292
isEmpty={errors.cityId}
93-
label="What CYF city do you want to work with?"
93+
label="What CYF city do you want to work with? *"
9494
/>
9595
<p className="contact-interested">
9696
If you're interested in bringing CYF to your city, email us at
@@ -107,7 +107,7 @@ export default class VolunteerForm extends Component {
107107
onChange={onChange}
108108
value={interestedInVolunteer}
109109
isEmpty={errors.interestedInVolunteer}
110-
label="Why are you interested in volunteering?"
110+
label="Why are you interested in volunteering? *"
111111
name="interestedInVolunteer"
112112
placeholder="Text..."
113113
type="text"
@@ -116,7 +116,7 @@ export default class VolunteerForm extends Component {
116116
onChange={onChange}
117117
value={interestedInCYF}
118118
isEmpty={errors.interestedInCYF}
119-
label="Why are you interested in Code Your Future?"
119+
label="Why are you interested in Code Your Future? *"
120120
name="interestedInCYF"
121121
placeholder="Text..."
122122
type="text"

0 commit comments

Comments
 (0)