@@ -41,8 +41,8 @@ export default function Form() {
41
41
name : "" ,
42
42
college : "" ,
43
43
roll : "" ,
44
- name2 :"" ,
45
- roll2 :"" ,
44
+ // name2:"",
45
+ // roll2:"",
46
46
phone : "" ,
47
47
branch : "" ,
48
48
year : "" ,
@@ -136,9 +136,9 @@ export default function Form() {
136
136
>
137
137
< span className = "text-[2.2rem]" > Register</ span >
138
138
< br />
139
- < span className = "text-[0.8rem]" >
139
+ { /* <span className="text-[0.8rem]">
140
140
Only 1 member from a team should register.
141
- </ span >
141
+ </span> */ }
142
142
143
143
< form
144
144
className = "mt-6 grid gap-3 relative z-30 "
@@ -149,7 +149,7 @@ export default function Form() {
149
149
>
150
150
< LoadingOverlay visible = { visible } />
151
151
152
- < TextInput
152
+ { /* <TextInput
153
153
icon={<span className="material-icons">apartment</span>}
154
154
required
155
155
label="College"
@@ -169,7 +169,7 @@ export default function Form() {
169
169
{...form.getInputProps("teamSize")}
170
170
onChange={async (e)=>setTeamSize(e)}
171
171
/>
172
- { console . log ( teamSize ) }
172
+ {console.log(teamSize)} */ }
173
173
< TextInput
174
174
icon = { < span className = "material-icons" > face</ span > }
175
175
required
@@ -186,7 +186,7 @@ export default function Form() {
186
186
onBlur = { ( ) => form . validateField ( "roll" ) }
187
187
label = "Roll Number"
188
188
variant = "filled"
189
- placeholder = "18P61A0 ***"
189
+ placeholder = "21P61A0 ***"
190
190
{ ...form . getInputProps ( "roll" ) }
191
191
/>
192
192
< div className = "flex gap-4" >
@@ -196,7 +196,7 @@ export default function Form() {
196
196
label = "Year"
197
197
required
198
198
data = { [
199
- { value : "1" , label : "1" } ,
199
+ // { value: "1", label: "1" },
200
200
{ value : "2" , label : "2" } ,
201
201
{ value : "3" , label : "3" } ,
202
202
{ value : "4" , label : "4" } ,
@@ -258,7 +258,7 @@ export default function Form() {
258
258
onBlur = { ( ) => form . validateField ( "roll2" ) }
259
259
label = "Roll Number - Team Member 2"
260
260
variant = "filled"
261
- placeholder = "18P61A0 ***"
261
+ placeholder = "21P61A0 ***"
262
262
{ ...form . getInputProps ( "roll2" ) }
263
263
/>
264
264
< div className = "flex gap-4" >
@@ -333,14 +333,14 @@ export default function Form() {
333
333
placeholder = "970414xxxx"
334
334
{ ...form . getInputProps ( "phone" ) }
335
335
/>
336
- < TextInput
336
+ { /* <TextInput
337
337
icon={<span className="material-icons">face</span>}
338
338
required
339
339
label="Hackerrank ID - Enter the ID you will use in the contest"
340
340
variant="filled"
341
341
placeholder="alan_turing"
342
342
{...form.getInputProps("hackerrankID")}
343
- />
343
+ /> */ }
344
344
345
345
{ /* <p className="mt-3 text-xs text-red-300">
346
346
*Registrants will go through a short interview before being selected
@@ -390,7 +390,7 @@ const Questions = ({ form, setOpened }) => {
390
390
setQ1 ( e . target . value ) ;
391
391
} }
392
392
autosize
393
- label = "What fascinates you about programming ?"
393
+ label = "What are your expectations from the sessions ?"
394
394
maxLength = { 300 }
395
395
className = "mb-4"
396
396
minRows = { 3 }
@@ -425,7 +425,7 @@ const Questions = ({ form, setOpened }) => {
425
425
q1 : error . q2 ,
426
426
} ) ;
427
427
} else {
428
- await setDoc ( doc ( db , "users " , form . values . roll ) , {
428
+ await setDoc ( doc ( db , "cS-Saturdays " , form . values . roll ) , {
429
429
q1 : q1 ,
430
430
q2 : q2 ,
431
431
...form . values ,
0 commit comments