diff --git a/web/index.html b/web/index.html index b81a9e93..01ec18bb 100644 --- a/web/index.html +++ b/web/index.html @@ -11,7 +11,7 @@ name="viewport" content="width=device-width, initial-scale=1.0" /> - Traditional Knowledge + Traditional Knowledge Vault
diff --git a/web/src/config.ts b/web/src/config.ts index f8acf37b..cfaaf8b1 100644 --- a/web/src/config.ts +++ b/web/src/config.ts @@ -12,7 +12,7 @@ const prodConfig = { clientId: "cGFfr4ZNoqn88sJGBS8VgnbG6oCV2ACc", audience: "generic-production", apiBaseUrl: "", - applicationName: "Traditional Knowledge", + applicationName: "Traditional Knowledge Vault", matomoHost: MATOMO_HOST, matomoSiteId: MATOMO_SITE_ID, } @@ -22,7 +22,7 @@ const uatConfig = { clientId: "11878vWk1pmhwyVQwsr2m2zM3w3e912U", audience: "generic-uat", apiBaseUrl: "", - applicationName: "Traditional Knowledge - UAT", + applicationName: "Traditional Knowledge Vault - UAT", matomoHost: MATOMO_HOST, matomoSiteId: MATOMO_SITE_ID, } @@ -32,7 +32,7 @@ const devConfig = { clientId: "fsWyrDohhHtojdOpOFnAYtFMxwAMHUEF", audience: "testing", apiBaseUrl: DEVELOPMENT_API_BASE_URL, - applicationName: "Traditional Knowledge", + applicationName: "Traditional Knowledge Vault", matomoHost: MATOMO_HOST, matomoSiteId: MATOMO_SITE_ID, } @@ -42,7 +42,7 @@ const localProductionConfig = { clientId: "cGFfr4ZNoqn88sJGBS8VgnbG6oCV2ACc", audience: "generic-production", apiBaseUrl: "http://localhost:8080", - applicationName: "Traditional Knowledge", + applicationName: "Traditional Knowledge Vault", matomoHost: MATOMO_HOST, matomoSiteId: MATOMO_SITE_ID, } diff --git a/web/src/pages/SignInPage.vue b/web/src/pages/SignInPage.vue index 840063c7..ce2608ad 100644 --- a/web/src/pages/SignInPage.vue +++ b/web/src/pages/SignInPage.vue @@ -11,13 +11,15 @@ class="d-lg-flex align-center justify-center" style="overflow: hidden" > - mdi-library +
+

+ {{ paragraph }} +

+
- mdi-library

Traditional Knowledge Vault

-
Yukon Government
Sign in -
Using your MyYukon Credentials
+
Sign in using MyYukon Credentials
- Secure Digital Storage + + The MyYukon service is being used for safe and secure access to the TK Vault. The TK + Vault is a shared space for intergovernmental collaboration and is not publicly + accessible +
- +
@@ -88,12 +83,18 @@ import { useDisplay } from "vuetify" import useCurrentUser from "@/use/use-current-user" -const { mdAndDown, smAndUp } = useDisplay() +const { mdAndDown } = useDisplay() const { reset: resetCurrentUser } = useCurrentUser() const { loginWithRedirect } = useAuth0() +const disclaimerParagraphs = [ + "The Vault is a secure digital storage mechanism intended to improve how the Government of Yukon reflects, respects and protects Traditional Knowledge in a way that is authorized, appropriate and accountable.", + "It is important to note that the Traditional Knowledge contents within have been shared under a government-to-government Information Sharing Agreement that sets out the commitments and responsibilities each government has agreed to uphold.", + "By logging in, you acknowledge and agree to uphold the commitments made by your respective government as set out in the terms and conditions of the relevant Information Sharing Agreement.", +] + onMounted(() => { resetCurrentUser() }) diff --git a/web/src/plugins/router-plugin.ts b/web/src/plugins/router-plugin.ts index 983108c0..c2e75949 100644 --- a/web/src/plugins/router-plugin.ts +++ b/web/src/plugins/router-plugin.ts @@ -10,7 +10,7 @@ const router = createRouter({ }) router.beforeEach(async (to) => { - document.title = `${APPLICATION_NAME} : ${to.meta.title ? " " + to.meta.title : ""}` + document.title = to.meta.title ? `${APPLICATION_NAME} - ${to.meta.title}` : APPLICATION_NAME if (to.meta.requiresAuth === false) return true