2026-04-10 20:03:46 +00:00
|
|
|
import type { PublicArticle } from "@/lib/articles-public";
|
|
|
|
|
import type { NewsServicesTab } from "@/constants/news-services";
|
|
|
|
|
import NewsServicesArticleSection from "@/components/landing-page/news-services-article-section";
|
2026-02-17 09:05:22 +00:00
|
|
|
|
2026-04-10 20:03:46 +00:00
|
|
|
type Props = {
|
|
|
|
|
articlesByTab: Record<NewsServicesTab, PublicArticle[]>;
|
|
|
|
|
};
|
2026-02-17 09:05:22 +00:00
|
|
|
|
2026-04-10 20:03:46 +00:00
|
|
|
export default function ContentLatest({ articlesByTab }: Props) {
|
2026-02-17 09:05:22 +00:00
|
|
|
return (
|
2026-04-10 20:03:46 +00:00
|
|
|
<NewsServicesArticleSection
|
|
|
|
|
id="konten-terbaru"
|
|
|
|
|
title="Konten Terbaru"
|
|
|
|
|
articlesByTab={articlesByTab}
|
|
|
|
|
exploreHref="#konten-terpopuler"
|
|
|
|
|
exploreLabel="Lihat konten terpopuler"
|
|
|
|
|
/>
|
2026-02-17 09:05:22 +00:00
|
|
|
);
|
|
|
|
|
}
|