fix:landing, edit article

This commit is contained in:
Rama Priyanto 2024-12-23 14:22:20 +07:00
parent da1b0ff839
commit e686672363
4 changed files with 136 additions and 105 deletions

View File

@ -7,7 +7,7 @@ import Link from "next/link";
export default function MasterUserPage() {
return (
<div className="h-[96vh] overflow-x-hidden overflow-y-scroll gap-0 grid rounded-lg border-2">
<div className="">
<div className="px-4">
<Card className="rounded-md my-5 pl-5 py-2">
<Link href="/admin/master-user/create">
<Button

View File

@ -5,26 +5,24 @@ import Link from "next/link";
export default function StaticPageGeneratorList() {
return (
<Card className="rounded-md border bg-transparent p-4">
<div className="overflow-x-hidden overflow-y-scroll rounded-lg border-2">
<div className="px-2 md:px-4 w-full">
<div className="rounded-md mt-4 px-5 py-2 bg-white dark:bg-[#18181b] flex flex-row gap-3">
<Link href="/admin/static-page/create">
<Button
size="md"
color="primary"
className="bg-[#F07C00] text-white"
>
<AddIcon />
Create Page
</Button>
</Link>
</div>
<div className="bg-white dark:bg-[#18181b] rounded-xl p-2">
<StaticPageTable />
</div>
<div className="overflow-x-hidden overflow-y-scroll rounded-lg border-2">
<div className="px-2 md:px-4 w-full">
<div className="rounded-md mt-4 px-5 py-2 bg-white dark:bg-[#18181b] flex flex-row gap-3">
<Link href="/admin/static-page/create">
<Button
size="md"
color="primary"
className="bg-[#F07C00] text-white"
>
<AddIcon />
Create Page
</Button>
</Link>
</div>
<div className="bg-white dark:bg-[#18181b] rounded-xl p-2">
<StaticPageTable />
</div>
</div>
</Card>
</div>
);
}

File diff suppressed because one or more lines are too long

View File

@ -24,6 +24,7 @@ import {
ChevronRightIcon,
ChevronUpIcon,
FbIcon,
FbIconNav,
IdnIcon,
IgIcon,
SearchIcon,
@ -116,28 +117,30 @@ export default function NavbarHumas() {
href="https://www.facebook.com/DivHumasPolri?_rdc=1&_rdr"
target="_blank"
>
<FbIcon />
<div className="bg-white p-1.5 rounded-md">
<FbIconNav size={16} />
</div>
</Link>
<Link
href="https://www.instagram.com/divisihumaspolri/"
target="_blank"
>
<IgIcon />
<IgIcon size={27} />
</Link>
<Link
href="https://www.youtube.com/user/pidhumaspolri"
target="_blank"
>
<YtIcon />
<YtIcon size={27} />
</Link>
<Link href="https://twitter.com/DivHumas_Polri" target="_blank">
<TwIcon />
<TwIcon size={27} />
</Link>
<Link
href="https://www.tiktok.com/@divhumas_polri"
target="_blank"
>
<TtIcon />
<TtIcon size={27} />
</Link>
{token ? (
// <Button className="bg-[#DD8306]" onPress={onLogout}>