UNPKG

@defikitdotnet/x-ai-combat

Version:

XCombatAI - Social Media Engagement Template for the Agent Framework

14 lines 694 B
'use client'; import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import Navbar from '../components/Navbar'; import Dashboard from '../components/Dashboard'; import { useAuth } from '../contexts/AuthContext'; export default function Home() { const { isLoading } = useAuth(); const agentId = '22556008-2354-44db-a2c3-4863cd1bd2e0'; if (isLoading) { return _jsx("div", { className: "flex justify-center items-center h-screen", children: "Loading..." }); } return (_jsxs("div", { className: "flex flex-col min-h-screen bg-gray-50", children: [_jsx(Navbar, { agentId: agentId }), _jsx(Dashboard, { agentId: agentId })] })); } //# sourceMappingURL=page.js.map