diff --git a/src/App/routes/index.tsx b/src/App/routes/index.tsx index dd24ba4a..643b87b7 100644 --- a/src/App/routes/index.tsx +++ b/src/App/routes/index.tsx @@ -65,6 +65,7 @@ const subscriptionDetail = customWrapRoute({ render: () => import('#views/MySubscription/SubscriptionDetail'), props: {}, }, + wrapperComponent: Auth, context: { title: 'Subscription Detail', visibility: 'is-authenticated', diff --git a/src/views/Login/i18n.json b/src/views/Login/i18n.json index f06d9a11..8fe03e0f 100644 --- a/src/views/Login/i18n.json +++ b/src/views/Login/i18n.json @@ -14,7 +14,7 @@ "loginInvalid":"Invalid username or password", "loginErrorMessage":"Error: {message}", "loginButton":"Login", - "loginDontHaveAccount":"Don’t have an account? {signUpLink}", + "loginDontHaveAccount":"Don’t have an account? {registerLink}", "loginCreateAccountTitle":"Create new account", "loginRegister":"Register", "loginFailureMessage": "Failed to login!", diff --git a/src/views/Login/index.tsx b/src/views/Login/index.tsx index 88845e11..7a857eb2 100644 --- a/src/views/Login/index.tsx +++ b/src/views/Login/index.tsx @@ -231,7 +231,7 @@ export function Component() { > {strings.loginButton} -
+
{registerInfo}
diff --git a/src/views/Login/styles.module.css b/src/views/Login/styles.module.css index f13ba8b8..823b2c65 100644 --- a/src/views/Login/styles.module.css +++ b/src/views/Login/styles.module.css @@ -29,7 +29,7 @@ gap: var(--go-ui-spacing-lg); align-items: center; - .sign-up { + .register { display: flex; gap: var(--go-ui-spacing-sm); }