aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Wei <wei.chen@cobinhood.com>2019-09-05 14:54:44 +0800
committerChen Wei <wei.chen@cobinhood.com>2019-09-05 14:54:44 +0800
commit27e197f49c3d73a21a471ab588b6eaf70c8dae18 (patch)
treea478cbffe3a4a28ae54439775316be7ab4dcbc64
parent641a7b53a24ceb3152767e457a7e3e9edca3e64a (diff)
downloadtangerine-official-website-27e197f49c3d73a21a471ab588b6eaf70c8dae18.tar.gz
tangerine-official-website-27e197f49c3d73a21a471ab588b6eaf70c8dae18.tar.zst
tangerine-official-website-27e197f49c3d73a21a471ab588b6eaf70c8dae18.zip
add mainnet launch message
-rw-r--r--src/components/LandingPage/PartnerList.js18
-rw-r--r--src/pages/index.js6
-rw-r--r--src/translations/en.json3
-rw-r--r--src/translations/zh-Hant.json4
4 files changed, 22 insertions, 9 deletions
diff --git a/src/components/LandingPage/PartnerList.js b/src/components/LandingPage/PartnerList.js
index b52e049..15ad582 100644
--- a/src/components/LandingPage/PartnerList.js
+++ b/src/components/LandingPage/PartnerList.js
@@ -1,5 +1,6 @@
import React, { useState } from "react";
import styled from 'styled-components';
+import { FormattedMessage } from 'react-intl';
// import { graphql, useStaticQuery } from "gatsby";
// import Img from "gatsby-image";
import {
@@ -74,6 +75,7 @@ const Comment = styled.div`
display: flex;
flex-direction: column;
align-items: center;
+ justify-content: center;
`;
const CommentPadding = styled.div`
@@ -82,6 +84,7 @@ const CommentPadding = styled.div`
width: 100%;
display: flex;
justify-content: center;
+ align-items: center;
`;
const PartnerInfo = {
@@ -127,20 +130,26 @@ const Commenter = styled.div`
/* padding-bottom: 30px; */
`
+const MainnetLaunch = styled.div`
+ color: #e05b21;
+ font-weight: bold;
+ font-size: 40px;
+`;
+
const PartnerList = () => {
const [selectedPartner, setSelectedPartner] = useState(PartnerInfo.kryptogo);
const { comment, logo, commenter, name } = selectedPartner;
return (
<Wrapper>
<GridLayout>
- {Object.keys(PartnerInfo).map(
+ {/* {Object.keys(PartnerInfo).map(
(it, key) => (<Item
key={key}
onClick={() => setSelectedPartner(PartnerInfo[it])}
>
<PartnerLogo>{PartnerInfo[it].logo}</PartnerLogo>
</Item>)
- )}
+ )} */}
{/* {Object.keys(PartnerInfo).map(
(it, key) => (<Item
key={key}
@@ -152,9 +161,10 @@ const PartnerList = () => {
</GridLayout>
<CommentPadding>
<Comment>
- <PartnerComment>"{comment}"</PartnerComment>
+ {/* <PartnerComment>"{comment}"</PartnerComment>
<CommentLogo>{logo}</CommentLogo>
- <Commenter>{commenter} - {name}</Commenter>
+ <Commenter>{commenter} - {name}</Commenter> */}
+ <MainnetLaunch><FormattedMessage id="mainnet_929_launch" /></MainnetLaunch>
</Comment>
</CommentPadding>
</Wrapper>
diff --git a/src/pages/index.js b/src/pages/index.js
index 19d4806..9c44c14 100644
--- a/src/pages/index.js
+++ b/src/pages/index.js
@@ -13,7 +13,7 @@ import {
MOBILE_WIDTH,
} from 'src/constants/app';
import Bubble from 'src/components/Bubble';
-// import PartnerList from 'src/components/LandingPage/PartnerList';
+import PartnerList from 'src/components/LandingPage/PartnerList';
import Contact from 'src/components/LandingPage/Contact';
import Tech from 'src/components/LandingPage/Tech';
import Wallet from 'src/components/LandingPage/Wallet';
@@ -158,8 +158,8 @@ const IndexPage = ({ pageContext: { locale }, intl }) => {
<SubTitle>A next-generation blockchain built on fast, fair, and secure consensus protocol</SubTitle>
</TitleSection>
</Landing>
- {/* <Section><PartnerList /></Section>
- <Section><Contact /></Section> */}
+ <Section><PartnerList /></Section>
+ <Section><Contact /></Section>
<Section
id="technology"
title={
diff --git a/src/translations/en.json b/src/translations/en.json
index c976ee2..945eeb6 100644
--- a/src/translations/en.json
+++ b/src/translations/en.json
@@ -33,5 +33,6 @@
"Faucet": "Faucet",
"get_mainnet_token": "Get Mainnet Token",
"see_how_it_works": "See How It Works",
- "get_involved": "Get Involved"
+ "get_involved": "Get Involved",
+ "mainnet_929_launch": "Mainnet Launching on 9/29"
} \ No newline at end of file
diff --git a/src/translations/zh-Hant.json b/src/translations/zh-Hant.json
index 3668b4c..b861da2 100644
--- a/src/translations/zh-Hant.json
+++ b/src/translations/zh-Hant.json
@@ -32,5 +32,7 @@
"Faucet": "Faucet",
"get_mainnet_token": "Get Mainnet Token",
"see_how_it_works": "See How It Works",
- "get_involved": "Get Involved"
+ "get_involved": "Get Involved",
+
+ "mainnet_929_launch": "9/29 主網上線"
} \ No newline at end of file