Skip to content

Commit

Permalink
Updated starting locations
Browse files Browse the repository at this point in the history
  • Loading branch information
Walnit committed May 9, 2024
1 parent 828090f commit 2eff0b0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
15 changes: 13 additions & 2 deletions src/views/BookingPass.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
</h2>
<span class="small-text">
Screenshot this page and show it to your tour guide. Please report to the
<u>front of the canteen</u> (near the library entrance) 5 minutes early so
the tour can start on time.
<u>{{ startLocation }}</u> 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 Expand Up @@ -80,6 +79,18 @@ export default {
throw 'Invalid route';
}
},
startLocation() {
switch (this.groupId[0]) {
case 'A':
return 'Amphitheatre (L1)';
case 'B':
return 'front of the canteen (L1)';
case 'C':
return 'front of the canteen (L1)';
default:
throw '<INVALID VALUE>';
}
},
},
created() {
this.loadBookingInfo();
Expand Down
5 changes: 2 additions & 3 deletions src/views/Welcome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@
<img src="@/assets/img/school_logo.png" height="54" width="100" />
<h1>NUS High School Tour</h1>
<p>
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.
The tour will start from various locations around Level 1 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 2eff0b0

Please sign in to comment.