Skip to content

Commit

Permalink
New title "Choose Identity" when logging in (#2486)
Browse files Browse the repository at this point in the history
* Title "Choose Identity" title

* Remove "Your"
  • Loading branch information
lmuntaner authored Jun 3, 2024
1 parent 0aed4b8 commit 7816351
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
6 changes: 2 additions & 4 deletions src/frontend/src/flows/authorize/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,13 @@
"first_time_alternative_of": "You are creating an Internet Identity with",
"first_time_alternative_of_join": "and",

"use_existing_title_1": "Enter your",
"use_existing_title_2": "Internet Identity",
"use_existing_title_1": "Enter Identity 🔑",
"use_existing_subtitle": "to connect",
"use_existing_subtitle_join": "to",
"use_existing_alternative_of": "Enter the Internet Identity that connects to",
"use_existing_alternative_of_join": "and",

"pick_title_1": "Choose your",
"pick_title_2": "Internet Identity",
"pick_title_1": "Choose Identity 🔑",
"pick_subtitle": "to connect",
"pick_subtitle_join": "to",
"pick_alternative_of": "Choose the Internet Identity that connects to",
Expand Down
4 changes: 1 addition & 3 deletions src/frontend/src/flows/authorize/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,7 @@ export const authnTemplateAuthorize = ({
const altOrigin = isAltOriginOf(action);
return html`
<div class="l-stack">
${h1(
html`${copy[`${action}_title_1`]}<br />${copy[`${action}_title_2`]}`
)}
${h1(html`${copy[`${action}_title_1`]}`)}
<p class="t-lead l-stack">
${copy[`${action}_subtitle`]} ${copy[`${action}_subtitle_join`]}
${nonNullish(knownDapp)
Expand Down
4 changes: 2 additions & 2 deletions src/frontend/src/flows/manage/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,14 @@ export const authnTemplateManage = ({
},
useExisting: {
slot: wrap({
title: html`Enter your <br />Internet Identity`,
title: html`Enter Identity 🔑`,
subtitle: "to continue",
}),
},

pick: {
slot: wrap({
title: html`Choose your <br />Internet Identity`,
title: html`Choose Identity 🔑`,
subtitle: "to continue",
}),
},
Expand Down

0 comments on commit 7816351

Please sign in to comment.