Skip to content

Commit 0f8ca03

Browse files
authored
Fix judge validation and ui (#459)
* removed popup bg and padding * remove medtech from domain val * remove medtech from seeding
1 parent aff5a57 commit 0f8ca03

File tree

6 files changed

+3
-9
lines changed

6 files changed

+3
-9
lines changed

app/(pages)/judges/(app)/_components/Landing/ViewProjects.module.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
.container {
2-
background-color: #f2f2f7;
3-
padding: 24px 20px 0px;
42
color: var(--text-dark);
53

6-
74
h1 {
85
font-size: 1.75rem;
96
font-weight: 700;

app/(pages)/judges/_components/AuthForms/CheckInForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default function CheckInForm({ id }: any) {
3636
<AuthForm
3737
role="judge"
3838
fields={formFields}
39-
buttonText="Check in"
39+
buttonText="Check in"
4040
initialValues={{
4141
code: '',
4242
opted_into_panels: false,

app/(pages)/judges/_components/AuthForms/DetailForm.module.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
width: 100%;
33
height: 60vh;
44
max-height: 100vh;
5-
background-color: #F2F2F7;
65
border-radius: var(--b-radius);
76
display: flex;
87
flex-direction: column;

app/(pages)/judges/_components/AuthForms/RegisterForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default function RegisterForm({ data }: any) {
5757
<AuthForm
5858
role="judge"
5959
fields={formFields}
60-
buttonText="Next"
60+
buttonText="Next"
6161
initialValues={{
6262
email: data?.email ?? '',
6363
password: '',

app/_data/db_validation_data.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"business",
55
"aiml",
66
"hardware",
7-
"design",
8-
"medtech"
7+
"design"
98
],
109
"tracks": [
1110
"Best Hack for Social Good",

scripts/generateData.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ function weightedShuffleSpecialties(specialties) {
2525
aiml: 0.1,
2626
hardware: 0.039,
2727
design: 0.158,
28-
medtech: 0.015,
2928
};
3029
const availableWeighted = specialties.filter(
3130
(s) => weightMap[s.toLowerCase()] !== undefined

0 commit comments

Comments
 (0)