This commit is contained in:
hanif salafi 2025-09-26 10:17:22 +07:00
commit 94535fa64e
4 changed files with 4 additions and 4 deletions

View File

@ -33,7 +33,7 @@ const ContentCategory = (props: { group?: string; type: string }) => {
? `/polda/${poldaName}`
: satkerName
? `/satker/${satkerName}`
: "/";
: "";
useEffect(() => {
initFetch();

View File

@ -214,7 +214,7 @@ export default function FilterDocumentComponent(props: {
{newContent?.map((text: any) => (
<CarouselItem key={text?.id} className="md:basis-1/2 lg:basis-1/3">
<Link
href={`${prefixPath}/text/detail/${text?.slug
href={`${prefixPath}/document/detail/${text?.slug
?.split("/")
.pop()}`}
// href={`${prefixPath}/document/detail/${text?.slug}`}

View File

@ -99,7 +99,7 @@ const Navbar = () => {
? `/polda/${poldaName}`
: satkerName
? `/satker/${satkerName}`
: "/";
: "";
let menu = "";

View File

@ -56,7 +56,7 @@ const NewContent = (props: { group: string; type: string }) => {
? `/polda/${poldaName}`
: satkerName
? `/satker/${satkerName}`
: "/";
: "";
useEffect(() => {
const timer = setTimeout(() => {