Skip to content

Commit

Permalink
Merge pull request #4 from appventure-nush/2024_updated_capacities
Browse files Browse the repository at this point in the history
Update locations and fix total pax per slot
  • Loading branch information
Walnit authored May 6, 2024
2 parents b08387d + 828090f commit d28ad9a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/views/BookingPass.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
</h2>
<span class="small-text">
Screenshot this page and show it to your tour guide. Please report to the
<u>Event Horizon</u> 5 minutes early so the tour can start on time.
<u>front of the canteen</u> (near the library entrance) 5 minutes early so
the tour can start on time.
</span>
<div class="spacer"></div>
<div class="cancel-btn" @click="showDialog = true">Cancel booking</div>
Expand Down
2 changes: 1 addition & 1 deletion src/views/SelectTiming.vue
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default {
if (timing < currentTime) continue;
if (numSlots <= 0) continue;
const list = timing < 1200 ? morningSlots : afternoonSlots;
list[timing] = Math.max(list[timing] ?? 0, numSlots);
list[timing] = (list[timing] ?? 0) + numSlots;
}
this.noSlots =
Expand Down
6 changes: 3 additions & 3 deletions src/views/Welcome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
<img src="@/assets/img/school_logo.png" height="54" width="100" />
<h1>NUS High School Tour</h1>
<p>
The tour will start from the Event Horizon and take roughly 30 minutes,
giving you an overview of our school's main facilities from the labs to
the lounges.
The tour will start from the <u>front of the canteen</u> (near the library
entrance) and take roughly 30 minutes, giving you an overview of our
school's main facilities.
</p>
<div style="height: 18px"></div>
<p>
Expand Down

0 comments on commit d28ad9a

Please sign in to comment.