Skip to content

Commit f3df88c

Browse files
committed
suspend slot
1 parent d960b80 commit f3df88c

File tree

7 files changed

+214
-200
lines changed

7 files changed

+214
-200
lines changed

docs/404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, minimum-scale=1.0">
5252
<meta name="google-site-verification" content="U0P-wzZTyPd4C6-Nwl5SIg-P-BY9rxE6WOxlcDqWGuk" />
5353

54-
<script type="module" crossorigin src="/assets/index-6661ba48.js"></script>
54+
<script type="module" crossorigin src="/assets/index-c1943864.js"></script>
5555
<link rel="stylesheet" href="/assets/index-06db6eb3.css">
5656
</head>
5757
<body>

docs/assets/index-dc85ce58.js renamed to docs/assets/index-6870ad98.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/index-6661ba48.js renamed to docs/assets/index-c1943864.js

Lines changed: 195 additions & 195 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, minimum-scale=1.0">
5252
<meta name="google-site-verification" content="U0P-wzZTyPd4C6-Nwl5SIg-P-BY9rxE6WOxlcDqWGuk" />
5353

54-
<script type="module" crossorigin src="/assets/index-6661ba48.js"></script>
54+
<script type="module" crossorigin src="/assets/index-c1943864.js"></script>
5555
<link rel="stylesheet" href="/assets/index-06db6eb3.css">
5656
</head>
5757
<body>

src/App.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import Rounds from "./views/Rounds";
3030
import DashboardError from "./views/DashboardError";
3131
import DashboardResults from "./views/DashboardResults";
3232
import SlotSelection from "./views/SlotSelection";
33+
import SlotSuspend from "./views/SlotSuspend";
3334

3435
import Pickle from "./views/Pickle";
3536

@@ -85,7 +86,7 @@ export default function App() {
8586
<Route path="/dashboard" element={ <Overview /> }></Route>
8687
<Route path="/dashboard/rounds" element={ <Rounds /> }></Route>
8788
<Route path="/dashboard/results" element={ <DashboardResults /> }></Route>
88-
<Route path="/dashboard/slots" element={ <SlotSelection /> }></Route>
89+
<Route path="/dashboard/slots" element={ <SlotSuspend /> }></Route>
8990
<Route path="/dashboard/error" element={ <DashboardError /> }></Route>
9091
</Route>
9192
{/* <Route path="/dashboard" element={ <Pickle /> }></Route> */}

src/views/SlotSelection.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export default function SlotSelection() {
157157
{
158158
(!booked) ? (
159159
<span className="available">
160-
Available Seats: { ( slotCount[`Slot ${index+1}`]?.count || slotCount[`Slot ${index+1}`]?.count === 0 ) ? ( slot.max - slotCount[`Slot ${index+1}`]?.count ) : "-"} / { slot.max }
160+
Available Seats: { ( slotCount[`Slot ${index+1}`]?.count || slotCount[`Slot ${index+1}`]?.count === 0 ) ? ( slot.max - slotCount[`Slot ${index+1}`]?.count ) : "-"}
161161
</span>
162162
) : (
163163
<></>

src/views/SlotSuspend.jsx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
3+
4+
5+
export default function SlotSuspend() {
6+
7+
8+
return (
9+
<div className="slotSelection">
10+
Slot Booking is suspended for now, it will open at 8PM.
11+
</div>
12+
)
13+
}

0 commit comments

Comments
 (0)