diff --git a/app/scenes/Document/Shared.tsx b/app/scenes/Document/Shared.tsx index fb05f571b..2908394bf 100644 --- a/app/scenes/Document/Shared.tsx +++ b/app/scenes/Document/Shared.tsx @@ -125,14 +125,14 @@ function SharedDocumentScene(props: Props) { {(config) => config?.name && isCloudHosted ? ( - + {t( "{{ teamName }} is using Outline to share documents, please login to continue.", { teamName: config.name, } )} - + ) : null } @@ -175,7 +175,8 @@ function SharedDocumentScene(props: Props) { ); } -const GetStarted = styled(Text)` +const Content = styled(Text)` + color: ${(props) => props.theme.textSecondary}; text-align: center; margin-top: -8px; `; diff --git a/app/scenes/Login/index.tsx b/app/scenes/Login/index.tsx index 1fdce2b1e..dab5eeb86 100644 --- a/app/scenes/Login/index.tsx +++ b/app/scenes/Login/index.tsx @@ -35,17 +35,9 @@ function Header({ config }: { config?: Config | undefined }) { return null; } - if (isSubdomain) { - return ( - - {t("Back to home")} - - ); - } - return ( - - {t("Back to website")} + + {t("Back to home")} ); } @@ -172,26 +164,30 @@ function Login({ children }: Props) {
- + {config.logo ? ( - + ) : ( - + )} {isCreate ? ( <> - {t("Create an account")} - + + {t("Create a workspace")} + + {t( "Get started by choosing a sign-in method for your new workspace below…" )} - + ) : ( <> - + {t("Login to {{ authProviderName }}", { authProviderName: config.name || "Outline", })} @@ -261,17 +257,20 @@ const Background = styled(Fade)` `; const Logo = styled.div` - height: 38px; + margin-bottom: -4px; `; -const GetStarted = styled(Text)` +const Content = styled(Text)` + color: ${(props) => props.theme.textSecondary}; text-align: center; - margin-top: -12px; + margin-top: -8px; `; const Note = styled(Text)` + color: ${(props) => props.theme.textTertiary}; text-align: center; font-size: 14px; + margin-top: 8px; em { font-style: normal; diff --git a/shared/i18n/locales/en_US/translation.json b/shared/i18n/locales/en_US/translation.json index f614de440..fca803646 100644 --- a/shared/i18n/locales/en_US/translation.json +++ b/shared/i18n/locales/en_US/translation.json @@ -551,14 +551,12 @@ "Continue with Email": "Continue with Email", "Continue with {{ authProviderName }}": "Continue with {{ authProviderName }}", "Back to home": "Back to home", - "Back to website": "Back to website", "Login": "Login", "Failed to load configuration.": "Failed to load configuration.", "Check the network requests and server logs for full details of the error.": "Check the network requests and server logs for full details of the error.", "Check your email": "Check your email", "A magic sign-in link has been sent to the email {{ emailLinkSentTo }} if an account exists.": "A magic sign-in link has been sent to the email {{ emailLinkSentTo }} if an account exists.", "Back to login": "Back to login", - "Create an account": "Create an account", "Get started by choosing a sign-in method for your new workspace below…": "Get started by choosing a sign-in method for your new workspace below…", "Login to {{ authProviderName }}": "Login to {{ authProviderName }}", "You signed in with {{ authProviderName }} last time.": "You signed in with {{ authProviderName }} last time.",