diff --git a/app/components/ui/banner.tsx b/app/components/ui/banner.tsx index df1aa7d..15e8800 100644 --- a/app/components/ui/banner.tsx +++ b/app/components/ui/banner.tsx @@ -4,7 +4,7 @@ import { APP } from '~/configs/meta' export const Banner = () => { return ( -
+
{ {APP.title}
diff --git a/app/components/ui/newsletter.tsx b/app/components/ui/newsletter.tsx index 02a34de..4473097 100644 --- a/app/components/ui/newsletter.tsx +++ b/app/components/ui/newsletter.tsx @@ -1,37 +1,57 @@ +import { twMerge } from 'tailwind-merge' + import { Button } from '~/components/ui/button' -export const Newsletter = () => { - return ( -
-
-

Join Our Newsletter

-

- Tidak ingin ketinggalan Berita Hukum terhangat? Ingin mendapat - informasi kajian dan networking terbaru? Ikuti Newsletter kami dan - Stay up to Speed! -

-
+type NewsletterProperties = { + className?: string + title?: string + description?: string + textButton?: string + onClick?: () => void +} +export const Newsletter = (property: NewsletterProperties) => { + const { className, title, description } = property + return ( +
-
- - -
+
+

+ {title ? `${title}` : 'Join Our Newsletter'} +

+

+ {description + ? `${description}` + : `Tidak ingin ketinggalan Berita Hukum terhangat? + Ingin mendapat informasi kajian dan networking terbaru? + Ikuti Newsletter kami dan Stay up to Speed!`} +

+
+
+
+ + +
+
) diff --git a/app/pages/dashboard-contents/index.tsx b/app/pages/dashboard-contents/index.tsx index bcdad2e..a817783 100644 --- a/app/pages/dashboard-contents/index.tsx +++ b/app/pages/dashboard-contents/index.tsx @@ -1,6 +1,8 @@ +import { Field, Input, Label, Select } from '@headlessui/react' import DT from 'datatables.net-dt' import DataTable from 'datatables.net-react' +import { SearchIcon } from '~/components/icons/search' import { TitleDashboard } from '~/components/ui/title-dashboard' import { CONTENTS } from './data' @@ -34,6 +36,34 @@ export const ContentsPage = () => { return (
+
+
+ + +
+ +
+ +
+
+
+
+ +
+ + + + +
+

Daftar Content

{ }, ] - const switchViee = () => { + const switchView = () => { setSubscribtionOpen(!SubscribtionOpen) } @@ -53,7 +53,7 @@ export const SubscriptionsPage = () => { diff --git a/app/pages/news/index.tsx b/app/pages/news/index.tsx index 2528b4c..1cf8ddc 100644 --- a/app/pages/news/index.tsx +++ b/app/pages/news/index.tsx @@ -10,7 +10,9 @@ export const NewsPage = () => { - +
+ +
diff --git a/public/images/bg-newsletter.png b/public/images/bg-newsletter.png new file mode 100644 index 0000000..beb6333 Binary files /dev/null and b/public/images/bg-newsletter.png differ