"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "docs/pages/index.js" between
material-ui-4.12.1.tar.gz and material-ui-4.12.2.tar.gz

About: Material-UI is a simple and customizable component library to build faster, beautiful, and more accessible React applications.

index.js  (material-ui-4.12.1):index.js  (material-ui-4.12.2)
import React from 'react'; import React from 'react';
import * as PropTypes from 'prop-types'; import * as PropTypes from 'prop-types';
import { useSelector } from 'react-redux'; import { useSelector } from 'react-redux';
import { makeStyles } from '@material-ui/core/styles'; import { makeStyles } from '@material-ui/core/styles';
import Typography from '@material-ui/core/Typography'; import Typography from '@material-ui/core/Typography';
import Button from '@material-ui/core/Button'; import Button from '@material-ui/core/Button';
import Container from '@material-ui/core/Container'; import Container from '@material-ui/core/Container';
import { BANNER_HEIGHT } from 'docs/src/modules/constants';
import Steps from 'docs/src/pages/landing/Steps'; import Steps from 'docs/src/pages/landing/Steps';
import Themes from 'docs/src/pages/landing/Themes'; import Themes from 'docs/src/pages/landing/Themes';
import QuickWord from 'docs/src/pages/landing/QuickWord'; import QuickWord from 'docs/src/pages/landing/QuickWord';
import Sponsors, { import Sponsors, {
getInitialProps as getInitialSponsorsProps, getInitialProps as getInitialSponsorsProps,
} from 'docs/src/pages/landing/Sponsors'; } from 'docs/src/pages/landing/Sponsors';
import Users from 'docs/src/pages/landing/Users'; import Users from 'docs/src/pages/landing/Users';
import Quotes from 'docs/src/pages/landing/Quotes'; import Quotes from 'docs/src/pages/landing/Quotes';
import Pro from 'docs/src/pages/landing/Pro'; import Pro from 'docs/src/pages/landing/Pro';
import AppFooter from 'docs/src/modules/components/AppFooter'; import AppFooter from 'docs/src/modules/components/AppFooter';
skipping to change at line 42 skipping to change at line 43
loadScript('https://buttons.github.io/buttons.js', document.querySelector('hea d')); loadScript('https://buttons.github.io/buttons.js', document.querySelector('hea d'));
loadScript('https://platform.twitter.com/widgets.js', document.querySelector(' head')); loadScript('https://platform.twitter.com/widgets.js', document.querySelector(' head'));
} }
const useStyles = makeStyles( const useStyles = makeStyles(
(theme) => ({ (theme) => ({
root: { root: {
flex: '1 0 100%', flex: '1 0 100%',
}, },
hero: { hero: {
paddingTop: theme.spacing(8) + 36, paddingTop: theme.spacing(8) + BANNER_HEIGHT,
color: theme.palette.primary.main, color: theme.palette.primary.main,
}, },
content: { content: {
display: 'flex', display: 'flex',
flexDirection: 'column', flexDirection: 'column',
alignItems: 'center', alignItems: 'center',
textAlign: 'center', textAlign: 'center',
paddingTop: theme.spacing(4), paddingTop: theme.spacing(4),
paddingBottom: theme.spacing(8), paddingBottom: theme.spacing(8),
[theme.breakpoints.up('md')]: { [theme.breakpoints.up('md')]: {
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)