From 1c02a2bc6ceebf4754cdb63ed4f498a5b336d952 Mon Sep 17 00:00:00 2001 From: swve Date: Tue, 4 Mar 2025 23:55:39 +0100 Subject: [PATCH] feat: improve course grid layout and responsiveness in landing page --- apps/web/components/Landings/LandingCustom.tsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/apps/web/components/Landings/LandingCustom.tsx b/apps/web/components/Landings/LandingCustom.tsx index 2985739c..84bcdc37 100644 --- a/apps/web/components/Landings/LandingCustom.tsx +++ b/apps/web/components/Landings/LandingCustom.tsx @@ -189,13 +189,14 @@ function LandingCustom({ landing, orgslug }: LandingCustomProps) { className="py-16 mx-2 sm:mx-4 lg:mx-16 w-full" >

{section.title}

-
+
{featuredCourses.map((course: any) => ( - +
+ +
))} {featuredCourses.length === 0 && (