JAGA NEGERI
+ + ++ + {item.categories?.[0]?.title || "Kategori"} + +
+ ++ {item.title} +
+ ++ By{" "} + + {item.customCreatorName} + +
+ ++ {new Date(item.publishedAt).toLocaleDateString("id-ID", { + day: "numeric", + month: "long", + year: "numeric", + })} +
+Flash
+ ⚡ +{item.title}
++ {mainArticle.title} +
+ +Loading...
+ )} + + {/* RIGHT SIDE – RECENT POSTS */} +Recent Posts
+ ++ {item.title} +
+ + {new Date(item.publishedAt).toLocaleDateString("id-ID", { + day: "2-digit", + month: "long", + year: "numeric", + })} + ++ Memuat berita terbaru... +
+ ); + + return ( +BERITA TERKINI
+ + ++ {item.categories?.[0]?.title || "Kategori"} +
+ + {/* JUDUL */} ++ {item.title} +
+ + {/* DESKRIPSI */} ++ {item.description} +
+ + {/* AUTHOR + DATE */} ++ By {item.customCreatorName || item.createdByName} —{" "} + {formatDate(item.publishedAt)} +
+TERBANYAK DIBAGIKAN
+ + ++ {item.categories?.[0]?.title || "Kategori"} +
++ {item.title} +
++ {formatDate(item.createdAt)} +
+BERITA POPULER
+ ++ {item.title} +
+ + {/* AUTHOR + DATE */} +BERITA OPINI
+ ++ {item.title} +
+ + {/* AUTHOR + DATE */} ++ {v.title} +
+ +{v.publishedAt}
+ +