diff --git a/app/[locale]/(public)/video/filter/page.tsx b/app/[locale]/(public)/video/filter/page.tsx index 61d6edef..752885ca 100644 --- a/app/[locale]/(public)/video/filter/page.tsx +++ b/app/[locale]/(public)/video/filter/page.tsx @@ -702,7 +702,10 @@ const FilterPage = () => { {/* */}
{ alt="category" width={2560} height={1440} - src={category?.thumbnailLink} + src={category?.smallThumbnailLink} className="w-full lg:h-[300px] h-40 object-cover group-hover:scale-110 transition-transform duration-300" /> diff --git a/components/landing-page/hero-new.tsx b/components/landing-page/hero-new.tsx index 64d4c7d8..0b3e6dcf 100644 --- a/components/landing-page/hero-new.tsx +++ b/components/landing-page/hero-new.tsx @@ -150,7 +150,7 @@ const HeroModal = ({ ✕ gambar-utama {
{/* Gambar */} gambar {
router.push(prefixPath + `/image/detail/${image?.slug}`)} className="cursor-pointer relative group overflow-hidden bg-white rounded-xl shadow-md hover:shadow-lg transition-shadow duration-300"> {/* Image with motion effect */} - image + image {/* Badge category */} @@ -258,7 +258,7 @@ const NewContent = (props: { group: string; type: string }) => {
router.push(prefixPath + `/video/detail/${video?.slug}`)} className="cursor-pointer relative group overflow-hidden bg-white rounded-xl shadow-md hover:shadow-lg transition-shadow duration-300"> {/* Image with motion effect */} - video + video {/* Badge category */} diff --git a/components/landing-page/search-section-new.tsx b/components/landing-page/search-section-new.tsx index 3e71c58a..b1b27514 100644 --- a/components/landing-page/search-section-new.tsx +++ b/components/landing-page/search-section-new.tsx @@ -131,7 +131,7 @@ const ScrollableContent = () => { : `${locale}/audio/detail/${item?.slug}` } > - {item?.title} + {item?.title}
@@ -252,7 +252,7 @@ const ScrollableContent = () => { : `${locale}/audio/detail/${item?.slug}` } > - +
diff --git a/components/main/audio-detail.tsx b/components/main/audio-detail.tsx index 548c94c2..719d1590 100644 --- a/components/main/audio-detail.tsx +++ b/components/main/audio-detail.tsx @@ -39,18 +39,21 @@ import $ from "jquery"; import { useTranslations } from "next-intl"; import { postActivityLog } from "@/service/content/content"; -const formWaveSurferOptions = (ref: any) => ({ - container: ref, - waveColor: "#eee", - progressColor: "OrangeRed", - cursorColor: "OrangeRed", - barWidth: 3, - barRadius: 3, - responsive: true, - height: 150, - normalize: true, - partialRender: true, -}); +const formWaveSurferOptions = (container: HTMLElement | null) => { + if (!container) throw new Error("Waveform container is null"); + return { + container, + waveColor: "#E0E0E0", + progressColor: "#FFC831", + cursorColor: "#000", + barWidth: 2, + barRadius: 2, + responsive: true, + height: 80, + normalize: true, + partialRender: true, + }; +}; const DetailAudio = () => { const [selectedSize, setSelectedSize] = useState("L"); @@ -1209,7 +1212,7 @@ const DetailAudio = () => {
{/* Konten Serupa */} -
+
diff --git a/components/main/document-detail.tsx b/components/main/document-detail.tsx index 2908eaa7..cff6574b 100644 --- a/components/main/document-detail.tsx +++ b/components/main/document-detail.tsx @@ -452,13 +452,26 @@ const DetailDocument = () => {
{/* Bagian Kiri */}
-
+ {/*
Main
+
*/} +
+ + +
{/* Footer Informasi */} @@ -1038,7 +1051,7 @@ const DetailDocument = () => {
{/* Konten Serupa */} -
+