fix:landing, edit article
This commit is contained in:
parent
da1b0ff839
commit
e686672363
|
|
@ -7,7 +7,7 @@ import Link from "next/link";
|
||||||
export default function MasterUserPage() {
|
export default function MasterUserPage() {
|
||||||
return (
|
return (
|
||||||
<div className="h-[96vh] overflow-x-hidden overflow-y-scroll gap-0 grid rounded-lg border-2">
|
<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">
|
<Card className="rounded-md my-5 pl-5 py-2">
|
||||||
<Link href="/admin/master-user/create">
|
<Link href="/admin/master-user/create">
|
||||||
<Button
|
<Button
|
||||||
|
|
|
||||||
|
|
@ -5,26 +5,24 @@ import Link from "next/link";
|
||||||
|
|
||||||
export default function StaticPageGeneratorList() {
|
export default function StaticPageGeneratorList() {
|
||||||
return (
|
return (
|
||||||
<Card className="rounded-md border bg-transparent p-4">
|
<div className="overflow-x-hidden overflow-y-scroll rounded-lg border-2">
|
||||||
<div className="overflow-x-hidden overflow-y-scroll rounded-lg border-2">
|
<div className="px-2 md:px-4 w-full">
|
||||||
<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">
|
||||||
<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">
|
||||||
<Link href="/admin/static-page/create">
|
<Button
|
||||||
<Button
|
size="md"
|
||||||
size="md"
|
color="primary"
|
||||||
color="primary"
|
className="bg-[#F07C00] text-white"
|
||||||
className="bg-[#F07C00] text-white"
|
>
|
||||||
>
|
<AddIcon />
|
||||||
<AddIcon />
|
Create Page
|
||||||
Create Page
|
</Button>
|
||||||
</Button>
|
</Link>
|
||||||
</Link>
|
</div>
|
||||||
</div>
|
<div className="bg-white dark:bg-[#18181b] rounded-xl p-2">
|
||||||
<div className="bg-white dark:bg-[#18181b] rounded-xl p-2">
|
<StaticPageTable />
|
||||||
<StaticPageTable />
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Card>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -24,6 +24,7 @@ import {
|
||||||
ChevronRightIcon,
|
ChevronRightIcon,
|
||||||
ChevronUpIcon,
|
ChevronUpIcon,
|
||||||
FbIcon,
|
FbIcon,
|
||||||
|
FbIconNav,
|
||||||
IdnIcon,
|
IdnIcon,
|
||||||
IgIcon,
|
IgIcon,
|
||||||
SearchIcon,
|
SearchIcon,
|
||||||
|
|
@ -116,28 +117,30 @@ export default function NavbarHumas() {
|
||||||
href="https://www.facebook.com/DivHumasPolri?_rdc=1&_rdr"
|
href="https://www.facebook.com/DivHumasPolri?_rdc=1&_rdr"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
<FbIcon />
|
<div className="bg-white p-1.5 rounded-md">
|
||||||
|
<FbIconNav size={16} />
|
||||||
|
</div>
|
||||||
</Link>
|
</Link>
|
||||||
<Link
|
<Link
|
||||||
href="https://www.instagram.com/divisihumaspolri/"
|
href="https://www.instagram.com/divisihumaspolri/"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
<IgIcon />
|
<IgIcon size={27} />
|
||||||
</Link>
|
</Link>
|
||||||
<Link
|
<Link
|
||||||
href="https://www.youtube.com/user/pidhumaspolri"
|
href="https://www.youtube.com/user/pidhumaspolri"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
<YtIcon />
|
<YtIcon size={27} />
|
||||||
</Link>
|
</Link>
|
||||||
<Link href="https://twitter.com/DivHumas_Polri" target="_blank">
|
<Link href="https://twitter.com/DivHumas_Polri" target="_blank">
|
||||||
<TwIcon />
|
<TwIcon size={27} />
|
||||||
</Link>
|
</Link>
|
||||||
<Link
|
<Link
|
||||||
href="https://www.tiktok.com/@divhumas_polri"
|
href="https://www.tiktok.com/@divhumas_polri"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
<TtIcon />
|
<TtIcon size={27} />
|
||||||
</Link>
|
</Link>
|
||||||
{token ? (
|
{token ? (
|
||||||
// <Button className="bg-[#DD8306]" onPress={onLogout}>
|
// <Button className="bg-[#DD8306]" onPress={onLogout}>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue