From 69094b85ed7d3b1ed6c54790756de8b31b91c585 Mon Sep 17 00:00:00 2001 From: "fredy.siswanto" Date: Mon, 3 Mar 2025 17:53:35 +0700 Subject: [PATCH] feat: update titles and enhance update contents page with tags and status selection --- app/pages/contents-create/index.tsx | 2 +- app/pages/contents-update/index.tsx | 44 +++++++++++++++++++++++++- app/pages/dashboard-contents/index.tsx | 2 +- 3 files changed, 45 insertions(+), 3 deletions(-) diff --git a/app/pages/contents-create/index.tsx b/app/pages/contents-create/index.tsx index c4306c3..d6a684d 100644 --- a/app/pages/contents-create/index.tsx +++ b/app/pages/contents-create/index.tsx @@ -7,7 +7,7 @@ import { TitleDashboard } from '~/components/ui/title-dashboard' export const CreateContentsPage = () => { return (
- +
diff --git a/app/pages/contents-update/index.tsx b/app/pages/contents-update/index.tsx index 5345111..8094ea2 100644 --- a/app/pages/contents-update/index.tsx +++ b/app/pages/contents-update/index.tsx @@ -1,3 +1,45 @@ +import { Field, Input, Label, Select } from '@headlessui/react' + +import { SearchIcon } from '~/components/icons/search' +import DefaultTextEditor from '~/components/ui/text-editor' +import { TitleDashboard } from '~/components/ui/title-dashboard' + export const UpdateContentsPage = () => { - return
detail
+ return ( +
+ +
+
+ + +
+ +
+ +
+
+
+
+ +
+ + + + +
+
+ +
+ +
+
+ ) } diff --git a/app/pages/dashboard-contents/index.tsx b/app/pages/dashboard-contents/index.tsx index 31cfe69..15ab560 100644 --- a/app/pages/dashboard-contents/index.tsx +++ b/app/pages/dashboard-contents/index.tsx @@ -73,7 +73,7 @@ export const ContentsPage = () => { return (