From a7e8943e5172247bb65fcb5211e11bda2c82c445 Mon Sep 17 00:00:00 2001 From: NotEternal Date: Fri, 18 Jun 2021 09:28:51 -0500 Subject: [PATCH 1/3] Delete an About page --- src/front/shared/helpers/links.ts | 1 - src/front/shared/helpers/seo.ts | 7 +------ src/front/shared/localisation/en.json | 4 ---- src/front/shared/localisation/es.json | 4 ---- src/front/shared/localisation/pl.json | 4 ---- src/front/shared/localisation/ru.json | 4 ---- src/front/shared/pages/About/About.tsx | 17 ----------------- src/front/shared/routes/index.tsx | 2 -- 8 files changed, 1 insertion(+), 42 deletions(-) delete mode 100644 src/front/shared/pages/About/About.tsx diff --git a/src/front/shared/helpers/links.ts b/src/front/shared/helpers/links.ts index aadbbcea00..70f998bca1 100644 --- a/src/front/shared/helpers/links.ts +++ b/src/front/shared/helpers/links.ts @@ -26,7 +26,6 @@ const linksManager = { atomicSwap: '/atomic-swaps', turboSwap: '/turbo-swaps', feed: '/feed', - aboutUs: '/aboutUs', test: 'https://testnet.swaponline.io', main: 'https://swaponline.io/', wallet: '/wallet', diff --git a/src/front/shared/helpers/seo.ts b/src/front/shared/helpers/seo.ts index c8b07f06fb..ff8d0382ce 100644 --- a/src/front/shared/helpers/seo.ts +++ b/src/front/shared/helpers/seo.ts @@ -3,7 +3,7 @@ const seo = { medium: 'https://medium.com/@swaponline', twitter: 'https://twitter.com/SwapOnlineTeam', facebook: 'https://www.facebook.com/SwapOnlineTeam', - telegram: 'https://t.me/swaponlineint', + telegram: 'https://t.me/swaponline', email: 'info@swaponline.io', mainUrl: 'https://swaponline.io', logo: 'https://screenshots.wpmix.net/chrome_2019-03-28_18-55-506746c4c5-44e6-4bb5-89cb-52ce8fabcedf.png', @@ -55,11 +55,6 @@ const seo = { title: 'Transactions', description: 'Transactions', }, - { - uri: '/aboutus', - title: 'About Us', - description: 'About Us', - }, { uri: '/swap', title: 'Swap', diff --git a/src/front/shared/localisation/en.json b/src/front/shared/localisation/en.json index c3bfb50e7b..672b740ba4 100644 --- a/src/front/shared/localisation/en.json +++ b/src/front/shared/localisation/en.json @@ -1,8 +1,4 @@ [ - { - "id": "menu.aboutus", - "message": "About Us" - }, { "id": "menu.exchange", "message": "Exchange", diff --git a/src/front/shared/localisation/es.json b/src/front/shared/localisation/es.json index 614872f10c..1eb563974e 100644 --- a/src/front/shared/localisation/es.json +++ b/src/front/shared/localisation/es.json @@ -1,8 +1,4 @@ [ - { - "id": "menu.aboutus", - "message": "Quienes Somos" - }, { "id": "menu.exchange", "message": "Intercambio", diff --git a/src/front/shared/localisation/pl.json b/src/front/shared/localisation/pl.json index f641189edf..21246d1f0b 100644 --- a/src/front/shared/localisation/pl.json +++ b/src/front/shared/localisation/pl.json @@ -1,8 +1,4 @@ [ - { - "id": "menu.aboutus", - "message": "O nas" - }, { "id": "menu.exchange", "message": "Giełda", diff --git a/src/front/shared/localisation/ru.json b/src/front/shared/localisation/ru.json index e5f05a57ed..dc89e2df0a 100644 --- a/src/front/shared/localisation/ru.json +++ b/src/front/shared/localisation/ru.json @@ -1,8 +1,4 @@ [ - { - "id": "menu.aboutus", - "message": "О Нас" - }, { "id": "menu.exchange", "message": "Обмен", diff --git a/src/front/shared/pages/About/About.tsx b/src/front/shared/pages/About/About.tsx deleted file mode 100644 index 093037cc4b..0000000000 --- a/src/front/shared/pages/About/About.tsx +++ /dev/null @@ -1,17 +0,0 @@ -import React from 'react' -import { connect } from 'redaction' - -import PageHeadline from 'components/PageHeadline/PageHeadline' -import SubTitle from 'components/PageHeadline/SubTitle/SubTitle' -import { FormattedMessage } from 'react-intl' - - -const About = ({ address }) => ( -
-