Skip to content

Commit 465a6c8

Browse files
authored
Merge pull request #176 from Rajandeep98/connect_24998_Page_Title
Title updated
2 parents 955cd3d + c3a8385 commit 465a6c8

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

web/site/app/composables/docPageData.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ export function useDocPageData () {
2626
function createPageHead () {
2727
if (docPageData.value) {
2828
if (docPageData.value._dir === 'get-started') {
29-
return `Get Started - ${docPageData.value.title} - Service BC Connect API Gateway`
29+
return `Get Started - ${docPageData.value.title} | Service BC Connect Developer Site`
3030
} else if (docPageData.value._dir === 'connect') {
31-
return `SBC Connect - ${docPageData.value.title} - Service BC Connect API Gateway`
31+
return `SBC Connect - ${docPageData.value.description} | Service BC Connect Developer Site`
3232
} else {
33-
return `${docPageData.value._dir?.toUpperCase()} - ${docPageData.value.title} - Service BC Connect API Gateway`
33+
return `${docPageData.value.description} - ${docPageData.value.title} | Service BC Connect Developer Site`
3434
}
3535
} else {
36-
return 'Service BC Connect API Gateway'
36+
return 'Service BC Connect Developer Site'
3737
}
3838
}
3939

web/site/app/pages/index.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { useBreadcrumbs } from '~/composables/sbcBreadcrumb'
33
import { setBreadcrumbs } from '~/utils/setBreadcrumb'
44
const { t } = useI18n()
55
useHead({
6-
title: t('page.home.title')
6+
title: `${t('page.home.title')} | Service BC Connect Developer Site`
77
})
88
99
const breadcrumbs = useBreadcrumbs()

web/site/app/tests/unit/composables/docPageData.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ describe('useDocPageData', () => {
5050
// assert current dir
5151
expect(composable.currentDir.value).toEqual(queryContentMockData._path)
5252
// assert generated page head
53-
expect(composable.createPageHead()).toBe('Get Started - Test Title - Service BC Connect API Gateway')
53+
expect(composable.createPageHead()).toBe('Get Started - Test Title | Service BC Connect Developer Site')
5454
})
5555

5656
// TODO: figure out how to test the watcher reacting to route changes

web/site/content/en-CA/products/bn/overview.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 'Overview'
3-
description: 'Business Number Overview'
3+
description: 'Business Names API'
44
---
55

66
# Business Names API

web/site/content/en-CA/products/br/overview.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 'Overview'
3-
description: 'Business Registry Overview'
3+
description: 'Business Registry API'
44
---
55

66
# Business Registry API

web/site/content/en-CA/products/mhr/overview.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 'Overview'
3-
description: 'Manufactured Home Registry Overview'
3+
description: 'Manufactured Home Registry API'
44
---
55

66
# Manufactured Home Registry API

web/site/content/en-CA/products/pay/overview.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 'Overview'
3-
description: 'Pay API Overview'
3+
description: 'Pay API'
44
---
55

66
# Pay API

web/site/content/en-CA/products/ppr/overview.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 'Overview'
3-
description: 'Personal Property Registry Overview'
3+
description: 'Personal Property Registry API'
44
---
55

66
# Personal Property Registry API

web/site/content/en-CA/products/rs/overview.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 'Overview'
3-
description: 'Registry Search Overview'
3+
description: 'Registry Search API'
44
---
55

66
# Registry Search API

web/site/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "developer-connect-site",
33
"private": true,
44
"type": "module",
5-
"version": "1.0.5",
5+
"version": "1.0.6",
66
"scripts": {
77
"build-check": "nuxt build",
88
"build": "nuxt generate",

0 commit comments

Comments
 (0)