chore: add code formatting and linting (#952)
This commit is contained in:
@ -6,10 +6,7 @@ const Blog = ({ data }) => (
|
||||
<div className="blog page">
|
||||
<Helmet>
|
||||
<title>Blog</title>
|
||||
<meta
|
||||
name="description"
|
||||
content="Recent news and updates about Netlify CMS."
|
||||
/>
|
||||
<meta name="description" content="Recent news and updates about Netlify CMS." />
|
||||
</Helmet>
|
||||
<div className="container">
|
||||
<h1>Netlify CMS Blog</h1>
|
||||
|
@ -15,7 +15,7 @@ const CommunityPage = ({ data }) => {
|
||||
primarycta,
|
||||
upcomingevent,
|
||||
howitworks,
|
||||
howtojoin
|
||||
howtojoin,
|
||||
} = data.markdownRemark.frontmatter;
|
||||
|
||||
return (
|
||||
|
@ -68,17 +68,13 @@ const HomePage = ({ data }) => {
|
||||
<ol>
|
||||
{updates.updates.slice(0, 3).map(node => (
|
||||
<a
|
||||
href={`https://github.com/netlify/netlify-cms/releases/tag/${
|
||||
node.version
|
||||
}`}
|
||||
href={`https://github.com/netlify/netlify-cms/releases/tag/${node.version}`}
|
||||
key={node.version}
|
||||
>
|
||||
<li>
|
||||
<div className="update-metadata">
|
||||
<span className="update-version">{node.version}</span>
|
||||
<span className="update-date">
|
||||
{moment(node.date).format('MMMM D, YYYY')}
|
||||
</span>
|
||||
<span className="update-date">{moment(node.date).format('MMMM D, YYYY')}</span>
|
||||
</div>
|
||||
<span className="update-description">
|
||||
<Markdownify source={node.description} />
|
||||
@ -119,10 +115,7 @@ const HomePage = ({ data }) => {
|
||||
<div className="contributor-list">
|
||||
{contribs.contributors.map(user => (
|
||||
<a href={user.profile} title={user.name} key={user.login}>
|
||||
<img
|
||||
src={user.avatar_url.replace('v=4', 's=32')}
|
||||
alt={user.login}
|
||||
/>
|
||||
<img src={user.avatar_url.replace('v=4', 's=32')} alt={user.login} />
|
||||
</a>
|
||||
))}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user