Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.

Commit

Permalink
templates/about-page: remove items to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitor Dino committed Sep 19, 2018
1 parent 1f58e55 commit 68816eb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ AboutPage.propTypes = {
markdownRemark: PropTypes.shape({
frontmatter: PropTypes.shape({
title: PropTypes.string,
items: PropTypes.array,
}).isRequired,
html: PropTypes.node.isRequired,
}),
Expand Down Expand Up @@ -43,10 +42,6 @@ export const aboutPageQuery = graphql`
html
frontmatter {
title
items {
title
text
}
}
}
authorList: allMarkdownRemark(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ import {Row, Cell} from '../../components/Grid'
import Text from '../../components/Text'
import Content from '../../components/Content'
import AboutHero from '../../components/AboutHero'
import Items from '../../components/Items'
import AuthorCard from '../../components/AuthorCard'

const AboutPage = ({title, items, content, authors}) => (
const AboutPage = ({title, content, authors}) => (
<div style={{overflowX: 'hidden', position: 'relative'}}>
<MetaTags title={title} />
<Navbar
Expand All @@ -24,7 +23,6 @@ const AboutPage = ({title, items, content, authors}) => (
/>
<AboutHero style={{marginTop: '7rem'}} />
<Container>
{!!items.length > 0 && <Items items={items} xs={12} />}
{content && (
<section style={{margin: '2rem 0'}}>
<Row>
Expand Down

0 comments on commit 68816eb

Please sign in to comment.