Fix property

This commit is contained in:
austinkelsay 2024-11-27 10:30:58 -06:00
parent 499e5a5983
commit 6fad6c9b75
No known key found for this signature in database
GPG Key ID: 44CB4EC6D9F2FA02

View File

@ -77,7 +77,7 @@ export function CourseTemplate({ course, showMetaTags = true }) {
</div>
<CardHeader className="flex flex-row justify-between items-center p-4 border-b border-gray-700">
<div className="flex items-center gap-4">
{course?.id === "f538f5c5-1a72-4804-8eb1-3f05cea64874" ? (<CardTitle className="text-xl sm:text-2xl text-[#f8f8ff]">PlebDevs Starter Course</CardTitle>) : (<CardTitle className="text-xl sm:text-2xl text-[#f8f8ff]">{course.name}</CardTitle>)}
{course?.d === "f538f5c5-1a72-4804-8eb1-3f05cea64874" ? (<CardTitle className="text-xl sm:text-2xl text-[#f8f8ff]">PlebDevs Starter Course</CardTitle>) : (<CardTitle className="text-xl sm:text-2xl text-[#f8f8ff]">{course.name}</CardTitle>)}
</div>
<div className="text-[#f8f8ff]">
<ZapDisplay zapAmount={zapAmount} event={course} zapsLoading={zapsLoading && zapAmount === 0} />