Skip to content

Commit 0c895c0

Browse files
Wolfjawankkarimi
authored andcommitted
change CYF to code your future, change font size of some of inputs (#53)
* change CYF to code your future, change font size of some of inputs * wording
1 parent 05b4c46 commit 0c895c0

File tree

4 files changed

+17
-14
lines changed

4 files changed

+17
-14
lines changed

src/Components/forms/index.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,11 @@
5858
}
5959
.contact-interested {
6060
font-size: 20px;
61-
line-height: 24px;
6261
margin-bottom: 50px;
6362
}
63+
.contact-interested span {
64+
line-height: 70px;
65+
}
6466
.contact-interested a {
6567
color: green;
6668
}

src/Components/forms/inputs/dropDown.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react'
2-
2+
import { Label } from 'reactstrap'
33
function SelectOption(arrayList) {
44
if (arrayList) {
55
return arrayList.map(item => {
@@ -15,9 +15,7 @@ function SelectOption(arrayList) {
1515
export default ({ onChange, isEmpty, label, name, arrayList, value }) => {
1616
return (
1717
<div className="form-group">
18-
<label htmlFor={name} className="lead">
19-
{label}
20-
</label>
18+
<Label htmlFor={name}>{label}</Label>
2119
<select
2220
className={`form-control ${isEmpty && 'is-empty'}`}
2321
id={name}

src/Components/forms/inputs/index.js

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,11 @@ export default class VolunteerForm extends Component {
6969
name="cityId"
7070
arrayList={cities}
7171
isEmpty={errors.cityId}
72-
label="What CYF city do you want to work with? *"
72+
label="What Code Your Future city do you want to work with? *"
7373
/>
7474
<p className="contact-interested">
75-
If you're interested in bringing CYF to your city, email us at
75+
If you're interested in bringing Code Your Future to your city, email
76+
us at
7677
<a
7778
href="mailto: [email protected]"
7879
target="_blank"
@@ -116,10 +117,11 @@ export default class VolunteerForm extends Component {
116117
isEmpty={errors.hearAboutCYF}
117118
label="Where did you hear about Code Your Future?"
118119
/>
119-
<p className="contact-interested">
120-
What would you like help Code Your Future with, and what is your level
121-
of experience?
122-
</p>
120+
<span className="contact-interested">
121+
<span>
122+
What would you like to help Code Your Future with and what is your level of experience?
123+
</span>
124+
</span>
123125
<div>
124126
<CheckListH list={ListsData.GuidePeopleThList} />
125127
<CheckListB

src/Components/forms/inputs/phoneNumber.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
import React from 'react'
2+
import { Label } from 'reactstrap'
23
import 'react-phone-number-input/style.css'
34
import PhoneInput, { formatPhoneNumberIntl } from 'react-phone-number-input'
45

56
export default ({ onChange, tel, isEmpty }) => {
67
return (
78
<div className="form-group">
8-
<label htmlFor="tel" className="lead">
9-
<span>Phone number </span>
9+
<Label>
10+
<span>Phone number *</span>
1011
<span className="tel-preview">{formatPhoneNumberIntl(tel)}</span>
11-
</label>
12+
</Label>
1213
<PhoneInput
1314
placeholder="Enter phone number"
1415
value={tel}

0 commit comments

Comments
 (0)