Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/pages/blog/post/ArticleHeader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const ArticleHeader = ({ frontmatter, author }) => {
<div className="component-content">
<div className="category-eyebrow">
<span className="category-eyebrow__category category_update">
UPDATE
{ frontmatter.category.toUpperCase() }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably don't need .toUpperCase() because that should be handled in CSS. Also, this should be tied to a categories data file. If you don't mind, I can do this in my next PR.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure thing

</span>
<span className="category-eyebrow__date">
{formatDate(frontmatter.date)}
Expand Down