feat: add button see All

This commit is contained in:
Sabda Yagra 2025-07-29 10:29:47 +07:00
parent e1ac7cc688
commit b7dce8c13c
1 changed files with 4 additions and 4 deletions

View File

@ -155,7 +155,7 @@ const NewContent = (props: { group: string; type: string }) => {
{[ {[
{ label: t("image", { defaultValue: "Image" }), value: "image" }, { label: t("image", { defaultValue: "Image" }), value: "image" },
{ label: t("video", { defaultValue: "Video" }), value: "video" }, { label: t("video", { defaultValue: "Video" }), value: "video" },
{ label: t("text", { defaultValue: "Text" }), value: "text" }, { label: t("text", { defaultValue: "Text" }), value: "document" },
{ label: t("audio", { defaultValue: "Audio" }), value: "audio" }, { label: t("audio", { defaultValue: "Audio" }), value: "audio" },
].map((tab) => ( ].map((tab) => (
<TabsTrigger <TabsTrigger
@ -591,11 +591,11 @@ const NewContent = (props: { group: string; type: string }) => {
</div> </div>
)} )}
</div> </div>
{/* <div className="flex items-center flex-row justify-center"> <div className="flex items-center flex-row justify-center mt-3">
<div onClick={() => router.push(prefixPath + `/${selectedTab}/filter?sortBy=${props.type}`)} className="cursor-pointer border text-[#bb3523] rounded-lg text-sm lg:text-md px-4 py-1 border-[#bb3523]"> <div onClick={() => router.push(prefixPath + `/${selectedTab}/filter?sortBy=${props.type}`)} className="cursor-pointer border text-[#bb3523] rounded-lg text-sm lg:text-md px-4 py-1 border-[#bb3523] hover:text-white hover:bg-[#bb3523]">
{t("seeAll", { defaultValue: "See All" })} {t("seeAll", { defaultValue: "See All" })}
</div> </div>
</div> */} </div>
</Reveal> </Reveal>
</div> </div>
); );