Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
xavier506 committed Dec 23, 2022
2 parents 63160c4 + 4622015 commit d820425
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 9 deletions.
2 changes: 1 addition & 1 deletion public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"noEdenMember": "You must be an Eden member to be able to sign in.",
"voteBPs": "Vote for BPs",
"viewDeck": "View the Deck",
"whitepaper": "Whitepaper",
"whitepaper": "Litepaper",
"title": {
"first": "Delegate for Accountability",
"second": "Choose Eden Smart Proxy"
Expand Down
2 changes: 1 addition & 1 deletion src/components/Home/Body/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const Body: React.FC = () => {
variant='secondary'
/>
<Button
onClick={() => downloadFile(getAnnouncing())}
onClick={() => window.open(getAnnouncing(), '_ blank')}
label={t('home.whitepaper')}
variant='secondary'
/>
Expand Down
3 changes: 3 additions & 0 deletions src/components/Home/Bottom/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ const Bottom: React.FC = () => {
<div className={classes.containerBottom}>
<div className={clsx(classes.wrapperGrid, classes.twitter)}>
<div className={classes.gridRow}>
<div className={classes.gridItem}>
<Tweet tweetId='1606091927300046850' />
</div>
<div className={classes.gridItem}>
<Tweet tweetId='1578776363435032577' />
</div>
Expand Down
11 changes: 8 additions & 3 deletions src/components/Home/Bottom/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,18 @@ const Styles = makeStyles(theme => ({
width: '100%',
margin: '0 auto',
[theme.breakpoints.up('sm')]: {
width: 600
width: '90%'
},
[theme.breakpoints.up('md')]: {
width: '75%'
}
},
gridRow: {
display: 'flex',
flexFlow: 'row wrap',
justifyContent: 'center'
justifyContent: 'center',
[theme.breakpoints.down('md')]: {
flexFlow: 'row wrap'
}
},
gridItem: {
flexBasis: '100%',
Expand Down
8 changes: 4 additions & 4 deletions src/config/constants/homePage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ const decks = {
}

const announcing = {
ko: 'docs/announcing/에덴 스마트 프록시 라이트페이퍼(초벌번역).pdf',
en: 'docs/announcing/Announcing Eden Smart Proxy.pdf',
es: 'docs/announcing/Anuncio Eden Smart Proxy.pdf',
cn: 'docs/announcing/宣布 Eden 智能代理.pdf'
ko: 'https://docs.google.com/document/d/1iQIpJyCWi-B98Iv_ip2G6DIQQgbD_SGs68jQOjvXnuE/edit',
en: 'https://docs.google.com/document/d/1cWqtsJPtR6JGOMswdsJvfpJbXs2B1p5Pto4bbbp-et8/edit',
es: 'https://docs.google.com/document/d/1hNA6buQr_i_rWY5SPyroWkckZYbYCiPcRnSL-eD2cto/edit',
cn: 'https://docs.google.com/document/d/1Sx3_KRC5pC_6sGUYMoWCuw6Z-K0Awlxc2TfO5VublHU/edit'
}

export default { decks, announcing }

0 comments on commit d820425

Please sign in to comment.