Skip to content

Commit

Permalink
Merge pull request #358 from codypearce/devtomaterial
Browse files Browse the repository at this point in the history
Add Devtomaterial to showcase
  • Loading branch information
codypearce authored Dec 8, 2019
2 parents 1310557 + 6ee045a commit 351ad19
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
Binary file added docs/src/assets/devtomaterial.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions docs/src/components/PlatformButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,16 @@ class Section extends Component {
width: width ? width : 175,
backgroundColor,
borderRadius: 10,
marginBottom: 16,
padding: 16,
}}
rippleContainerBorderRadius={10}>
<img
src={img}
style={{
width: imgWidth ? imgWidth : 100,
maxHeight: 120,
maxWidth: '100%',
margin: 'auto',
marginTop: 16,
marginBottom: 8,
}}
/>
Expand Down
15 changes: 13 additions & 2 deletions docs/src/pages/showcase.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
} from '@components';
import materialBread from '../assets/material-bread-docs.png';
import rni from '../assets/rni.png';
import devtomaterial from '../assets/devtomaterial.png';

class Index extends Component {
componentDidMount() {
Expand All @@ -36,7 +37,7 @@ class Index extends Component {
text={'Material Bread'}
width={250}
imgWidth={200}
height={200}
height={225}
platforms={['Website']}
/>

Expand All @@ -46,9 +47,19 @@ class Index extends Component {
text={'React Native Infinity'}
width={250}
imgWidth={200}
height={200}
height={225}
platforms={['Website']}
/>

<PlatformButton
href={'https://github.com/codypearce/devto-material'}
img={devtomaterial}
text={'Dev.To.Material'}
width={250}
imgWidth={200}
height={225}
platforms={['Web, iOS, Android, Electron']}
/>
</View>
</Section>
</div>
Expand Down

0 comments on commit 351ad19

Please sign in to comment.