From 8c6d3f06454275f2acf4c4c580358a7a371556e4 Mon Sep 17 00:00:00 2001 From: "fredy.siswanto" Date: Wed, 5 Mar 2025 11:31:03 +0700 Subject: [PATCH] fix: update text editor import in CreateContentsPage component --- app/pages/dashboard-advertisements/index.tsx | 70 +++++++++++++++----- 1 file changed, 54 insertions(+), 16 deletions(-) diff --git a/app/pages/dashboard-advertisements/index.tsx b/app/pages/dashboard-advertisements/index.tsx index 495ac30..6a596e6 100644 --- a/app/pages/dashboard-advertisements/index.tsx +++ b/app/pages/dashboard-advertisements/index.tsx @@ -1,4 +1,5 @@ -import { Field, Input, Label } from '@headlessui/react' +import { Field, Input, Label, Select } from '@headlessui/react' +import { MagnifyingGlassIcon } from '@heroicons/react/20/solid' import { useState } from 'react' import { twMerge } from 'tailwind-merge' @@ -81,7 +82,8 @@ export const AdvertisementsPage = ({ return (
- {listAdvertisement && ( + + {!listAdvertisement && (
@@ -132,23 +134,59 @@ export const AdvertisementsPage = ({
)} -
)} - {!listAdvertisement && ( - + {listAdvertisement && ( + <> +
+
+
+ + +
+ +
+ +
+
+
+
+ +
+ + + + +
+
+ +
+ + )} )