diff --git a/src/theme/DocItem/Footer/course.js b/src/theme/DocItem/Footer/course.js index cad553fddef..c4f39128737 100644 --- a/src/theme/DocItem/Footer/course.js +++ b/src/theme/DocItem/Footer/course.js @@ -30,7 +30,7 @@ export default function Course({ src, srcset, name, desc, isPro, special, url, p {/*
{ special ?: null}
*/} - + 50} />
@@ -66,7 +66,7 @@ function PriceBadge({isPro}){ function Lessons({isPro, percent, count}){ - const color = '#ffc081' + const color = percent > 60 ? '#ff465c': '#ffc081' return
{isPro ? 'Advanced' : 'Beginner'}
{/* for oai */} - {courses.filter(c => c).slice(1, 2).map(c => )} + {courses.filter(c => c).slice(0, 2).map(c => )}