Skip to content

Commit 6be6c7a

Browse files
authored
Merge pull request appwrite#162 from israelozarate7/update-twitter-icon-in-all-references
Update Twitter references to X
2 parents d0b23ce + 7c84a37 commit 6be6c7a

8 files changed

Lines changed: 16 additions & 16 deletions

File tree

src/app/(website)/Footer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import classNames from 'classnames';
55
import CompanyLogo from 'components/common/CompanyLogo';
66
import SocialMedia from 'components/common/SocialMedia';
77
import styles from './Footer.module.css';
8-
import { DISCORD_URL, GITHUB_URL, LINKEDIN_URL, TWITTER_URL } from 'lib/constants';
8+
import { DISCORD_URL, GITHUB_URL, LINKEDIN_URL, X_URL } from 'lib/constants';
99

1010
const data = [
1111
{
@@ -32,7 +32,7 @@ const data = [
3232
{ text: 'Community', href: '/community' },
3333
{ text: 'GitHub', href: GITHUB_URL },
3434
{ text: 'Discord', href: DISCORD_URL },
35-
{ text: 'Twitter', href: TWITTER_URL },
35+
{ text: 'X', href: X_URL },
3636
],
3737
},
3838
{

src/app/(website)/Quotes.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use client';
22
import TextBlock from 'components/layout/TextBlock';
3-
import Twitter from 'assets/twitter.svg';
3+
import X from 'assets/x.svg';
44
import styles from './Quotes.module.css';
55

66
const items = [
@@ -76,7 +76,7 @@ export default function Quotes() {
7676
<div className={styles.username}>{username}</div>
7777
</div>
7878
<div className={styles.logo}>
79-
<Twitter />
79+
<X />
8080
</div>
8181
</div>
8282
<div className={styles.body}>

src/app/(website)/community/Community.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
'use client';
22
import LinkButton from 'components/common/LinkButton';
33
import PageHeader from 'components/layout/PageHeader';
4-
import { GITHUB_URL, DISCORD_URL, TWITTER_URL, LINKEDIN_URL } from 'lib/constants';
4+
import { GITHUB_URL, DISCORD_URL, X_URL, LINKEDIN_URL } from 'lib/constants';
55
import GitHub from 'assets/github.svg';
66
import Discord from 'assets/discord.svg';
7-
import Twitter from 'assets/twitter.svg';
7+
import X from 'assets/x.svg';
88
import LinkedIn from 'assets/linkedin.svg';
99
import styles from './Community.module.css';
1010

@@ -23,10 +23,10 @@ const items = [
2323
icon: <Discord />,
2424
},
2525
{
26-
name: 'Twitter',
27-
description: 'Follow us on Twitter for the latest news and updates.',
28-
url: TWITTER_URL,
29-
icon: <Twitter />,
26+
name: 'X',
27+
description: 'Follow us on X for the latest news and updates.',
28+
url: X_URL,
29+
icon: <X />,
3030
},
3131
{
3232
name: 'LinkedIn',

src/assets/twitter.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/assets/x.svg

Lines changed: 1 addition & 0 deletions
Loading

src/components/common/SocialMedia.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
'use client';
22
import Link from 'next/link';
33
import GitHub from 'assets/github.svg';
4-
import Twitter from 'assets/twitter.svg';
4+
import X from 'assets/x.svg';
55
import Discord from 'assets/discord.svg';
66
import LinkedIn from 'assets/linkedin.svg';
77
import styles from './SocialMedia.module.css';
8-
import { GITHUB_URL, DISCORD_URL, TWITTER_URL, LINKEDIN_URL } from 'lib/constants';
8+
import { GITHUB_URL, DISCORD_URL, X_URL, LINKEDIN_URL } from 'lib/constants';
99

1010
const links = [
1111
{ name: 'GitHub', url: GITHUB_URL, icon: <GitHub /> },
1212
{ name: 'Discord', url: DISCORD_URL, icon: <Discord /> },
13-
{ name: 'Twitter', url: TWITTER_URL, icon: <Twitter /> },
13+
{ name: 'X', url: X_URL, icon: <X /> },
1414
{ name: 'LinkedIn', url: LINKEDIN_URL, icon: <LinkedIn /> },
1515
];
1616

src/content/docs/v2/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Need help getting started? Come join our community!
2929

3030
- [GitHub](https://github.com/umami-software/umami)
3131
- [Discord](https://discord.gg/4dz4zcXYrQ)
32-
- [Twitter](https://twitter.com/umami_software)
32+
- [X](https://twitter.com/umami_software)
3333

3434
## Frequently asked questions
3535

src/lib/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import Code from 'assets/code.svg';
99
export const CLOUD_URL = 'https://cloud.umami.is';
1010
export const GITHUB_URL = 'https://github.com/umami-software/umami';
1111
export const DISCORD_URL = 'https://discord.gg/4dz4zcXYrQ';
12-
export const TWITTER_URL = 'https://twitter.com/umami_software';
12+
export const X_URL = 'https://twitter.com/umami_software';
1313
export const LINKEDIN_URL = 'https://www.linkedin.com/company/umami-software/';
1414
export const GITHUB_STARS = '19.8k';
1515
export const GITHUB_CONTRIBUTORS = '200';

0 commit comments

Comments
 (0)