Skip to content

Commit

Permalink
add STRR to My Registry Dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
Jxio committed Dec 17, 2024
1 parent 4e6d41a commit 612c372
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion enums/productCode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ export enum ProductCode {
VS = 'VS',
BCA = 'BCA',
ESRA = 'ESRA',
NDS = 'NDS'
NDS = 'NDS',
STRR = 'STRR'
}
Binary file added static/img/STRR_dashboard_thumbnail_image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions utils/user-product-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ export function getProductInfo (config, type: ProductCode): ProductI {
text: 'Search for B.C. government information on the environmental condition of land.',
title: 'Site Registry'
} as ProductI
case ProductCode.STRR:
return {
image: 'img/STRR_dashboard_thumbnail_image.jpg',
link: appendAccountId(config?.strrURL) || 'link_not_configured',
text: 'Register your short-term rental property, platform service provider, or ' +
'strata-titled hotel or motel with the province.',
title: 'Short-Term Rental Registry'
} as ProductI
case ProductCode.VS:
return {
image: 'img/VS_dashboard_thumbnail_image.jpg',
Expand Down

0 comments on commit 612c372

Please sign in to comment.