Modals and API calls working for admin tab
This commit is contained in:
@@ -1,10 +1,33 @@
|
||||
import TabGroup, { Tab } from "@/components/tab/TabGroup";
|
||||
import AccountsLoader from "@/ui/account/AccountsLoader";
|
||||
|
||||
|
||||
export default function AdminPage(){
|
||||
//TODO:
|
||||
const tabs: Tab[] = [
|
||||
{
|
||||
tabHeader: "Accounts",
|
||||
tabContent: <AccountsLoader/>
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
return (
|
||||
<div>
|
||||
Admin Page
|
||||
</div>
|
||||
<main
|
||||
className="flex flex-col items-center justify-center"
|
||||
>
|
||||
<h1
|
||||
className="text-4xl"
|
||||
>
|
||||
Admin Functions
|
||||
</h1>
|
||||
<div
|
||||
className="w-full"
|
||||
>
|
||||
<TabGroup
|
||||
tabs={tabs}
|
||||
>
|
||||
</TabGroup>
|
||||
</div>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user