Skip to content

Commit f1a8698

Browse files
authored
Change landing page title (#2681)
1 parent 961a6f1 commit f1a8698

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"en": {
3-
"title": "Identity that's private and decentralized.",
3+
"title_1": "Decentralized.",
4+
"title_2": "Private. Identity.",
45
"subtitle": "Since 2021, Internet Identity has combined secure passkey technology with the Internet Computer to keep you safe."
56
}
67
}

src/frontend/src/components/landingPage.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ export const landingPage = ({
3535
</section>
3636
<section class="c-landingPage__left" aria-label="Action Pane">
3737
<div class="c-landingPage__left__content">
38-
<h1 class="c-landingPage__title">${copy.title}</h1>
38+
<h1 class="c-landingPage__title">
39+
<span>${copy.title_1}</span>
40+
<span>${copy.title_2}</span>
41+
</h1>
3942
<p class="t-paragraph">${copy.subtitle}</p>
4043
</div>
4144
<div class="c-landingPage__left__footer">

src/frontend/src/styles/main.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -995,6 +995,12 @@ a:hover,
995995
font-size: var(--rs-split-page-title);
996996
font-weight: 600;
997997
line-height: 1.1;
998+
999+
display: flex;
1000+
flex-direction: column;
1001+
1002+
/* We don't want to break the lines of the title */
1003+
white-space: nowrap;
9981004
}
9991005

10001006
.c-landingPage__logo {
@@ -1028,7 +1034,7 @@ a:hover,
10281034

10291035
display: flex;
10301036
flex-direction: column;
1031-
align-items: center;
1037+
align-items: flex-start;
10321038
justify-content: center;
10331039

10341040
padding: 0 20%;

0 commit comments

Comments
 (0)