Skip to content

Commit e0daacb

Browse files
authored
Merge pull request #552 from UTDNebula/onboarding-form
Add labels to onboarding form
2 parents 75ef5d5 + a3bff0d commit e0daacb

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/components/AutoCompleteMajor.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const AutoCompleteMajor: FC<AutoCompleteMajorProps & React.ComponentPropsWithout
1717
onInputChange,
1818
options,
1919
autoFocus,
20-
placeholder = 'Choose your major',
20+
placeholder = 'Major',
2121
defaultValue = '',
2222
...props
2323
}) => {
@@ -63,7 +63,7 @@ const AutoCompleteMajor: FC<AutoCompleteMajorProps & React.ComponentPropsWithout
6363
<TextField
6464
{...params}
6565
variant="standard"
66-
className="h-11 appearance-none rounded border border-[#6366F1] bg-white pl-4 text-[14px] font-semibold text-black outline-none"
66+
className="h-11 appearance-none rounded border border-[#6366F1] bg-[#F5F5F5] pl-4 text-[14px] font-semibold text-black outline-none"
6767
inputProps={{
6868
style: { fontSize: 14, marginTop: 8 },
6969
...params.inputProps,

src/components/onboarding/welcome.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export default function Welcome({
120120
<p className="text-sm text-[16px] font-semibold leading-normal text-[#737373]">
121121
Tell us your name, major, and school semesters!
122122
</p>
123-
<section className="mt-7 space-y-5">
123+
<section className="mt-7">
124124
<div className="relative mb-4">
125125
<input
126126
type="text"
@@ -135,7 +135,7 @@ export default function Welcome({
135135
></input>
136136
</div>
137137

138-
<div className="relative mb-4">
138+
<div className="relative mb-5">
139139
<AutoCompleteMajor
140140
className="w-[500px] rounded border outline-none"
141141
key={0}
@@ -145,6 +145,7 @@ export default function Welcome({
145145
autoFocus
146146
></AutoCompleteMajor>
147147
</div>
148+
<div className="mb-2 font-medium">Starting Semester:</div>
148149
<div className="flex items-center justify-between">
149150
<div className="relative mb-4">
150151
<Select
@@ -232,6 +233,7 @@ export default function Welcome({
232233
</Select>
233234
</div>
234235
</div>
236+
<div className="mb-2 font-medium">Ending Semester:</div>
235237
<div className="flex items-center justify-between">
236238
<div className="relative mb-4">
237239
<Select

0 commit comments

Comments
 (0)