Skip to content

Commit

Permalink
[docs] Who's using Material-UI? (#15169)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrookes committed Apr 10, 2019
1 parent 654bd87 commit 492f0d1
Show file tree
Hide file tree
Showing 10 changed files with 103 additions and 15 deletions.
6 changes: 0 additions & 6 deletions BACKERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ via [OpenCollective](https://opencollective.com/material-ui)
<a data-ga-event-category="sponsors" data-ga-event-action="logo" data-ga-event-label="localize" href="https://localizejs.com" rel="noopener" target="_blank" style="margin-right: 16px;">
<img src="https://images.opencollective.com/proxy/images?src=https%3A%2F%2Fopencollective-production.s3-us-west-1.amazonaws.com%2F629dea80-f1ae-11e8-b356-a5942970e22b.png&height=65" alt="localize" title="Application translation & localization platform">
</a>
<a data-ga-event-category="sponsors" data-ga-event-action="logo" data-ga-event-label="yakaz" href="https://yakaz.com" rel="noopener" target="_blank" style="margin-right: 16px;">
<img src="https://images.opencollective.com/proxy/images?src=https%3A%2F%2Fopencollective-production.s3-us-west-1.amazonaws.com%2Fb47b9630-1586-11e9-a4d4-47c0a7133bdc.png&height=80" alt="yakaz" title="Search classified ads">
</a>
<a data-ga-event-category="sponsors" data-ga-event-action="logo" data-ga-event-label="zinggrid" href="https://www.zinggrid.com/" rel="noopener" target="_blank" style="margin-right: 16px;">
<img src="https://images.opencollective.com/proxy/images?src=https%3A%2F%2Fopencollective-production.s3-us-west-1.amazonaws.com%2F453226e0-258a-11e9-ac89-996ff9caccb7.png&height=45" alt="zinggrid" title="Makes powerful grids easy">
</a>
</p>

## Silver Sponsors
Expand Down
8 changes: 1 addition & 7 deletions docs/src/modules/components/HomeBackers.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,9 @@ via [OpenCollective](https://opencollective.com/material-ui)
<a data-ga-event-category="sponsors" data-ga-event-action="logo" data-ga-event-label="localize" href="https://localizejs.com" rel="noopener" target="_blank" style="margin-right: 16px;">
<img src="https://images.opencollective.com/proxy/images?src=https%3A%2F%2Fopencollective-production.s3-us-west-1.amazonaws.com%2F629dea80-f1ae-11e8-b356-a5942970e22b.png&height=65" alt="localize" title="Application translation & localization platform">
</a>
<a data-ga-event-category="sponsors" data-ga-event-action="logo" data-ga-event-label="yakaz" href="https://yakaz.com" rel="noopener" target="_blank" style="margin-right: 16px;">
<img src="https://images.opencollective.com/proxy/images?src=https%3A%2F%2Fopencollective-production.s3-us-west-1.amazonaws.com%2Fb47b9630-1586-11e9-a4d4-47c0a7133bdc.png&height=80" alt="yakaz" title="Search classified ads">
</a>
<a data-ga-event-category="sponsors" data-ga-event-action="logo" data-ga-event-label="zinggrid" href="https://www.zinggrid.com/" rel="noopener" target="_blank" style="margin-right: 16px;">
<img src="https://images.opencollective.com/proxy/images?src=https%3A%2F%2Fopencollective-production.s3-us-west-1.amazonaws.com%2F453226e0-258a-11e9-ac89-996ff9caccb7.png&height=45" alt="zinggrid" title="Makes powerful grids easy">
</a>
</p>
### There is more!
### There are more!
See the full list of [our backers](/discover-more/backers/).
Expand Down
98 changes: 98 additions & 0 deletions docs/src/modules/components/HomeUsers.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
import React from 'react';
import PropTypes from 'prop-types';
import { withStyles } from '@material-ui/core/styles';
import NoSsr from '@material-ui/core/NoSsr';
import Grid from '@material-ui/core/Grid';
import Button from '@material-ui/core/Button';
import Typography from '@material-ui/core/Typography';

const users = [
{
logo: 'nasa.png',
caption: 'NASA',
},
{
logo: 'walmart-labs.png',
caption: 'Walmart Labs',
},
{
logo: 'capgemini.png',
caption: 'Capgemini',
},
{
logo: 'uniqlo.png',
caption: 'Uniqlo',
},
{
logo: 'bethesda.png',
caption: 'Bethesda',
},
];

const styles = theme => ({
root: {
padding: theme.spacing.unit * 2,
backgroundColor: theme.palette.background.paper,
minHeight: 160,
paddingTop: theme.spacing.unit * 5,
},
container: {
paddingTop: theme.spacing.unit * 14,
paddingBottom: theme.spacing.unit * 14,
margin: 'auto',
borderTop: `1px solid ${theme.palette.divider}`,
maxWidth: theme.spacing.unit * 110,
},
grid: {
marginTop: theme.spacing.unit * 5,
marginBottom: theme.spacing.unit * 5,
},
img: {
margin: '12px 24px',
},
});

function HomeUsers(props) {
const { classes } = props;

return (
<div className={classes.root}>
<NoSsr>
<div className={classes.container}>
<Typography variant="h4" align="center" gutterBottom>
{"Who's using Material-UI?"}
</Typography>
<Typography variant="body1" align="center" gutterBottom>
Join these and many other great organisations!
</Typography>
<Grid container justify="center" className={classes.grid}>
{users.map(user => (
<img
src={`/static/images/users/${user.logo}`}
alt={user.caption}
className={classes.img}
/>
))}
</Grid>
<Typography variant="body1" align="center" gutterBottom>
Are you using Material-UI?
</Typography>
<Grid container justify="center">
<Button
variant="outlined"
href="https://spectrum.chat/material-ui/general/whos-using-material-ui~00e6687a-9b2d-454f-97a6-950d9fde71cf"
>
Let us know!
</Button>
</Grid>
</div>
</NoSsr>
</div>
);
}

HomeUsers.propTypes = {
classes: PropTypes.object.isRequired,
};

export default withStyles(styles)(HomeUsers);
2 changes: 2 additions & 0 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import Button from '@material-ui/core/Button';
import HomeSteps from 'docs/src/modules/components/HomeSteps';
import Tidelift from 'docs/src/modules/components/Tidelift';
import HomeBackers from 'docs/src/modules/components/HomeBackers';
import HomeUsers from 'docs/src/modules/components/HomeUsers';
import HomeFooter from 'docs/src/modules/components/HomeFooter';
import AppFrame from 'docs/src/modules/components/AppFrame';
import Link from 'docs/src/modules/components/Link';
Expand Down Expand Up @@ -173,6 +174,7 @@ class HomePage extends React.Component {
</div>
<HomeSteps />
<HomeBackers />
<HomeUsers />
<HomeFooter />
</div>
<script
Expand Down
4 changes: 2 additions & 2 deletions pages/premium-themes/tweeper/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import Tweeper from 'docs/src/pages/premium-themes/tweeper/pages/tweeper/Profile
function Page() {
return (
<AppTheme
title="Paperbase theme - Material-UI"
description={`A page that mimics Firebase.
title="Tweeper - Material-UI"
description={`A page that mimics Twitter.
This item includes theming using the theme provider component.`}
>
<Tweeper />
Expand Down
Binary file added static/images/users/bethesda.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/users/capgemini.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/users/nasa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/users/uniqlo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/users/walmart-labs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 492f0d1

Please sign in to comment.