Skip to content

Commit

Permalink
Merge pull request #265 from manipalutsav/testing
Browse files Browse the repository at this point in the history
Testing
  • Loading branch information
Ajoy10 authored Feb 25, 2024
2 parents 9c5de20 + 6e0b20e commit 5095989
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/components/Registration/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ import { Tab, Tabs } from "../../commons/Tabs";

const EventCard = ({ event }) => {
return (
<Link to={!event.name.match(/cooking/i) ? "/register/" + event.id : "#"} css={{
<Link
// Disabling link for now
// to={!event.name.match(/cooking/i) ? "/register/" + event.id : "#"}
to="#"

css={{
display: "flex",
flexDirection: "column",
justifyContent: "space-between",
Expand Down Expand Up @@ -69,14 +74,14 @@ const EventCard = ({ event }) => {
alignItems: "center",
marginTop: 10,
}}>
<div css={{
{/* <div css={{
color: "red",
fontSize: "0.8em",
}}>
<span>{event.unregistered ? "Unregistered" : ""}</span>
</div>
</div> */}
<div>
<Block show={event.name.match(/cooking/i)}>
{/* <Block show={event.name.match(/cooking/i)}>
Event done
</Block>
<Block show={!event.name.match(/cooking/i)}>
Expand All @@ -86,6 +91,9 @@ const EventCard = ({ event }) => {
<Block show={event.registeredCount === event.maxTeamsPerCollege}>
<span css={{ fontSize: "0.9em" }}>Slots full for college</span>
</Block>
</Block> */}
<Block show={true}>
Registration starting soon!
</Block>
</div>
</div>
Expand Down

0 comments on commit 5095989

Please sign in to comment.