add link to catalog

This commit is contained in:
2025-12-19 12:55:42 -03:00
parent 3be296f1ac
commit 192be98c39
17 changed files with 514 additions and 46 deletions

View File

@@ -27,6 +27,7 @@ import { createSearch } from '@repo/util/meili'
import { request as req } from '@repo/util/request'
import placeholder from '@/assets/placeholder.webp'
import { Currency } from '@repo/ui/components/currency'
type Cert = {
exp_interval: number
@@ -220,12 +221,12 @@ function Course({
'font-bold': !custom_pricing
})}
>
{currency.format(metadata__unit_price)}
<Currency>{metadata__unit_price}</Currency>
</span>
{custom_pricing && (
<span className="font-bold">
{currency.format(custom_pricing)}
<Currency>{custom_pricing}</Currency>
</span>
)}
</li>