Skip to content

Commit

Permalink
fix(islamic-website): add correct lesson ids and update lesson card m…
Browse files Browse the repository at this point in the history
…arkup
  • Loading branch information
olegshilov committed Jan 3, 2024
1 parent 455cf24 commit 51b4f8f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ function IntroModule() {
lessonTitle="Intro"
lessonDescription="Welcome to HAQQ Academy"
isAvailable={true}
lessonId="9c2Mz-PBcx4"
/>
</div>

Expand Down Expand Up @@ -374,7 +375,7 @@ function LessonCard({
: 'transition-colors duration-150 ease-in hover:border-[#8A8A8A]',
)}
>
<div className="relative aspect-video h-[100px] w-full lg:w-[200px]">
<div className="relative aspect-video h-[114px] w-full lg:w-[200px]">
<div className="absolute z-[1] h-full w-full rounded-[8px] bg-[#02030480]" />
<PlayVideoIcon
className={clsx(
Expand All @@ -393,11 +394,13 @@ function LessonCard({
)}
</div>
<div className="w-full lg:w-2/5 xl:min-w-[55%]">
<div className="font-vcr mt-[12px] text-[15px] uppercase leading-[22px] text-white/50 md:text-[16px] md:leading-[24px] lg:mt-0 lg:text-[18px] lg:leading-[26px]">
{lessonDescription}
</div>
<div className="mt-[2px] h-[26px] truncate text-[17px] leading-[26px] md:mt-[4px] md:text-[18px] lg:mt-[8px] lg:h-auto lg:text-[20px] lg:leading-[28px]">
{lessonTitle}
<div className="flex h-full flex-col justify-between gap-[2px] md:gap-[4px] lg:gap-[8px]">
<div className="font-vcr text-[15px] uppercase leading-[22px] text-white/50 md:text-[16px] md:leading-[24px] lg:text-[18px] lg:leading-[26px]">
{lessonDescription}
</div>
<div className="h-[26px] truncate text-[17px] leading-[26px] md:text-[18px] lg:h-auto lg:text-[20px] lg:leading-[28px]">
{lessonTitle}
</div>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,18 @@ export const academyModules: AcademyModule[] = [
lessonTitle: 'Lesson 4.1',
lessonDescription:
'Bridging the Gap between Islamic Finance and Crypto w/ Sheikh Mohamad Beyanouni',
lessonId: 'GCXaQttX6o',
lessonId: 'j6seXXPl9zs',
},
{
lessonTitle: 'Lesson 4.2',
lessonDescription: 'Cryptocurrency and the Prohibition of Riba (Usury)',
lessonId: 'GC7uQttxkV',
lessonId: 'WqUMg20x8dg',
},
{
lessonTitle: 'Lesson 4.3',
lessonDescription:
'What is staking? How to approach staking from Sharia perspectives?',
lessonId: 'GCS6QttfGC',
lessonId: '7a1x6_1jfoY',
},
],
},
Expand Down

0 comments on commit 51b4f8f

Please sign in to comment.