From 5c340a05a2390fd589b22d083912c129b397272a Mon Sep 17 00:00:00 2001 From: Sabda Yagra Date: Mon, 28 Jul 2025 15:16:03 +0700 Subject: [PATCH] fixing --- .../campaign-list/component/column.tsx | 26 +++++++-------- .../broadcast/email/component/column.tsx | 26 +++++++-------- .../broadcast/whatsapp/component/column.tsx | 26 +++++++-------- components/landing-page/hero-new.tsx | 14 +++++--- components/ui/image-blurry.tsx | 33 ++++++++++++------- 5 files changed, 68 insertions(+), 57 deletions(-) diff --git a/app/[locale]/(protected)/admin/broadcast/campaign-list/component/column.tsx b/app/[locale]/(protected)/admin/broadcast/campaign-list/component/column.tsx index 139090ad..cfda527e 100644 --- a/app/[locale]/(protected)/admin/broadcast/campaign-list/component/column.tsx +++ b/app/[locale]/(protected)/admin/broadcast/campaign-list/component/column.tsx @@ -73,21 +73,21 @@ const columns: ColumnDef[] = [ - - + + Detail - - - - + + + + Edit - - - + + + Delete diff --git a/app/[locale]/(protected)/admin/broadcast/email/component/column.tsx b/app/[locale]/(protected)/admin/broadcast/email/component/column.tsx index e4235b22..5e5c1abf 100644 --- a/app/[locale]/(protected)/admin/broadcast/email/component/column.tsx +++ b/app/[locale]/(protected)/admin/broadcast/email/component/column.tsx @@ -85,23 +85,21 @@ const columns: ColumnDef[] = [ - - + + Detail - - - - + + + + Email Blast - - - - + + + + Whatsapp Blast - - + + ); diff --git a/app/[locale]/(protected)/admin/broadcast/whatsapp/component/column.tsx b/app/[locale]/(protected)/admin/broadcast/whatsapp/component/column.tsx index a9a32f16..aee23cef 100644 --- a/app/[locale]/(protected)/admin/broadcast/whatsapp/component/column.tsx +++ b/app/[locale]/(protected)/admin/broadcast/whatsapp/component/column.tsx @@ -80,23 +80,21 @@ const columns: ColumnDef[] = [ - - + + Detail - - - - + + + + Email Blast - - - - + + + + Whatsapp Blast - - + + ); diff --git a/components/landing-page/hero-new.tsx b/components/landing-page/hero-new.tsx index cf7d170f..3697ddb2 100644 --- a/components/landing-page/hero-new.tsx +++ b/components/landing-page/hero-new.tsx @@ -49,6 +49,7 @@ import "swiper/css/pagination"; import { ChevronLeft, ChevronRight } from "lucide-react"; import { Link } from "@/i18n/routing"; import { listBannerHero } from "@/service/settings/settings"; +import ImageBlurry from "../ui/image-blurry"; type HeroModalProps = { onClose: () => void; @@ -163,7 +164,7 @@ const HeroModal = ({ autoplay={{ delay: 3000 }} className="mySwiper w-full" > - {dataContent.map((list: any) => ( + {dataContent?.map((list: any) => (