manual temp fix for missing course name

This commit is contained in:
austinkelsay 2024-11-27 10:23:39 -06:00
parent 77337b8019
commit 499e5a5983
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">
<CardTitle className="text-xl sm:text-2xl text-[#f8f8ff]">{course.name}</CardTitle>
{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>)}
</div>
<div className="text-[#f8f8ff]">
<ZapDisplay zapAmount={zapAmount} event={course} zapsLoading={zapsLoading && zapAmount === 0} />