From d4d5945978e21b3531a5e1e8db0f84b3fe3da1b7 Mon Sep 17 00:00:00 2001 From: Sabda Yagra Date: Fri, 28 Mar 2025 14:50:51 +0700 Subject: [PATCH] fix: content category --- components/landing-page/content-category.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/landing-page/content-category.tsx b/components/landing-page/content-category.tsx index a0cff2f1..ad2d4d29 100644 --- a/components/landing-page/content-category.tsx +++ b/components/landing-page/content-category.tsx @@ -50,7 +50,7 @@ const ContentCategory = (props: { group?: string }) => { const toBase64 = (str: string) => (typeof window === "undefined" ? Buffer.from(str).toString("base64") : window.btoa(str)); return ( -
+

{/* {pathname?.split("/")[1] == "in" ? ( @@ -93,7 +93,7 @@ const ContentCategory = (props: { group?: string }) => { width={2560} height={1440} src={category?.thumbnailLink} - className="w-full lg:w-[325px] lg:h-[250px] h-40 object-cover group-hover:scale-110 transition-transform duration-300" + className="w-full lg:h-[250px] h-40 object-cover group-hover:scale-110 transition-transform duration-300" /> {/* Overlay gelap */} @@ -129,7 +129,7 @@ const ContentCategory = (props: { group?: string }) => { width={2560} height={1440} src={category?.thumbnailLink} - className="w-full lg:w-[325px] lg:h-[250px] h-40 object-cover group-hover:scale-110 transition-transform duration-300" + className="w-full lg:h-[250px] h-40 object-cover group-hover:scale-110 transition-transform duration-300" /> {/* Overlay Gelap */}