From 610e56c7af62abc4724478cdbe5a147257a15624 Mon Sep 17 00:00:00 2001 From: sabdayagra Date: Sat, 30 Nov 2024 21:48:32 +0700 Subject: [PATCH] feat : navbar position mobile version and page image detail --- app/[locale]/image/filter/page.tsx | 44 +++++++++++++++++++--- components/landing-page/LiputanWilayah.tsx | 35 +++++++++++++---- components/landing-page/Navbar.tsx | 14 +++++-- 3 files changed, 76 insertions(+), 17 deletions(-) diff --git a/app/[locale]/image/filter/page.tsx b/app/[locale]/image/filter/page.tsx index 842c70c8..be105044 100644 --- a/app/[locale]/image/filter/page.tsx +++ b/app/[locale]/image/filter/page.tsx @@ -2,6 +2,7 @@ import React, { useState } from "react"; import { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from "@/components/ui/pagination"; import { Card, CardContent } from "@/components/ui/card"; +import { Checkbox } from "@/components/ui/checkbox"; const dummyImage = [ { id: 1, thumbnail: "/assets/banner-sample.png" }, @@ -12,8 +13,22 @@ const dummyImage = [ { id: 6, thumbnail: "https://mediahub.polri.go.id/api/media/categories/view-thumbnail?id=93¤tMilis=1732769540018" }, ]; +const categories = [ + { id: 1, title: "HUT HUMAS KE - 73" }, + { id: 2, title: "OPERASI ZEBRA 2024" }, + { id: 3, title: "PON XXI" }, + { id: 4, title: "OPS LILIN NATARU 2024" }, + { id: 5, title: "HUT HUMAS KE - 72" }, + { id: 6, title: "OPS MANTAP PRAJA & PILKADA" } +] + +const formatPicture = [ + { id: 1, title: "PNG" }, + { id: 2, title: "JPEG" }, + { id: 3, title: "JPG" }, +] + const FilterPage = () => { - const [selectedTab, setSelectedTab] = useState("video"); return (
@@ -60,22 +75,39 @@ const FilterPage = () => {

Kategori

    - {["HUT HUMAS KE - 73", "OPERASI ZEBRA 2024", "PON XXI", "OPS LILIN NATARU 2024", "HUT HUMAS KE - 72", "OPS MANTAP PRAJA & PILKADA"].map((category) => ( -
  • + {categories.map((category) => ( +
  • ))}
+ {/* Garis */} +
+ {/* Garis */} +
+

Format Foto

+
    + {formatPicture.map((format) => ( +
  • + +
  • + ))} +
+
+
{/* Konten Kanan */}
-
+

Urutkan berdasarkan