Skip to content

Commit

Permalink
Merge pull request #104 from IEEEUCSC/main
Browse files Browse the repository at this point in the history
Registration Open
  • Loading branch information
nsavinda authored Jan 29, 2024
2 parents 899d819 + 8569c3f commit 7a66bdd
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/src/Controllers/team.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Team from "../Model/team";
import{ Request, Response } from "express";


const expectTeamCount = 0;
const expectTeamCount = 50;

const teamCount = async (): Promise<number> => {
try {
Expand Down
Binary file added frontend/public/MADHACK 3.0.pdf
Binary file not shown.
31 changes: 29 additions & 2 deletions frontend/src/Components/Registration/Team.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,41 @@ if (teamMemberCount === 2) {

return (
<div className="site-section local-bootstrap reg-section">

<div className="container">
{/* Link for Delegate book */}



</div>
<div className="container">



<h1 className='py-2'> Register for the MADHACK 3.0 hackathon</h1>

<h4> Remaining slots : <span

<div className="row py-4 justify-content-center">
<div className="col-md-12 aos-init aos-animate" data-aos="fade-up">
<div className="row form-group">

{/* display flex */}
<div className="col-md-12 justify-content-center
d-flex flex-column align-items-center">
<a href="MADHACK 3.0.pdf" target="_blank">
<button className="btn btn-primary py-2 px-4 text-white">
Delegate Book
</button>
</a>
</div>
</div>
</div>
</div>
{/* <h4> Remaining slots : <span
// background green and red if slots less than 10, use bootstrap classes
className={slotsRemaining < 10 ? "slots-remaining-red" : "slots-remaining-green "}>
{slotsRemaining}
</span></h4>
</span></h4> */}

<div className="row">
<div className="col-md-12 aos-init aos-animate" data-aos="fade-up">
Expand Down

0 comments on commit 7a66bdd

Please sign in to comment.