import TabGroup, { Tab } from "@/components/tab/TabGroup";
import AccountsLoader from "@/ui/account/AccountsLoader";
import GamesLoader from "@/ui/game/GamesLoader";


export default function AdminPage(){
	const tabs: Tab[] = [
		{
			tabHeader: "Accounts",
			tabContent: <AccountsLoader/>
		},
		{
			tabHeader: "Games",
			tabContent: <GamesLoader/>
		}
	];


	return (
		<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>
	);
}
