From f1948ce4844db4b4e85431f2d4175a7e22269d90 Mon Sep 17 00:00:00 2001 From: Rajandeep Date: Tue, 26 Nov 2024 10:14:52 -0800 Subject: [PATCH 01/28] Developer Site Designs Partial - Card --- web/site/app/locales/en-CA.ts | 11 ++-- web/site/app/pages/index.vue | 95 +++++++++++++++++++++++++++++++++-- 2 files changed, 98 insertions(+), 8 deletions(-) diff --git a/web/site/app/locales/en-CA.ts b/web/site/app/locales/en-CA.ts index a27c8c33..e78cc1dc 100644 --- a/web/site/app/locales/en-CA.ts +++ b/web/site/app/locales/en-CA.ts @@ -4,10 +4,10 @@ export default { goHome: 'Go Home', goBack: 'Go Back', downloadSpec: 'Download the specification', - allProducts: 'View all products', + allProducts: 'View Products', products: 'Products', dashboard: 'Dashboard', - sbcConnect: 'Service BC Connect', + sbcConnect: 'ServiceBC Connect', apiDoc: 'API documentation', createKey: 'Create Key', revoke: 'Revoke', @@ -26,8 +26,8 @@ export default { }, home: { title: 'Home', - h1: 'BC Registries API Gateway', - intro: 'Welcome to the BC Registries API Gateway! Access API information for all BC Registries services here.' + h1: 'Service BC Connect Developer Site', + intro: 'Welcome to the Service BC Connect Developer Site! Access API information for all BC Registries services here.' }, products: { title: 'All Products', @@ -74,6 +74,9 @@ export default { // aria-label label: 'Select a Language, current language: English' }, + SbcMainCard: { + learnMore: 'Learn More' + }, SbcProductCard: { goTo: 'Go to' }, diff --git a/web/site/app/pages/index.vue b/web/site/app/pages/index.vue index 77e55b04..a1fed963 100644 --- a/web/site/app/pages/index.vue +++ b/web/site/app/pages/index.vue @@ -1,12 +1,12 @@ From c29f1edd2978b39760374c300dfb876e93ec4c50 Mon Sep 17 00:00:00 2001 From: Rajandeep Date: Tue, 26 Nov 2024 10:19:31 -0800 Subject: [PATCH 02/28] icon remove --- web/site/app/pages/index.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/web/site/app/pages/index.vue b/web/site/app/pages/index.vue index a1fed963..f115c8bc 100644 --- a/web/site/app/pages/index.vue +++ b/web/site/app/pages/index.vue @@ -102,7 +102,6 @@ useHead({ {{ $t('SbcMainCard.learnMore') }} - From 5e6fa711c909ad2ff3364c9d7ac3bb4fadc14f52 Mon Sep 17 00:00:00 2001 From: Rajandeep Date: Tue, 26 Nov 2024 10:25:04 -0800 Subject: [PATCH 03/28] test text updated --- web/site/app/tests/unit/components/SbcHeaderMain.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/site/app/tests/unit/components/SbcHeaderMain.test.ts b/web/site/app/tests/unit/components/SbcHeaderMain.test.ts index d86bd565..5cc4d2b1 100644 --- a/web/site/app/tests/unit/components/SbcHeaderMain.test.ts +++ b/web/site/app/tests/unit/components/SbcHeaderMain.test.ts @@ -73,7 +73,7 @@ describe('', () => { } }) - const linkTexts = ['Service BC Connect', 'Products', 'Docs'] // 'Dashboard', + const linkTexts = ['ServiceBC Connect', 'Products', 'Docs'] // 'Dashboard', linkTexts.forEach((link: string) => { expect(screen.getByText(link)).toBeTruthy() From 10b62fd02e8a3b0c92d74d7e955a062279794a64 Mon Sep 17 00:00:00 2001 From: Rajandeep Date: Tue, 26 Nov 2024 12:28:36 -0800 Subject: [PATCH 04/28] updated link for rendering --- web/site/app/pages/index.vue | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/web/site/app/pages/index.vue b/web/site/app/pages/index.vue index f115c8bc..bc713377 100644 --- a/web/site/app/pages/index.vue +++ b/web/site/app/pages/index.vue @@ -3,6 +3,7 @@ const { t } = useI18n() useHead({ title: t('page.home.title') }) +const localePath = useLocalePath()