From fd64f286705018535b65f082d806ce770fe78ca0 Mon Sep 17 00:00:00 2001 From: Anang Yusman Date: Mon, 2 Feb 2026 13:52:59 +0800 Subject: [PATCH] update landingpage --- components/details/details-content.tsx | 24 +++++++++++++++--------- components/landing-page/footer.tsx | 13 ++++++++----- components/landing-page/navbar.tsx | 10 ++++++---- public/milenial-logo.png | Bin 0 -> 871874 bytes tsconfig.json | 24 +++++++++++++++++++----- 5 files changed, 48 insertions(+), 23 deletions(-) create mode 100644 public/milenial-logo.png diff --git a/components/details/details-content.tsx b/components/details/details-content.tsx index df1fa41..f1e81b1 100644 --- a/components/details/details-content.tsx +++ b/components/details/details-content.tsx @@ -82,7 +82,7 @@ export default function DetailContent() { const [diseId, setDiseId] = useState(0); const [thumbnailImg, setThumbnailImg] = useState([]); const [selectedMainImage, setSelectedMainImage] = useState( - null + null, ); const [selectedIndex, setSelectedIndex] = useState(0); @@ -332,16 +332,22 @@ export default function DetailContent() { - - - {new Date( - articleDetail?.publishedAt ?? articleDetail?.createdAt - ).toLocaleDateString("id-ID", { + {new Date( + articleDetail?.publishedAt ?? articleDetail?.createdAt, + ) + .toLocaleString("id-ID", { day: "numeric", month: "long", year: "numeric", - })} - + hour: "2-digit", + minute: "2-digit", + hour12: false, + timeZone: "Asia/Jakarta", + }) + .replace("pukul ", "")}{" "} + WIB + in {articleDetail?.categories?.[0]?.title} @@ -509,7 +515,7 @@ export default function DetailContent() {
@@ -765,7 +771,7 @@ export default function DetailContent() { day: "2-digit", month: "long", year: "numeric", - } + }, )} 💬 0 diff --git a/components/landing-page/footer.tsx b/components/landing-page/footer.tsx index fecaef6..ae2fddd 100644 --- a/components/landing-page/footer.tsx +++ b/components/landing-page/footer.tsx @@ -8,11 +8,14 @@ export default function Footer() {