-
- Title of a longer featured blog post
-
-
- Multiple lines of text that form the lede, informing new readers quickly and
- efficiently about what's most interesting in this post's contents.
-
-
- Continue reading…
-
-
-
-
-
- {/* End main featured post */}
- {/* Sub featured posts */}
+
{featuredPosts.map(post => (
-
-
-
-
+
+
+
+ );
+}
+
+MainFeaturedPost.propTypes = {
+ post: PropTypes.object,
+};
diff --git a/docs/src/pages/getting-started/templates/blog/Markdown.js b/docs/src/pages/getting-started/templates/blog/Markdown.js
index 4f173e8309e5b5..4ad95951cd01fe 100644
--- a/docs/src/pages/getting-started/templates/blog/Markdown.js
+++ b/docs/src/pages/getting-started/templates/blog/Markdown.js
@@ -16,7 +16,7 @@ const options = {
component: Typography,
props: {
gutterBottom: true,
- variant: 'h4',
+ variant: 'h5',
},
},
h2: { component: Typography, props: { gutterBottom: true, variant: 'h6' } },
diff --git a/docs/src/pages/getting-started/templates/blog/Sidebar.js b/docs/src/pages/getting-started/templates/blog/Sidebar.js
new file mode 100644
index 00000000000000..57bf4c7fc83f40
--- /dev/null
+++ b/docs/src/pages/getting-started/templates/blog/Sidebar.js
@@ -0,0 +1,61 @@
+import React from 'react';
+import PropTypes from 'prop-types';
+import { makeStyles } from '@material-ui/core/styles';
+import Grid from '@material-ui/core/Grid';
+import Paper from '@material-ui/core/Paper';
+import Typography from '@material-ui/core/Typography';
+import Link from '@material-ui/core/Link';
+
+const useStyles = makeStyles(theme => ({
+ sidebarAboutBox: {
+ padding: theme.spacing(2),
+ backgroundColor: theme.palette.grey[200],
+ },
+ sidebarSection: {
+ marginTop: theme.spacing(3),
+ },
+}));
+
+export default function Sidebar(props) {
+ const classes = useStyles();
+ const { archives, description, social, title } = props;
+
+ return (
+
+
+
+ {title}
+
+ {description}
+
+
+ Archives
+
+ {archives.map(archive => (
+
+ {archive.title}
+
+ ))}
+
+ Social
+
+ {social.map(network => (
+
+
+
+
+
+ {network.name}
+
+
+ ))}
+
+ );
+}
+
+Sidebar.propTypes = {
+ archives: PropTypes.array,
+ description: PropTypes.string,
+ social: PropTypes.array,
+ title: PropTypes.string,
+};
diff --git a/docs/src/pages/getting-started/templates/blog/blog-post.1.md b/docs/src/pages/getting-started/templates/blog/blog-post.1.md
index a70375a83a6fb4..2a8c5cff0867b4 100644
--- a/docs/src/pages/getting-started/templates/blog/blog-post.1.md
+++ b/docs/src/pages/getting-started/templates/blog/blog-post.1.md
@@ -1,4 +1,4 @@
-## Sample blog post
+# Sample blog post
#### April 1, 2020 by [Olivier](/)
@@ -33,14 +33,14 @@ Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna m
Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo
sit amet risus.
- - Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
- - Donec id elit non mi porta gravida at eget metus.
- - Nulla vitae elit libero, a pharetra augue.
+- Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
+- Donec id elit non mi porta gravida at eget metus.
+- Nulla vitae elit libero, a pharetra augue.
Donec ullamcorper nulla non metus auctor fringilla. Nulla vitae elit libero, a pharetra augue.
- 1. Vestibulum id ligula porta felis euismod semper.
- 2. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
- 3. Maecenas sed diam eget risus varius blandit sit amet non magna.
+1. Vestibulum id ligula porta felis euismod semper.
+2. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
+3. Maecenas sed diam eget risus varius blandit sit amet non magna.
Cras mattis consectetur purus sit amet fermentum. Sed posuere consectetur est at lobortis.
diff --git a/docs/src/pages/getting-started/templates/blog/blog-post.2.md b/docs/src/pages/getting-started/templates/blog/blog-post.2.md
index f9fede82c0999f..ce67f9fc28e44f 100644
--- a/docs/src/pages/getting-started/templates/blog/blog-post.2.md
+++ b/docs/src/pages/getting-started/templates/blog/blog-post.2.md
@@ -1,4 +1,4 @@
-## Another blog post
+# Another blog post
#### March 23, 2020 by [Matt](/)
diff --git a/docs/src/pages/getting-started/templates/blog/blog-post.3.md b/docs/src/pages/getting-started/templates/blog/blog-post.3.md
index 1113cffc4ad8df..ee892758886d84 100644
--- a/docs/src/pages/getting-started/templates/blog/blog-post.3.md
+++ b/docs/src/pages/getting-started/templates/blog/blog-post.3.md
@@ -1,4 +1,4 @@
-## New feature
+# New feature
#### March 14, 2020 by [Tom](/)
@@ -7,9 +7,9 @@ Aenean lacinia bibendum nulla sed consectetur. Etiam porta sem malesuada magna m
Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh,
ut fermentum massa justo sit amet risus.
- - Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
- - Donec id elit non mi porta gravida at eget metus.
- - Nulla vitae elit libero, a pharetra augue.
+- Praesent commodo cursus magna, vel scelerisque nisl consectetur et.
+- Donec id elit non mi porta gravida at eget metus.
+- Nulla vitae elit libero, a pharetra augue.
Etiam porta sem malesuada magna mollis euismod. Cras mattis consectetur purus sit amet fermentum.
Aenean lacinia bibendum nulla sed consectetur.