Skip to content

Title updated #176

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions web/site/app/composables/docPageData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ export function useDocPageData () {
function createPageHead () {
if (docPageData.value) {
if (docPageData.value._dir === 'get-started') {
return `Get Started - ${docPageData.value.title} - Service BC Connect API Gateway`
return `Get Started - ${docPageData.value.title} | Service BC Connect Developer Site`
} else if (docPageData.value._dir === 'connect') {
return `SBC Connect - ${docPageData.value.title} - Service BC Connect API Gateway`
return `SBC Connect - ${docPageData.value.description} | Service BC Connect Developer Site`
} else {
return `${docPageData.value._dir?.toUpperCase()} - ${docPageData.value.title} - Service BC Connect API Gateway`
return `${docPageData.value.description} - ${docPageData.value.title} | Service BC Connect Developer Site`
}
} else {
return 'Service BC Connect API Gateway'
return 'Service BC Connect Developer Site'
}
}

Expand Down
2 changes: 1 addition & 1 deletion web/site/app/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useBreadcrumbs } from '~/composables/sbcBreadcrumb'
import { setBreadcrumbs } from '~/utils/setBreadcrumb'
const { t } = useI18n()
useHead({
title: t('page.home.title')
title: `${t('page.home.title')} | Service BC Connect Developer Site`
})

const breadcrumbs = useBreadcrumbs()
Expand Down
2 changes: 1 addition & 1 deletion web/site/app/tests/unit/composables/docPageData.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ describe('useDocPageData', () => {
// assert current dir
expect(composable.currentDir.value).toEqual(queryContentMockData._path)
// assert generated page head
expect(composable.createPageHead()).toBe('Get Started - Test Title - Service BC Connect API Gateway')
expect(composable.createPageHead()).toBe('Get Started - Test Title | Service BC Connect Developer Site')
})

// TODO: figure out how to test the watcher reacting to route changes
Expand Down
2 changes: 1 addition & 1 deletion web/site/content/en-CA/products/bn/overview.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 'Overview'
description: 'Business Number Overview'
description: 'Business Names API'
---

# Business Names API
Expand Down
2 changes: 1 addition & 1 deletion web/site/content/en-CA/products/br/overview.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 'Overview'
description: 'Business Registry Overview'
description: 'Business Registry API'
---

# Business Registry API
Expand Down
2 changes: 1 addition & 1 deletion web/site/content/en-CA/products/mhr/overview.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 'Overview'
description: 'Manufactured Home Registry Overview'
description: 'Manufactured Home Registry API'
---

# Manufactured Home Registry API
Expand Down
2 changes: 1 addition & 1 deletion web/site/content/en-CA/products/pay/overview.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 'Overview'
description: 'Pay API Overview'
description: 'Pay API'
---

# Pay API
Expand Down
2 changes: 1 addition & 1 deletion web/site/content/en-CA/products/ppr/overview.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 'Overview'
description: 'Personal Property Registry Overview'
description: 'Personal Property Registry API'
---

# Personal Property Registry API
Expand Down
2 changes: 1 addition & 1 deletion web/site/content/en-CA/products/rs/overview.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 'Overview'
description: 'Registry Search Overview'
description: 'Registry Search API'
---

# Registry Search API
Expand Down
2 changes: 1 addition & 1 deletion web/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "developer-connect-site",
"private": true,
"type": "module",
"version": "1.0.5",
"version": "1.0.6",
"scripts": {
"build-check": "nuxt build",
"build": "nuxt generate",
Expand Down
Loading