Skip to content

Commit 1a251bf

Browse files
committed
feat(auth-ui): add description to logout success screen
Provide clearer feedback to signed-out users by adding a description to the AuthCard, informing them that their session has ended and that they can safely close the tab or sign back in.
1 parent 8287dec commit 1a251bf

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

app/routes/logout/success.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,14 @@ export const meta: MetaFunction = () => [{ title: 'Signed out' }];
99

1010
export default function LogoutSuccess() {
1111
return (
12-
<AuthCard title={<Trans>You've been signed out</Trans>}>
12+
<AuthCard
13+
title={<Trans>You've been signed out</Trans>}
14+
description={
15+
<Trans>
16+
Your session has ended and you've been securely signed out of Datum. You can safely close
17+
this tab, or sign back in any time to pick up where you left off.
18+
</Trans>
19+
}>
1320
<TrackOnMount event="logout_completed" />
1421
<LinkButton theme="link" type="quaternary" as={Link} href="/">
1522
<Trans>Sign in again</Trans>

0 commit comments

Comments
 (0)