mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-06-05 00:32:03 +00:00
Account for name and title for course parsing
This commit is contained in:
parent
5007395a5c
commit
dd09351fb2
@ -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?.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>)}
|
||||
<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} />
|
||||
|
@ -157,6 +157,9 @@ export const parseCourseEvent = (event) => {
|
||||
case 'name':
|
||||
eventData.name = tag[1];
|
||||
break;
|
||||
case 'title':
|
||||
eventData.name = tag[1];
|
||||
break;
|
||||
case 'description':
|
||||
eventData.description = tag[1];
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user