From 5e82ee8085fcdc601ebfd20b4007a687f2d46ef4 Mon Sep 17 00:00:00 2001 From: Sabda Yagra Date: Thu, 25 Sep 2025 16:58:25 +0700 Subject: [PATCH 1/2] fix: href in card document --- components/landing-page/filter-all/document-filter-card.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/landing-page/filter-all/document-filter-card.tsx b/components/landing-page/filter-all/document-filter-card.tsx index f56c0a66..25e95c97 100644 --- a/components/landing-page/filter-all/document-filter-card.tsx +++ b/components/landing-page/filter-all/document-filter-card.tsx @@ -214,7 +214,7 @@ export default function FilterDocumentComponent(props: { {newContent?.map((text: any) => ( Date: Fri, 26 Sep 2025 10:16:00 +0700 Subject: [PATCH 2/2] fix: prefixpath and link href in all filter --- components/landing-page/content-category.tsx | 2 +- components/landing-page/navbar.tsx | 2 +- components/landing-page/new-content.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/landing-page/content-category.tsx b/components/landing-page/content-category.tsx index 1eea3a90..85d93584 100644 --- a/components/landing-page/content-category.tsx +++ b/components/landing-page/content-category.tsx @@ -33,7 +33,7 @@ const ContentCategory = (props: { group?: string; type: string }) => { ? `/polda/${poldaName}` : satkerName ? `/satker/${satkerName}` - : "/"; + : ""; useEffect(() => { initFetch(); diff --git a/components/landing-page/navbar.tsx b/components/landing-page/navbar.tsx index 28998ddd..741f68ab 100644 --- a/components/landing-page/navbar.tsx +++ b/components/landing-page/navbar.tsx @@ -99,7 +99,7 @@ const Navbar = () => { ? `/polda/${poldaName}` : satkerName ? `/satker/${satkerName}` - : "/"; + : ""; let menu = ""; diff --git a/components/landing-page/new-content.tsx b/components/landing-page/new-content.tsx index 11eb17eb..bbc0bbca 100644 --- a/components/landing-page/new-content.tsx +++ b/components/landing-page/new-content.tsx @@ -56,7 +56,7 @@ const NewContent = (props: { group: string; type: string }) => { ? `/polda/${poldaName}` : satkerName ? `/satker/${satkerName}` - : "/"; + : ""; useEffect(() => { const timer = setTimeout(() => {