Skip to content

Commit

Permalink
production: Remove Discord.
Browse files Browse the repository at this point in the history
  • Loading branch information
MeanBoyCousin committed Jul 22, 2024
1 parent e4e8494 commit 419348d
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 39 deletions.
15 changes: 0 additions & 15 deletions packages/front-end/src/Icons/Discord.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions packages/front-end/src/Icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { Change } from "./Change";
import { ChevronUpDown } from "./ChevronUpDown";
import { Close } from "./Close";
import { Cog } from "./Cog";
import { Discord } from "./Discord";
import { DownChevron } from "./DownChevron";
import { Ether } from "./Ether";
import { Github } from "./Github";
Expand All @@ -29,7 +28,6 @@ export {
ChevronUpDown,
Close,
Cog,
Discord,
DownChevron,
Ether,
Github,
Expand Down
13 changes: 2 additions & 11 deletions packages/front-end/src/components/Footer/footerData.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
import dayjs from "dayjs";

import { Discord, Github, Twitter } from "src/Icons";
import { Github, Twitter } from "src/Icons";
import { AppPaths } from "src/config/appPaths";
import {
BLOG_LINK,
DISCORD_LINK,
GITHUB_LINK,
TWITTER_LINK,
} from "src/config/links";
import { BLOG_LINK, GITHUB_LINK, TWITTER_LINK } from "src/config/links";
import {
getContractAddress,
shorthandContractAddress,
Expand Down Expand Up @@ -96,10 +91,6 @@ export const footerData = [
];

export const socials = [
{
Icon: Discord,
href: DISCORD_LINK,
},
{
Icon: Github,
href: GITHUB_LINK,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
import { DHV_NAME } from "src/config/constants";
import { DISCORD_LINK } from "src/config/links";

export const Disclaimer = () => (
<small className="block mt-auto pl-8 pb-16 text-justify text-2xs xl:text-sm">
{`This chart shows the ${DHV_NAME} share price change since the fourth epoch (public launch). Data before this is the result of testing and is excluded. If you have any questions, feel free to `}
<a
className="!text-cyan-dark-compliant underline"
href={DISCORD_LINK}
target="_blank"
rel="noopener noreferrer"
>
{`reach out to us via our Discord.`}
</a>
{`This chart shows the ${DHV_NAME} share price change since the fourth epoch (public launch). Data before this is the result of testing and is excluded.`}
</small>
);
1 change: 0 additions & 1 deletion packages/front-end/src/config/links.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const DOCS_LINK = "https://docs.rysk.finance/";

export const DISCORD_LINK = "https://discord.gg/62846YV7NY";
export const DISCORD_SUPPORT_DESK = "https://discord.gg/SxFJTAqSmW";
export const GITHUB_LINK = "https://github.com/rysk-finance";
export const TWITTER_LINK = "https://twitter.com/ryskfinance";
Expand Down

0 comments on commit 419348d

Please sign in to comment.