Skip to content

Commit 7ca4d30

Browse files
committed
commented fields for 2nd particpant
1 parent e046d9a commit 7ca4d30

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/Components/Form.jsx

+13-13
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ export default function Form() {
4141
name: "",
4242
college: "",
4343
roll: "",
44-
name2:"",
45-
roll2:"",
44+
// name2:"",
45+
// roll2:"",
4646
phone: "",
4747
branch: "",
4848
year: "",
@@ -136,9 +136,9 @@ export default function Form() {
136136
>
137137
<span className="text-[2.2rem]">Register</span>
138138
<br />
139-
<span className="text-[0.8rem]">
139+
{/* <span className="text-[0.8rem]">
140140
Only 1 member from a team should register.
141-
</span>
141+
</span> */}
142142

143143
<form
144144
className="mt-6 grid gap-3 relative z-30 "
@@ -149,7 +149,7 @@ export default function Form() {
149149
>
150150
<LoadingOverlay visible={visible} />
151151

152-
<TextInput
152+
{/* <TextInput
153153
icon={<span className="material-icons">apartment</span>}
154154
required
155155
label="College"
@@ -169,7 +169,7 @@ export default function Form() {
169169
{...form.getInputProps("teamSize")}
170170
onChange={async (e)=>setTeamSize(e)}
171171
/>
172-
{console.log(teamSize)}
172+
{console.log(teamSize)} */}
173173
<TextInput
174174
icon={<span className="material-icons">face</span>}
175175
required
@@ -186,7 +186,7 @@ export default function Form() {
186186
onBlur={() => form.validateField("roll")}
187187
label="Roll Number"
188188
variant="filled"
189-
placeholder="18P61A0***"
189+
placeholder="21P61A0***"
190190
{...form.getInputProps("roll")}
191191
/>
192192
<div className="flex gap-4">
@@ -196,7 +196,7 @@ export default function Form() {
196196
label="Year"
197197
required
198198
data={[
199-
{ value: "1", label: "1" },
199+
// { value: "1", label: "1" },
200200
{ value: "2", label: "2" },
201201
{ value: "3", label: "3" },
202202
{ value: "4", label: "4" },
@@ -258,7 +258,7 @@ export default function Form() {
258258
onBlur={() => form.validateField("roll2")}
259259
label="Roll Number - Team Member 2"
260260
variant="filled"
261-
placeholder="18P61A0***"
261+
placeholder="21P61A0***"
262262
{...form.getInputProps("roll2")}
263263
/>
264264
<div className="flex gap-4">
@@ -333,14 +333,14 @@ export default function Form() {
333333
placeholder="970414xxxx"
334334
{...form.getInputProps("phone")}
335335
/>
336-
<TextInput
336+
{/* <TextInput
337337
icon={<span className="material-icons">face</span>}
338338
required
339339
label="Hackerrank ID - Enter the ID you will use in the contest"
340340
variant="filled"
341341
placeholder="alan_turing"
342342
{...form.getInputProps("hackerrankID")}
343-
/>
343+
/> */}
344344

345345
{/* <p className="mt-3 text-xs text-red-300">
346346
*Registrants will go through a short interview before being selected
@@ -390,7 +390,7 @@ const Questions = ({ form, setOpened }) => {
390390
setQ1(e.target.value);
391391
}}
392392
autosize
393-
label="What fascinates you about programming ?"
393+
label="What are your expectations from the sessions?"
394394
maxLength={300}
395395
className="mb-4"
396396
minRows={3}
@@ -425,7 +425,7 @@ const Questions = ({ form, setOpened }) => {
425425
q1: error.q2,
426426
});
427427
} else {
428-
await setDoc(doc(db, "users", form.values.roll), {
428+
await setDoc(doc(db, "cS-Saturdays", form.values.roll), {
429429
q1: q1,
430430
q2: q2,
431431
...form.values,

0 commit comments

Comments
 (0)