+
{t("content", { defaultValue: "Content" })}
+ {">"}
+
+
+ {t("allContent", { defaultValue: "All Content" })}
+
+
+
|
+ {!title ? (
+
+ {`${t("thereIs", { defaultValue: "Terdapat" })} ${totalContent} ${t(
+ "downloadableImage",
+ { defaultValue: "artikel berisi Foto yang dapat diunduh" }
+ )}`}
+
+ ) : (
+ <>
+
+ {t("search-results", { defaultValue: "Hasil pencarian untuk" })}{" "}
+ "{title}"
+
+ >
+ )}
+
+
+
+
+
+ {isFilterOpen && (
+
+
+
+ Filter
+
+
+
+
+
+ setSearchTitle(e.target.value)}
+ onKeyUp={handleKeyUp}
+ onKeyDown={handleKeyDown}
+ type="text"
+ id="search"
+ placeholder={t("searchTitle", {
+ defaultValue: "Search Title",
+ })}
+ className="mt-1 w-full border rounded-md py-2 px-3 focus:ring-red-500 focus:border-red-500"
+ />
+
+
+
+
+ setMonthYearFilter(date)}
+ dateFormat="MM | yyyy"
+ placeholderText={t("selectYear", {
+ defaultValue: "Select Year",
+ })}
+ showMonthYearPicker
+ />
+
+
+
+
+
+
{
+ setDateRange(update);
+ }}
+ placeholderText={t("selectDate", {
+ defaultValue: "Select Date",
+ })}
+ onCalendarClose={() => setCalenderState(!calenderState)}
+ />
+
+ {handleClose ? (
+
+ ) : (
+ ""
+ )}
+
+
+
+
+
+
+ {t("categories", { defaultValue: "Categories" })}
+
+
+
+ {/* Garis */}
+
+ {/* Garis */}
+
+
+ Format
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+
+
+
+
+
+
+ )}
+
+ {/* Konten Kanan */}
+
+
+
+
+ {t("sortBy", { defaultValue: "Sort By" })}
+
+
+
+
+
+
+
+
+
+
+
+