File tree Expand file tree Collapse file tree 2 files changed +16
-9
lines changed
Expand file tree Collapse file tree 2 files changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -5,15 +5,22 @@ import Link from "next/link";
55export default function StudentDashboard ( ) {
66 return (
77 < div className = "px-20 py-2 flex flex-col gap-8 max-w-4xl mx-auto" >
8- < div className = "font-semibold text-2xl" > Events</ div >
9- < Link href = "/RegistrationForm" >
10- < button className = "px-4 py-2 rounded-lg bg-black text-white" >
11- Registration Form
12- </ button >
13- </ Link >
8+ < div className = "bg-stone-800 h-16 w-full" > </ div >
9+
10+ < div className = "flex justify-between items-center" >
11+ < div className = "font-semibold text-2xl" > Events</ div >
12+
13+ < Link href = "/RegistrationForm" >
14+ < button className = "px-4 py-2 rounded-lg bg-black text-white" >
15+ Registration Form
16+ </ button >
17+ </ Link >
18+ </ div >
19+
1420 < RegistrationTracker parties = { PARTIES . filter ( party => party . contactOne . id === 4 ) } />
1521 < div > Party Smart Course </ div >
1622 < StatusComponent completion_date = { null } expiration_date = { null } />
1723 </ div >
24+
1825 ) ;
1926}
Original file line number Diff line number Diff line change @@ -209,14 +209,14 @@ export default function PartyRegistrationForm({
209209 < Field data-invalid = { ! ! errors . secondContactName } >
210210 < FieldLabel htmlFor = "second-contact-name" > Second Contact name</ FieldLabel >
211211 < Input
212- id = "phone-number "
212+ id = "second-contact-name "
213213 placeholder = ""
214214 value = { formData . secondContactName }
215215 onChange = { ( e ) => updateField ( "secondContactName" , e . target . value ) }
216216 aria-invalid = { ! ! errors . secondContactName }
217217 />
218- { errors . phoneNumber && (
219- < FieldError > { errors . phoneNumber } </ FieldError >
218+ { errors . secondContactName && (
219+ < FieldError > { errors . secondContactName } </ FieldError >
220220 ) }
221221 </ Field >
222222
You can’t perform that action at this time.
0 commit comments