-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More text fiddling + remove segment as they don't use Gatsby any long…
…er (#12244) * More text fiddling + remove segment as they don't use Gatsby any longer * Cleanup segment
- Loading branch information
1 parent
a698ddd
commit 057f1ce
Showing
6 changed files
with
27 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters