Fix portfolio move-to-top and put category beside the date.
Bump sort_order above the page leader instead of swapping, and align category left with date right on one meta row. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
1e9f6481b0
commit
be9e7da424
@@ -94,16 +94,18 @@ export function PortfolioCard({
|
||||
</p>
|
||||
)
|
||||
) : null}
|
||||
{portfolio.categoryName ? (
|
||||
<span className={cardStyles.categoryChip} dir="auto">
|
||||
{portfolio.categoryName}
|
||||
</span>
|
||||
) : null}
|
||||
<p className={cardStyles.meta}>
|
||||
<div className={cardStyles.metaRow} dir="ltr">
|
||||
{portfolio.categoryName ? (
|
||||
<span className={cardStyles.categoryChip} dir="auto">
|
||||
{portfolio.categoryName}
|
||||
</span>
|
||||
) : (
|
||||
<span />
|
||||
)}
|
||||
<span className={cardStyles.metaDate} dir="auto">
|
||||
{publishDate}
|
||||
</span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</Link>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user