Skip to content

Commit

Permalink
cul-de-sac, Matt review
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Jul 24, 2019
1 parent 94dc61f commit 77363ea
Show file tree
Hide file tree
Showing 25 changed files with 22 additions and 21 deletions.
25 changes: 13 additions & 12 deletions docs/src/pages/getting-started/templates/Templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,79 +37,79 @@ function layouts(t) {
{
title: t('dashboardTitle'),
description: t('dashboardDescr'),
src: '/static/images/layouts/dashboard.png',
src: '/static/images/templates/dashboard.png',
href: '/getting-started/templates/dashboard',
source:
'https://github.com/mui-org/material-ui/tree/master/docs/src/pages/getting-started/templates/dashboard',
},
{
title: t('signInTitle'),
description: t('signInDescr'),
src: '/static/images/layouts/sign-in.png',
src: '/static/images/templates/sign-in.png',
href: '/getting-started/templates/sign-in',
source:
'https://github.com/mui-org/material-ui/tree/master/docs/src/pages/getting-started/templates/sign-in',
},
{
title: t('signInSideTitle'),
description: t('signInSideDescr'),
src: '/static/images/layouts/sign-in-side.png',
src: '/static/images/templates/sign-in-side.png',
href: '/getting-started/templates/sign-in-side',
source:
'https://github.com/mui-org/material-ui/tree/master/docs/src/pages/getting-started/templates/sign-in-side',
},
{
title: t('signUpTitle'),
description: t('signUpDescr'),
src: '/static/images/layouts/sign-up.png',
src: '/static/images/templates/sign-up.png',
href: '/getting-started/templates/sign-up',
source:
'https://github.com/mui-org/material-ui/tree/master/docs/src/pages/getting-started/templates/sign-up',
},
{
title: t('blogTitle'),
description: t('blogDescr'),
src: '/static/images/layouts/blog.png',
src: '/static/images/templates/blog.png',
href: '/getting-started/templates/blog',
source:
'https://github.com/mui-org/material-ui/tree/master/docs/src/pages/getting-started/templates/blog',
},
{
title: t('checkoutTitle'),
description: t('checkoutDescr'),
src: '/static/images/layouts/checkout.png',
src: '/static/images/templates/checkout.png',
href: '/getting-started/templates/checkout',
source:
'https://github.com/mui-org/material-ui/tree/master/docs/src/pages/getting-started/templates/checkout',
},
{
title: t('albumTitle'),
description: t('albumDescr'),
src: '/static/images/layouts/album.png',
src: '/static/images/templates/album.png',
href: '/getting-started/templates/album',
source:
'https://github.com/mui-org/material-ui/tree/master/docs/src/pages/getting-started/templates/album',
},
{
title: t('pricingTitle'),
description: t('pricingDescr'),
src: '/static/images/layouts/pricing.png',
src: '/static/images/templates/pricing.png',
href: '/getting-started/templates/pricing',
source:
'https://github.com/mui-org/material-ui/tree/master/docs/src/pages/getting-started/templates/pricing',
},
{
title: t('stickyFooterTitle'),
description: t('stickyFooterDescr'),
src: '/static/images/layouts/sticky-footer.png',
src: '/static/images/templates/sticky-footer.png',
href: '/getting-started/templates/sticky-footer',
source:
'https://github.com/mui-org/material-ui/tree/master/docs/src/pages/getting-started/templates/sticky-footer',
},
];
}

function PageLayoutExamples(props) {
function Templates(props) {
const { classes } = props;
const { t } = useSelector(state => ({ t: state.options.t }));

Expand All @@ -124,6 +124,7 @@ function PageLayoutExamples(props) {
className={classes.cardMedia}
image={layout.src}
title={layout.title}
rel="nofollow"
target="_blank"
/>
<CardContent className={classes.cardContent}>
Expand All @@ -144,8 +145,8 @@ function PageLayoutExamples(props) {
);
}

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

export default withStyles(styles)(PageLayoutExamples);
export default withStyles(styles)(Templates);
2 changes: 1 addition & 1 deletion docs/src/pages/getting-started/templates/album/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Album layout
# Album template

## Usage

Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/getting-started/templates/blog/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Blog layout
# Blog template

## Usage

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Checkout layout
# Checkout template

## Usage

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Dashboard layout
# Dashboard template

## Usage

Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/getting-started/templates/pricing/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Pricing layout
# Pricing template

## Usage

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sign-in side layout
# Sign-in side template

## Usage

Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/getting-started/templates/sign-in/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sign-in layout
# Sign-in template

## Usage

Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/getting-started/templates/sign-up/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sign-up layout
# Sign-up template

## Usage

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sticky footer layout
# Sticky footer template

## Usage

Expand Down
Binary file removed docs/static/images/layouts/dashboard.png
Binary file not shown.
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added docs/static/images/templates/dashboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
Binary file removed docs/static/themes/creative-tim-dashboard.jpg
Binary file not shown.
Binary file removed docs/static/themes/creative-tim-kit.jpg
Binary file not shown.
Binary file removed docs/static/themes/instapaper.png
Binary file not shown.
Binary file removed docs/static/themes/instapaper/logo.png
Binary file not shown.
Binary file removed docs/static/themes/tweeper.png
Binary file not shown.

0 comments on commit 77363ea

Please sign in to comment.