diff --git a/src/components/ArticleNav/ArticleNav.tsx b/src/components/ArticleNav/ArticleNav.tsx index 8b4e9ce..085db3f 100644 --- a/src/components/ArticleNav/ArticleNav.tsx +++ b/src/components/ArticleNav/ArticleNav.tsx @@ -43,8 +43,8 @@ export default class ArticleNav extends React.Component { A Wasted Opportunity - Zero Waste at UCLA - + Zero Waste at UCLA + Zero Waste in the UC System diff --git a/src/components/Card/Card.tsx b/src/components/Card/Card.tsx index c029189..1c85dd1 100644 --- a/src/components/Card/Card.tsx +++ b/src/components/Card/Card.tsx @@ -41,12 +41,12 @@ const Box = styled(Link)` flex-direction: row-reverse; background-color: #6d786a; width: 60%; - box-shadow: 0 0 5px 2px #282a2d; + box-shadow: 0 0 5px 0px #282a2d; margin: 10px; transition: 0.3s; text-decoration: none; &:hover { - box-shadow: 0 0 5px 3px #282a2d; + box-shadow: 0 0 5px 1.5px #282a2d; } @media only screen and (max-width: 800px) { width: 75%; @@ -141,7 +141,6 @@ const BoxImage = styled('div')` interface CardProps { CategoryName: string - // TopicDesc: string Cards: { PageLink: string ImageURL: string @@ -156,7 +155,7 @@ const TITLE_TO_LINK_MAPPING = {} export default class Card extends React.Component { render() { return ( - +

{this.props.CategoryName}

{/*

{this.props.TopicDesc}

diff --git a/src/pages/index.tsx b/src/pages/index.tsx index a16e601..faa4bef 100755 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -67,6 +67,11 @@ const IndexPage = ({ data }) => ( Explainer={data.kerckhoffArticle.Explainer} /> +
{data.kerckhoffArticle.Categories.map(category => ( ))} diff --git a/src/templates/article.tsx b/src/templates/article.tsx index 5370ad6..cdc07bb 100644 --- a/src/templates/article.tsx +++ b/src/templates/article.tsx @@ -55,13 +55,13 @@ const ArticlePage = ({ data }) => ( Contributor={data.kerckhoffArticle.Author} />