From 1bb6363a69bb1e8b098dd34beeb2ed5bcf53549c Mon Sep 17 00:00:00 2001 From: hanif salafi Date: Sun, 6 Jul 2025 21:57:09 +0700 Subject: [PATCH] feat: update image priority --- .../landing-page/area-coverage-and-work-units.tsx | 2 ++ components/landing-page/content-category.tsx | 1 + components/landing-page/coverage.tsx | 1 + components/landing-page/division.tsx | 1 + components/landing-page/dynamic-logo-polda.tsx | 1 + components/landing-page/dynamic-logo-satker.tsx | 1 + components/landing-page/event-calender.tsx | 7 ++----- components/landing-page/header-banner-satker.tsx | 2 ++ components/landing-page/header-banner.tsx | 4 ++-- components/landing-page/hero-new-polda.tsx | 4 ++++ components/landing-page/hero-new-satker.tsx | 8 ++++---- components/landing-page/hero-new.tsx | 5 +++-- components/landing-page/hero.tsx | 5 +++++ .../landing-polda-kaltara/contact-us-kaltara.tsx | 4 ++-- .../content-category-kaltara.tsx | 1 + .../header-banner-kaltara.tsx | 4 ++-- .../latest-content-kaltara.tsx | 10 ++++++---- .../navbar-polda-kaltara.tsx | 10 +++++----- components/landing-page/navbar.tsx | 15 +++++++++++++++ components/landing-page/new-content.tsx | 6 ++++++ components/landing-page/polda-logo.tsx | 2 +- components/landing-page/search-section-new.tsx | 2 ++ 22 files changed, 69 insertions(+), 27 deletions(-) diff --git a/components/landing-page/area-coverage-and-work-units.tsx b/components/landing-page/area-coverage-and-work-units.tsx index 9fa0f7e3..fa54a2e3 100644 --- a/components/landing-page/area-coverage-and-work-units.tsx +++ b/components/landing-page/area-coverage-and-work-units.tsx @@ -52,6 +52,7 @@ const AreaCoverageWorkUnits = () => { className="flex flex-col gap-2 justify-center items-center shadow-lg group rounded-xl py-5 w-full border-2 border-transparent hover:border-[#bb3523] transition-all duration-300" > indo { gambar-utama void }) => { Survey Illustration {
gambar-utama { >
{ >
{ {channels.map((channel, index) => (
- {channel.name} + {channel.name}
))} @@ -65,7 +65,7 @@ const ContactUsKaltara = () => {
{/* Logo */}
- logo + logo {/*

Copyright @TribrataNews Kaltara

*/}
diff --git a/components/landing-page/landing-polda-kaltara/content-category-kaltara.tsx b/components/landing-page/landing-polda-kaltara/content-category-kaltara.tsx index caa77efc..bb8005a8 100644 --- a/components/landing-page/landing-polda-kaltara/content-category-kaltara.tsx +++ b/components/landing-page/landing-polda-kaltara/content-category-kaltara.tsx @@ -102,6 +102,7 @@ const ContentCategoryKaltara = (props: { group?: string; type: string }) => {
router.push(prefixPath + `all/filter?category=${category?.id}`)} className="cursor-pointer relative group rounded-md overflow-hidden shadow-md hover:shadow-lg block"> {/* Gambar */} { {content?.map((row: any) => (
- +
{/* Overlay */}
{row?.categoryName} @@ -156,7 +156,7 @@ const HeaderBannerKaltara = () => { {content?.map((item: any) => (
  • - {item?.title} + {item?.title}
    {item?.categoryName} diff --git a/components/landing-page/landing-polda-kaltara/latest-content-kaltara.tsx b/components/landing-page/landing-polda-kaltara/latest-content-kaltara.tsx index 379c426f..01f506cb 100644 --- a/components/landing-page/landing-polda-kaltara/latest-content-kaltara.tsx +++ b/components/landing-page/landing-polda-kaltara/latest-content-kaltara.tsx @@ -151,6 +151,7 @@ const LatestContentKaltara = (props: { group: string; type: string }) => {
    router.push(prefixPath + `/image/detail/${image?.slug}`)} className="cursor-pointer relative group overflow-hidden shadow-md hover:shadow-lg"> {/* Gambar */} video { ) : (

    - empty + empty

    ) ) : selectedTab == "audio" ? ( @@ -215,7 +216,7 @@ const LatestContentKaltara = (props: { group: string; type: string }) => { ) : (

    - empty + empty

    ) ) : selectedTab == "video" ? ( @@ -227,6 +228,7 @@ const LatestContentKaltara = (props: { group: string; type: string }) => {
    router.push(prefixPath + `/video/detail/${video?.slug}`)} className="cursor-pointer relative group overflow-hidden shadow-md hover:shadow-lg"> {/* Gambar */} video { ) : (

    - empty + empty

    ) ) : content.length > 0 ? ( @@ -297,7 +299,7 @@ const LatestContentKaltara = (props: { group: string; type: string }) => { ) : (

    - empty + empty

    )}
    diff --git a/components/landing-page/landing-polda-kaltara/navbar-polda-kaltara.tsx b/components/landing-page/landing-polda-kaltara/navbar-polda-kaltara.tsx index 352a88dc..8b29bcac 100644 --- a/components/landing-page/landing-polda-kaltara/navbar-polda-kaltara.tsx +++ b/components/landing-page/landing-polda-kaltara/navbar-polda-kaltara.tsx @@ -29,7 +29,7 @@ const NavbarKaltara = () => {
    - Media Hub Logo + Media Hub Logo
    @@ -137,12 +137,12 @@ const NavbarKaltara = () => {
    - logo + logo @@ -270,12 +270,12 @@ const NavbarKaltara = () => {
    - logo + logo diff --git a/components/landing-page/navbar.tsx b/components/landing-page/navbar.tsx index 9bea21a4..3880617b 100644 --- a/components/landing-page/navbar.tsx +++ b/components/landing-page/navbar.tsx @@ -211,6 +211,7 @@ const Navbar = () => {