Skip to content

Conversation

@tom-ludwig
Copy link
Member

Description

We've been using 'UPDATE' as a fixed value in the article headers. But from now on, we'll grab the category directly from the markdown file

Related Issues

na

Checklist

  • I read and understood the contributing guide as well as the code of conduct
  • The issues this PR addresses are related to each other
  • My changes generate no new warnings
  • My code builds and runs on my machine
  • My changes are all related to the related issue above
  • I documented my code

Screenshots

@vercel
Copy link

vercel bot commented Feb 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
codeedit-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 18, 2024 10:17am

<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

@tom-ludwig tom-ludwig closed this Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants