-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BRS-468: Mount Seymour Facility Specific Confirmation (#486)
* Facility specific messaging for Mount Seymour * Removing trivy on PR
- Loading branch information
1 parent
901af4a
commit d0e116b
Showing
7 changed files
with
182 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
119 changes: 119 additions & 0 deletions
119
src/app/registration/success/facilityConfirmation/mountSeymour/mountSeymour.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
<!-- Mount Seymour only --> | ||
<!-- Safety information --> | ||
<div class="mb-5"> | ||
<h5 class="mb-4">Safety</h5> | ||
<div class="container"> | ||
<div class="row mb-3 align-content-center"> | ||
<div class="col-auto me-1"> | ||
<i class="text-primary fa-classic fa-regular fa-list-check fa-xl"></i> | ||
</div> | ||
<div class="col"> | ||
Be prepared. Get to know the <a | ||
href="https://www.adventuresmart.ca/the-three-ts/" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
>AdventureSmart's 3Ts</a>. | ||
</div> | ||
</div> | ||
<div class="row mb-3 align-content-center"> | ||
<div class="col-auto me-1"> | ||
<i class="text-primary fa-classic fa-regular fa-triangle-exclamation fa-xl"></i> | ||
</div> | ||
<div class="col"> | ||
Check the <a | ||
[attr.href]="parkLink" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
>park page</a> for advisories. | ||
</div> | ||
</div> | ||
<div class="row mb-3 align-content-center"> | ||
<div class="col-auto me-1"> | ||
<i class="text-primary fa-classic fa-regular fa-hill-avalanche fa-xl"></i> | ||
</div> | ||
<div class="col"> | ||
Check for risk of <a | ||
[attr.href]="avalancheLink" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
>avalanches</a>. | ||
</div> | ||
</div> | ||
<div class="row mb-3 align-content-center"> | ||
<div class="col-auto me-1"> | ||
<i class="text-primary fa-classic fa-regular fa-snowflake fa-xl"></i> | ||
</div> | ||
<div class="col"> | ||
All vehicles must be equipped with winter tires. | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<!-- Vistor guidelines --> | ||
<div class="mb-5"> | ||
<h5 class="mb-4">Visitor guidelines</h5> | ||
<div class="container"> | ||
<div class="row mb-3 align-content-center"> | ||
<div class="col-auto me-1"> | ||
<i class="text-primary fa-classic fa-regular fa-car fa-xl"></i> | ||
</div> | ||
<div class="col"> | ||
The park access road is open from 7 am to 10 pm daily. Extreme weather can affect road access. Check <a | ||
href="https://myseymour.ca/the-mountain/todays-conditions-hours" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
>today's conditions at Mt Seymour</a>. | ||
</div> | ||
</div> | ||
|
||
<div class="row mb-3 align-content-center"> | ||
<div class="col-auto me-1"> | ||
<i class="text-primary fa-classic fa-regular fa-square-parking fa-xl"></i> | ||
</div> | ||
<div class="col"> | ||
Day-use pass holders may park in lot P1 or Lower P5 (<a | ||
href="https://nrs.objectstore.gov.bc.ca/kuwyyf/mount_seymour_parking_map_62573de964.pdf" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
>see parking map</a>. | ||
</div> | ||
</div> | ||
|
||
<div class="row mb-3 align-content-center"> | ||
<div class="col-auto me-1"> | ||
<i class="text-primary fa-classic fa-regular fa-bird fa-xl"></i> | ||
</div> | ||
<div class="col"> | ||
<a | ||
href="https://bcparks.ca/plan-your-trip/visit-responsibly/wildlife-safety/" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
>Respect wildlife</a>. Keep your distance and don’t feed wildlife, including birds! | ||
</div> | ||
</div> | ||
|
||
<div class="row mb-3 align-content-center"> | ||
<div class="col-auto me-1"> | ||
<i class="text-primary fa-classic fa-regular fa-trash-can fa-xl"></i> | ||
</div> | ||
<div class="col"> | ||
There are no garbage cans along the trail. Understand your responsibility to <a | ||
href="https://www.youtube.com/watch?v=Qm3U9eKha74&ab_channel=CallingMountainsProductions" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
>#LeaveNoTrace</a> by packing out anything you pack in. | ||
</div> | ||
</div> | ||
|
||
|
||
<div class="row mb-3 align-content-center"> | ||
<div class="col-auto me-1"> | ||
<i class="text-primary fa-classic fa-regular fa-dog-leashed fa-xl"></i> | ||
</div> | ||
<div class="col"> | ||
Pets are permitted in, but please leash and clean up after your dog. | ||
</div> | ||
</div> | ||
</div> | ||
|
Empty file.
39 changes: 39 additions & 0 deletions
39
src/app/registration/success/facilityConfirmation/mountSeymour/mountSeymour.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import { Component, Input } from '@angular/core'; | ||
import { Router } from '@angular/router'; | ||
|
||
@Component({ | ||
selector: 'app-mountSeymour', | ||
templateUrl: './mountSeymour.component.html', | ||
styleUrls: ['./mountSeymour.component.scss'] | ||
}) | ||
export class MountSeymourComponent { | ||
|
||
@Input() regData: any; | ||
public isMountSeymour = true; | ||
public parkLink = 'https://bcparks.ca/mount-seymour-park/#advisories' | ||
public avalancheLink = 'https://avalanche.ca/map/forecasts/9115d426-7872-4b62-bdd8-234a94ae0ab9_fc022cc076b5327b78b2e1d6fbfd8d1d49dec6a1260f070359a9704acaa9fdaa?panel=null' | ||
|
||
constructor(private router: Router) { } | ||
|
||
print(): void { | ||
const qrContent = document.getElementById('qr-code'); | ||
const printContent = document.getElementById('registration'); | ||
const WindowPrt = window.open('', '', 'left=0,top=0,width=900,height=900,toolbar=0,scrollbars=0,status=0'); | ||
WindowPrt.document.write('<h4> BC Parks Day Pass Reservation System </h4>'); | ||
if (qrContent) { | ||
WindowPrt.document.write(qrContent.innerHTML); | ||
} | ||
WindowPrt.document.write(printContent.innerHTML); | ||
WindowPrt.document.close(); | ||
|
||
WindowPrt.onload = () => { | ||
WindowPrt.focus(); | ||
WindowPrt.print(); | ||
} | ||
} | ||
|
||
navigate(): void { | ||
this.router.navigate(['']); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters