diff --git a/src/components/Card.jsx b/src/components/Card.jsx index 895b299..0184063 100644 --- a/src/components/Card.jsx +++ b/src/components/Card.jsx @@ -139,7 +139,7 @@ class Card extends React.Component { {this.renderTimestamp()} {this.renderLocation()} - {this.renderCategory()} + {this.renderCategory()} {this.renderSummary()} ); diff --git a/src/components/presentational/CardCategory.js b/src/components/presentational/CardCategory.js index a99a9e4..fd9691b 100644 --- a/src/components/presentational/CardCategory.js +++ b/src/components/presentational/CardCategory.js @@ -1,11 +1,13 @@ import React from 'react'; +import { capitalizeFirstLetter } from '../../js/data/utilities.js'; + const CardCategory = ({ categoryTitle, categoryLabel, color }) => ( -
+ {capitalizeFirstLetter(categoryLabel)} - {categoryLabel}
+
location_on {location}
- ++
location_on {unknown}
- +Next:
Previous:
←
→
{source}
{descriptionText}
+{descriptionText}
+{tags.map((tag, idx) => { return ( @@ -26,7 +26,7 @@ const CardTags = ({ tags, language }) => { ); } return ( -
{no_tags_lang}