Skip to content

Commit eddaf7c

Browse files
authored
Swap out Twitter link for Mastodon on auth footer (#28508)
* Swap out Twitter link for Mastodon on auth footer Signed-off-by: Michael Telatynski <[email protected]> * Update snapshots & screenshots Signed-off-by: Michael Telatynski <[email protected]> --------- Signed-off-by: Michael Telatynski <[email protected]>
1 parent 3860226 commit eddaf7c

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed
Loading
Loading
Loading
Loading

src/components/views/auth/AuthFooter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const AuthFooter = (): ReactElement => {
1616
const brandingConfig = SdkConfig.getObject("branding");
1717
const links = brandingConfig?.get("auth_footer_links") ?? [
1818
{ text: "Blog", url: "https://element.io/blog" },
19-
{ text: "Twitter", url: "https://twitter.com/element_hq" },
19+
{ text: "Mastodon", url: "https://mastodon.matrix.org/@Element" },
2020
{ text: "GitHub", url: "https://github.com/element-hq/element-web" },
2121
];
2222

test/unit-tests/components/structures/__snapshots__/MatrixChat-test.tsx.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,11 @@ exports[`<MatrixChat /> Multi-tab lockout waits for other tab to stop during sta
180180
Blog
181181
</a>
182182
<a
183-
href="https://twitter.com/element_hq"
183+
href="https://mastodon.matrix.org/@Element"
184184
rel="noreferrer noopener"
185185
target="_blank"
186186
>
187-
Twitter
187+
Mastodon
188188
</a>
189189
<a
190190
href="https://github.com/element-hq/element-web"
@@ -357,11 +357,11 @@ exports[`<MatrixChat /> with a soft-logged-out session should show the soft-logo
357357
Blog
358358
</a>
359359
<a
360-
href="https://twitter.com/element_hq"
360+
href="https://mastodon.matrix.org/@Element"
361361
rel="noreferrer noopener"
362362
target="_blank"
363363
>
364-
Twitter
364+
Mastodon
365365
</a>
366366
<a
367367
href="https://github.com/element-hq/element-web"

test/unit-tests/components/views/auth/__snapshots__/AuthFooter-test.tsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ exports[`<AuthFooter /> should match snapshot 1`] = `
1414
Blog
1515
</a>
1616
<a
17-
href="https://twitter.com/element_hq"
17+
href="https://mastodon.matrix.org/@Element"
1818
rel="noreferrer noopener"
1919
target="_blank"
2020
>
21-
Twitter
21+
Mastodon
2222
</a>
2323
<a
2424
href="https://github.com/element-hq/element-web"

test/unit-tests/components/views/auth/__snapshots__/AuthPage-test.tsx.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ exports[`<AuthPage /> should match snapshot 1`] = `
3030
Blog
3131
</a>
3232
<a
33-
href="https://twitter.com/element_hq"
33+
href="https://mastodon.matrix.org/@Element"
3434
rel="noreferrer noopener"
3535
target="_blank"
3636
>
37-
Twitter
37+
Mastodon
3838
</a>
3939
<a
4040
href="https://github.com/element-hq/element-web"

0 commit comments

Comments
 (0)