Skip to content

Commit c49d42e

Browse files
arturfracalaArtur Fracala
and
Artur Fracala
authored
feat: update copy from Twitter to X and refresh icons (DPS-4429) (#1552)
feat: update copy from Twitter to X and refresh icons Co-authored-by: Artur Fracala <arturfracala@macbook-pro-artur-1.home>
1 parent 06b473f commit c49d42e

File tree

6 files changed

+23
-12
lines changed

6 files changed

+23
-12
lines changed

.env.development

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
NEXT_PUBLIC_CLIENT_ID=e9627d805c0e5322c747735eb0178f4f
22
NEXT_PUBLIC_DISCORD_FOOTER_URL=https://discord.gg/MGFyhbdFxt
3-
NEXT_PUBLIC_TWITTER_LIVECHAT=https://twitter.com/TextPlatform
3+
NEXT_PUBLIC_X_LIVECHAT=https://x.com/TextPlatform
44
NEXT_PUBLIC_GITHUB_LIVECHAT=https://github.com/livechat/livechat-public-docs
55
NEXT_PUBLIC_SERVER_URL=https://accounts.labs.livechat.com
66
NEXT_PUBLIC_LC_API_URL=https://api.labs.livechatinc.com

.env.production

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
NEXT_PUBLIC_CLIENT_ID=49aba739e5310548611ec9a209f7ac03
22
NEXT_PUBLIC_DISCORD_FOOTER_URL=https://discord.gg/MGFyhbdFxt
3-
NEXT_PUBLIC_TWITTER_LIVECHAT=https://twitter.com/TextPlatform
3+
NEXT_PUBLIC_X_LIVECHAT=https://x.com/TextPlatform
44
NEXT_PUBLIC_GITHUB_LIVECHAT=https://github.com/livechat/livechat-public-docs
55
NEXT_PUBLIC_SERVER_URL=https://accounts.livechat.com
66
NEXT_PUBLIC_LC_API_URL=https://api.livechatinc.com

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,4 @@ All contribution's welcome! [Read how to do it.](./CONTRIBUTING.md)
5555
- [Create a free developer account](https://platform.text.com/console/) in our Developer Program.
5656
- [Join our Discord for Developers](https://discord.gg/rFbJkYQFwp)
5757
- Send us an email at developers@text.com
58-
- Follow us on [Twitter](https://twitter.com/LiveChatDev)
58+
- Follow us on [X](https://x.com/TextPlatform)

src/assets/icons/X.js

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
export const XIcon = ({ ...rest }) => (
2+
<svg
3+
xmlns="http://www.w3.org/2000/svg"
4+
viewBox="0 0 50 50"
5+
width="50px"
6+
height="50px"
7+
{...rest}
8+
>
9+
<path d="M 11 4 C 7.1456661 4 4 7.1456661 4 11 L 4 39 C 4 42.854334 7.1456661 46 11 46 L 39 46 C 42.854334 46 46 42.854334 46 39 L 46 11 C 46 7.1456661 42.854334 4 39 4 L 11 4 z M 11 6 L 39 6 C 41.773666 6 44 8.2263339 44 11 L 44 39 C 44 41.773666 41.773666 44 39 44 L 11 44 C 8.2263339 44 6 41.773666 6 39 L 6 11 C 6 8.2263339 8.2263339 6 11 6 z M 13.085938 13 L 22.308594 26.103516 L 13 37 L 15.5 37 L 23.4375 27.707031 L 29.976562 37 L 37.914062 37 L 27.789062 22.613281 L 36 13 L 33.5 13 L 26.660156 21.009766 L 21.023438 13 L 13.085938 13 z M 16.914062 15 L 19.978516 15 L 34.085938 35 L 31.021484 35 L 16.914062 15 z" />
10+
</svg>
11+
);

src/components/core/Footer/Footer.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import React from "react";
22
/** @jsx jsx */
33
import { jsx, css } from "@emotion/core";
4-
import Twitter from "react-material-icon-svg/dist/Twitter";
54
import Github from "react-material-icon-svg/dist/Github";
65

76
import FooterBox from "./FooterBox";
87
import { Discord } from "../../../assets/icons/Discord";
8+
import { XIcon } from "../../../assets/icons/X";
99

1010
const wrapperCss = () => css`
1111
display: flex;
@@ -34,9 +34,9 @@ const footerData = [
3434
{
3535
title: "Follow us",
3636
content: "Follow our insightful tweets and interact with our content.",
37-
buttonIcon: <Twitter />,
38-
buttonCopy: "Twitter",
39-
buttonLink: process.env.NEXT_PUBLIC_TWITTER_LIVECHAT,
37+
buttonIcon: <XIcon />,
38+
buttonCopy: "X (Twitter)",
39+
buttonLink: process.env.NEXT_PUBLIC_X_LIVECHAT,
4040
},
4141
{
4242
title: "Contribute",

src/constants/header.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React from "react";
2-
import Twitter from "react-material-icon-svg/dist/Twitter";
32
import Github from "react-material-icon-svg/dist/Github";
43
import UnfoldMoreVertical from "react-material-icon-svg/dist/UnfoldMoreVertical";
54
import { Discord } from "assets/icons/Discord";
5+
import { XIcon } from "assets/icons/X";
66
import { UpdatesIcon } from "assets/icons/Updates";
77
import { MessagingIcon } from "assets/icons/cards/Messaging";
88
import { ManagementIcon } from "assets/icons/cards/Management";
@@ -188,9 +188,9 @@ export const connects = [
188188
secondaryIcon: <Github fill="#ffffff" />,
189189
},
190190
{
191-
title: "Platform Twitter",
192-
link: process.env.NEXT_PUBLIC_TWITTER_LIVECHAT,
193-
primaryIcon: <Twitter />,
194-
secondaryIcon: <Twitter fill="#ffffff" />,
191+
title: "Platform X",
192+
link: process.env.NEXT_PUBLIC_X_LIVECHAT,
193+
primaryIcon: <XIcon />,
194+
secondaryIcon: <XIcon fill="#ffffff" />,
195195
},
196196
];

0 commit comments

Comments
 (0)