New login screen (#1331)
* wip * feat: first draft of auth.config * chore: auth methodS * chore: styling * styling, styling, styling * feat: Auth notices * chore: Remove server-rendered pages, move shared/components -> components * lint * cleanup * cleanup * fix: Remove unused component * fix: Ensure env variables in prod too * style tweaks * fix: Entering SSO email into login form fails fix: Tweak language around guest signin
This commit is contained in:
@ -10,7 +10,6 @@ import EmptySpace from "./components/EmptySpace";
|
||||
|
||||
export type Props = {
|
||||
name: string,
|
||||
guest: boolean,
|
||||
actorName: string,
|
||||
actorEmail: string,
|
||||
teamName: string,
|
||||
@ -22,7 +21,6 @@ export const inviteEmailText = ({
|
||||
actorName,
|
||||
actorEmail,
|
||||
teamUrl,
|
||||
guest,
|
||||
}: Props) => `
|
||||
Join ${teamName} on Outline
|
||||
|
||||
@ -30,7 +28,7 @@ ${actorName} (${
|
||||
actorEmail
|
||||
}) has invited you to join Outline, a place for your team to build and share knowledge.
|
||||
|
||||
Join now: ${teamUrl}${guest ? "?guest=true" : ""}
|
||||
Join now: ${teamUrl}
|
||||
`;
|
||||
|
||||
export const InviteEmail = ({
|
||||
@ -38,7 +36,6 @@ export const InviteEmail = ({
|
||||
actorName,
|
||||
actorEmail,
|
||||
teamUrl,
|
||||
guest,
|
||||
}: Props) => {
|
||||
return (
|
||||
<EmailTemplate>
|
||||
@ -52,9 +49,7 @@ export const InviteEmail = ({
|
||||
</p>
|
||||
<EmptySpace height={10} />
|
||||
<p>
|
||||
<Button href={`${teamUrl}${guest ? "?guest=true" : ""}`}>
|
||||
Join now
|
||||
</Button>
|
||||
<Button href={teamUrl}>Join now</Button>
|
||||
</p>
|
||||
</Body>
|
||||
|
||||
|
Reference in New Issue
Block a user