diff --git a/strr-web/components/common/BcrosContactInfo.vue b/strr-web/components/common/BcrosContactInfo.vue new file mode 100644 index 00000000..34ce4649 --- /dev/null +++ b/strr-web/components/common/BcrosContactInfo.vue @@ -0,0 +1,44 @@ + + + + + diff --git a/strr-web/components/common/InfoModal.vue b/strr-web/components/common/InfoModal.vue new file mode 100644 index 00000000..ab143918 --- /dev/null +++ b/strr-web/components/common/InfoModal.vue @@ -0,0 +1,86 @@ + + + diff --git a/strr-web/composables/useBreadcrumb.ts b/strr-web/composables/useBreadcrumb.ts index dbf0e00b..68bddd01 100644 --- a/strr-web/composables/useBreadcrumb.ts +++ b/strr-web/composables/useBreadcrumb.ts @@ -27,9 +27,9 @@ export const useBreadcrumb = () => { setRegistrationNumber(application?.header.registrationNumber) } - // Remove '-id' suffix and language codes (e.g., '___en') from route names to match RouteNamesE enum values + // Remove '-id' suffix from route names to match RouteNamesE enum values const cleanupRoute = (routeName: string) => { - return routeName?.replace(/(-id|___\w{2}$)/g, '') as RouteNamesE + return routeName?.replace(/(-id)/g, '') as RouteNamesE } /** diff --git a/strr-web/lang/en.json b/strr-web/lang/en.json index 33714ba3..dc8bcdb9 100644 --- a/strr-web/lang/en.json +++ b/strr-web/lang/en.json @@ -4,6 +4,9 @@ "hostDashboard": "My STR Registry Dashboard", "examinerDashboard": "My CEU STR Registry Dashboard", "rentalRegistration": "Short-Term Rental Registration" + }, + "baseModal": { + "closeButtonLabel": "Close" } }, "registryDashboard": { @@ -361,6 +364,11 @@ "subTitle": "Select an account below or create a new one", "useAccountButton": "Use this account", "createAccountButton": "Create account" + }, + "helpModal": { + "header": "Need Help?", + "openButtonLabel": "Help with setting up an account", + "contactUs": "If you need help with setting up your BC Registries and Online Services account, please contact us." } }, "header": { @@ -420,5 +428,19 @@ "bceid": "BCeID", "idir": "IDIR" } + }, + "bcrosContactInfo": { + "tollFree": { + "label": "Canada and U.S. Toll Free:", + "value": "1-877-370-1033" + }, + "local": { + "label": "Victoria Office:", + "value": "250-370-1033" + }, + "email": { + "label": "Email:", + "value": "BCRegistries{'@'}gov.bc.ca" + } } } \ No newline at end of file diff --git a/strr-web/nuxt.config.ts b/strr-web/nuxt.config.ts index 398b5df7..4a23abbd 100644 --- a/strr-web/nuxt.config.ts +++ b/strr-web/nuxt.config.ts @@ -51,7 +51,8 @@ export default defineNuxtConfig({ langDir: './lang', locales: [ { code: 'en', file: 'en.json' } - ] + ], + strategy: 'no_prefix' // routes won't have a locale prefix __en }, eslint: { /* module options */ diff --git a/strr-web/package.json b/strr-web/package.json index dc291a3b..51e2517b 100644 --- a/strr-web/package.json +++ b/strr-web/package.json @@ -1,6 +1,6 @@ { "name": "strr-web", - "version": "0.1.26", + "version": "0.1.27", "description": "Short Term Rental Registration UI - Mono repo workspace", "scripts": { "preinstall": "npx only-allow pnpm", diff --git a/strr-web/pages/account-select.vue b/strr-web/pages/account-select.vue index bc8945be..0eb05ebb 100644 --- a/strr-web/pages/account-select.vue +++ b/strr-web/pages/account-select.vue @@ -2,23 +2,33 @@
- + + +

+ {{ t('account.helpModal.contactUs') }} +

+
{{ t('general.note') }} {{ t('account.existingAccountWarning') }} - + {{ t('account.existingAccountSection.subTitle') }}
- +