diff options
author | Ezekiel Aquino <ezekiel@bakkenbaeck.no> | 2018-12-12 22:19:11 +0800 |
---|---|---|
committer | Ezekiel Aquino <ezekiel@bakkenbaeck.no> | 2018-12-12 22:19:11 +0800 |
commit | 94c90cc49a556438a6eb298ddac7c0fb36163fde (patch) | |
tree | fe2b4f6fb6bfd3f496ae78164f82a6607d54136a /packages/website/ts/@next/pages | |
parent | d8e03b87d6e3152878902348f613ad006697c224 (diff) | |
download | dexon-sol-tools-94c90cc49a556438a6eb298ddac7c0fb36163fde.tar dexon-sol-tools-94c90cc49a556438a6eb298ddac7c0fb36163fde.tar.gz dexon-sol-tools-94c90cc49a556438a6eb298ddac7c0fb36163fde.tar.bz2 dexon-sol-tools-94c90cc49a556438a6eb298ddac7c0fb36163fde.tar.lz dexon-sol-tools-94c90cc49a556438a6eb298ddac7c0fb36163fde.tar.xz dexon-sol-tools-94c90cc49a556438a6eb298ddac7c0fb36163fde.tar.zst dexon-sol-tools-94c90cc49a556438a6eb298ddac7c0fb36163fde.zip |
Cleanup press page, siteWrap
Diffstat (limited to 'packages/website/ts/@next/pages')
-rw-r--r-- | packages/website/ts/@next/pages/about/press.tsx | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/packages/website/ts/@next/pages/about/press.tsx b/packages/website/ts/@next/pages/about/press.tsx index 68af1cb0f..259618d13 100644 --- a/packages/website/ts/@next/pages/about/press.tsx +++ b/packages/website/ts/@next/pages/about/press.tsx @@ -4,7 +4,7 @@ import styled from 'styled-components'; import { AboutPageLayout } from 'ts/@next/components/aboutPageLayout'; import { Link } from 'ts/@next/components/button'; -import { Column, Section, Wrap } from 'ts/@next/components/layout'; +import { Column, FlexWrap, Section } from 'ts/@next/components/newLayout'; import { Separator } from 'ts/@next/components/separator'; import { Heading, Paragraph } from 'ts/@next/components/text'; @@ -45,8 +45,6 @@ export const NextAboutPress = () => ( Want to write about 0x? Get in touch, or download our press kit. </Paragraph> - <Separator/> - {_.map(highlights, (highlight, index) => ( <Highlight key={`highlight-${index}`} highlight={highlight} /> ))} @@ -56,17 +54,19 @@ export const NextAboutPress = () => ( ); const Highlight = ({ highlight }) => ( - <> - <Wrap> - <Column colWidth="1/3"> - <img src={highlight.logo} alt={highlight.title} /> - </Column> - <Column colWidth="2/3"> - <Paragraph isMuted={false}>{highlight.text}</Paragraph> - <Link href={highlight.href} isWithArrow={true} isNoBorder={true}>Read Article</Link> - </Column> - </Wrap> + <HighlightWrap> + <Column> + <img src={highlight.logo} alt={highlight.title} /> + </Column> - <Separator/> - </> + <Column width="60%" maxWidth="560px"> + <Paragraph isMuted={false}>{highlight.text}</Paragraph> + <Link href={highlight.href} isWithArrow={true} isNoBorder={true}>Read Article</Link> + </Column> + </HighlightWrap> ); + +const HighlightWrap = styled(FlexWrap)` + border-top: 1px solid #eaeaea; + padding: 30px 0; +`; |