refactor: rename 'Konten' to 'Artikel' and add submenu for article management
This commit is contained in:
@@ -98,7 +98,7 @@ export const ContentsPage = () => {
|
||||
|
||||
return (
|
||||
<div className="relative">
|
||||
<TitleDashboard title="Konten" />
|
||||
<TitleDashboard title="Artikel" />
|
||||
<div className="mb-8 flex items-end justify-between gap-5">
|
||||
<div className="flex-1">{/* TODO: Filter */}</div>
|
||||
<Button
|
||||
@@ -116,7 +116,7 @@ export const ContentsPage = () => {
|
||||
columns={dataColumns}
|
||||
slots={dataSlot}
|
||||
options={dataOptions}
|
||||
title="Daftar Konten"
|
||||
title="Daftar Artikel"
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
|
||||
@@ -207,7 +207,7 @@ export const FormContentsPage = (properties: TProperties) => {
|
||||
label="Konten"
|
||||
placeholder="Masukkan Konten"
|
||||
className="shadow"
|
||||
inputClassName="bg-white focus:ring-1 focus:ring-[#2E2F7C] focus:outline-none border-0"
|
||||
inputClassName="bg-white focus:ring-1 focus:ring-[#2E2F7C] focus:outline-none border-0 min-h-[42px]"
|
||||
labelClassName="text-sm font-medium text-[#363636]"
|
||||
category="content"
|
||||
/>
|
||||
|
||||
@@ -29,9 +29,7 @@ export const NewsDetailPage = () => {
|
||||
<div className="sm-max:mx-5 relative">
|
||||
<Card>
|
||||
<div className="py-5 sm:px-30">
|
||||
<h2 className="text-xl font-extrabold text-[#2E2F7C] sm:text-4xl">
|
||||
{title}
|
||||
</h2>
|
||||
<h2 className="text-xl font-extrabold sm:text-4xl">{title}</h2>
|
||||
|
||||
<div className="my-5 w-full items-center justify-between gap-2 align-middle sm:flex">
|
||||
<NewsAuthor
|
||||
|
||||
Reference in New Issue
Block a user