fix(ui): show course level ("normal"/"pro") next to price in academy card
The type field was destructured but never rendered (only used for the pro-tier shadow styling) — RN's equivalent card already needed this shown next to price, aligned with category via the existing justify-between row. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -426,6 +426,11 @@ function MainModelCard({
|
||||
<DiscountBadge percent={Number(postData.offer)} className="mr-2" />
|
||||
) : null}
|
||||
</span>
|
||||
{type ? (
|
||||
<span className="text-sm font-medium text-neutral-500 dark:text-neutral-400">
|
||||
{type}
|
||||
</span>
|
||||
) : null}
|
||||
</div>
|
||||
<div className="flex items-center gap-1 mt-1">
|
||||
<h2 className="max-sm:text-xs inline-flex items-center gap-1">
|
||||
|
||||
Reference in New Issue
Block a user