Skip to content

Commit

Permalink
Merge pull request #109 from IEEEUCSC/main
Browse files Browse the repository at this point in the history
Expand  team Count
  • Loading branch information
Udeesha-Prabhashana authored Jan 30, 2024
2 parents 2c88ad1 + cdc6af9 commit c1762e1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/Controllers/team.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dotenv.config();
const AUTH_KEY = process.env.AUTH_KEY || "";


const expectTeamCount = 50;
const expectTeamCount = 55;

const teamCount = async (): Promise<number> => {
try {
Expand Down
8 changes: 8 additions & 0 deletions frontend/src/Components/Registration/Registration.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,12 @@
.disable-form {
pointer-events: none;
opacity: 0.4;
}

.text-red {
color: red;
font-size: large;
background-color: #fff;
font-weight: bold;
pointer-events: none;
}
9 changes: 9 additions & 0 deletions frontend/src/Components/Registration/Team.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import Swal from 'sweetalert2';
import './Registration.scss';
import { Network, ResponseModel } from "../../Network";


export default function Registration() {
const { register, handleSubmit,watch, formState: { errors }, reset } = useForm();
const [isSubmitting, setIsSubmitting] = useState(false);
Expand Down Expand Up @@ -98,6 +99,14 @@ if (teamMemberCount === 2) {
Delegate Book
</button>
</a>
<div>
<br></br>
</div>
{/* <a target="_blank">
<button className="btn btn-primary py-2 px-4 text-red">
Registration close
</button>
</a> */}
</div>
</div>
</div>
Expand Down

0 comments on commit c1762e1

Please sign in to comment.