Skip to content

Commit

Permalink
More text fiddling + remove segment as they don't use Gatsby any long…
Browse files Browse the repository at this point in the history
…er (#12244)

* More text fiddling + remove segment as they don't use Gatsby any longer

* Cleanup segment
  • Loading branch information
KyleAMathews committed Mar 2, 2019
1 parent a698ddd commit 057f1ce
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 42 deletions.
2 changes: 0 additions & 2 deletions www/src/assets/logos.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import JSIcon from "./js.svg"
import GraphQLIcon from "./graphql.svg"
import WebpackIcon from "./webpack.svg"
import ReactJSIcon from "./react.svg"
import SegmentIcon from "./segment.svg"
import FormidableIcon from "./formidable.svg"
import FabricIcon from "./fabric.svg"
import NetlifyIcon from "./netlify.svg"
Expand All @@ -12,7 +11,6 @@ export {
GraphQLIcon,
WebpackIcon,
ReactJSIcon,
SegmentIcon,
FormidableIcon,
FabricIcon,
NetlifyIcon,
Expand Down
18 changes: 0 additions & 18 deletions www/src/assets/segment.svg

This file was deleted.

35 changes: 19 additions & 16 deletions www/src/components/cards.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
import React from "react"
import presets from "../utils/presets"

const Cards = ({ children }) => (
<div
css={{
display: `flex`,
flex: `0 1 auto`,
flexWrap: `wrap`,
background: `#fff`,
borderRadius: presets.radiusLg,
boxShadow: `0 5px 20px rgba(25, 17, 34, 0.1)`,
transform: `translateZ(0)`,
width: `100%`,
}}
>
{children}
</div>
)
const Cards = props => {
return (
<div
className={props.className}
css={{
display: `flex`,
flex: `0 1 auto`,
flexWrap: `wrap`,
background: `#fff`,
borderRadius: presets.radiusLg,
boxShadow: `0 5px 20px rgba(25, 17, 34, 0.1)`,
transform: `translateZ(0)`,
width: `100%`,
}}
>
{props.children}
</div>
)
}

export default Cards
9 changes: 6 additions & 3 deletions www/src/components/diagram.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,12 +259,11 @@ const Diagram = () => (
>
<h1
css={{
marginTop: rhythm(1 / 4),
marginTop: 0, //rhythm(1 / 4),
marginBottom: rhythm(3 / 4),
...scale(0.9),
[presets.Tablet]: {
marginTop: rhythm(1),
marginBottom: rhythm(1.5),
marginTop: rhythm(3 / 4),
},
}}
>
Expand All @@ -275,6 +274,10 @@ const Diagram = () => (
Gatsby is a free and open source framework based on React for
building blazing fast websites and apps
</FuturaParagraph>
<br />
<FuturaParagraph>
Pull data from <em>anywhere</em> in minutes
</FuturaParagraph>
</div>

<Segment className="Source">
Expand Down
2 changes: 1 addition & 1 deletion www/src/components/masthead.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const MastheadContent = () => (
[presets.Hd]: {
paddingTop: rhythm(5),
paddingLeft: vPHd,
paddingBottom: rhythm(3),
paddingBottom: rhythm(2),
},
[presets.VHd]: {
paddingTop: rhythm(6),
Expand Down
3 changes: 1 addition & 2 deletions www/src/components/used-by.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from "react"
import typography, { rhythm, scale } from "../utils/typography"
import presets from "../utils/presets"
import { vP, vPHd, vPVHd, vPVVHd } from "../components/gutters"
import { FormidableIcon, FabricIcon, SegmentIcon } from "../assets/logos"
import { FormidableIcon, FabricIcon } from "../assets/logos"

const Icon = ({ icon, alt, href }) => (
<li
Expand Down Expand Up @@ -136,7 +136,6 @@ const UsedBy = () => (
alt="Fabric"
href="https://meetfabric.com/careers"
/>
<Icon icon={SegmentIcon} alt="Segment" href="https://segment.com" />
<Icon
icon={FormidableIcon}
alt="Formidable"
Expand Down

0 comments on commit 057f1ce

Please sign in to comment.