diff --git a/src/app/(main)/organisasi/[period]/[slug]/_components/parts/RelatedNews.tsx b/src/app/(main)/organisasi/[period]/[slug]/_components/parts/RelatedNews.tsx index 909fdd7..952f7ed 100644 --- a/src/app/(main)/organisasi/[period]/[slug]/_components/parts/RelatedNews.tsx +++ b/src/app/(main)/organisasi/[period]/[slug]/_components/parts/RelatedNews.tsx @@ -1,6 +1,6 @@ import Link from "next/link"; -import { NewsFigure } from "@/app/_components/global/NewsFigure"; +import { NewsFigureOrganization } from "@/app/_components/global/NewsFigure"; import { UnderlinedTitle, P } from "@/app/_components/global/Text"; import { SectionWrapper } from "@/app/_components/global/Wrapper"; import ArrowRight from "@/app/_components/icons/ArrowRight"; @@ -32,7 +32,9 @@ export default function RelatedNews({
Belum ada berita apa-apa, nih...
)} diff --git a/src/app/_components/global/NewsFigure.tsx b/src/app/_components/global/NewsFigure.tsx index f469359..e7766c3 100644 --- a/src/app/_components/global/NewsFigure.tsx +++ b/src/app/_components/global/NewsFigure.tsx @@ -71,6 +71,61 @@ export function NewsFigure({ post }: Readonly<{ post: PostWithTagsAndUser }>) { ); } +export function NewsFigureOrganization({ + post, +}: Readonly<{ post: PostWithTagsAndUser }>) { + return ( +