Add date meta to json and new tag to ui

This commit is contained in:
Steve Paul
2024-11-22 15:56:11 +05:30
parent 9c8be3e861
commit 3a47ecbb96
3 changed files with 20 additions and 10 deletions
+2 -1
View File
@@ -14,13 +14,14 @@ export default function CardsContainer({ filter }) {
return (
<section>
<ul role="list" className="link-card-grid">
{filteredCards.map(({ url, title, body, tag }, i) => (
{filteredCards.map(({ url, title, body, tag, "date-added": dateAdded }, i) => (
<Card
key={`${title}-${i}`}
href={url}
title={title}
body={body}
tag={tag}
dateAdded={dateAdded}
/>
))}
</ul>