feat: refactor how blog cards layout, add metadata, better responsiveness

This commit is contained in:
2026-03-10 21:30:00 -05:00
parent cc8bade886
commit 265fd4f2cb
13 changed files with 153 additions and 117 deletions

View File

@@ -39,4 +39,11 @@ function formatDate(date: Date): string {
})
}
export { formatDate, timeago };
function formatShortDate(date: Date): string {
return new Date(date).toLocaleDateString('en-US', {
month: 'short',
day: 'numeric',
})
}
export { formatDate, formatShortDate, timeago };