diff --git a/src/app/analytics/page.tsx b/src/app/analytics/page.tsx index 2800c6d..5c97a24 100644 --- a/src/app/analytics/page.tsx +++ b/src/app/analytics/page.tsx @@ -20,17 +20,10 @@ const AnalyticsPage = () => { const navItemsWithLinks = navItems.map((item) => { const routeMap: Record = { - home: "/", - "create-agent": "/", - "my-agents": "/", - marketplace: "/", - analytics: "/analytics", - docs: "/", - }; + home: "/", "create-agent": "/", "my-agents": "/", marketplace: "/", analytics: "/analytics", docs: "/"}; return { ...item, - href: routeMap[item.id] || "/", - }; + href: routeMap[item.id] || "/"}; }); return ( @@ -67,32 +60,16 @@ const AnalyticsPage = () => { animationType="slide-up" metrics={[ { - id: "agents-deployed", - value: "50K+", - title: "Agents Deployed", - description: "Custom AI agents in production", - icon: Zap, + id: "agents-deployed", value: "50K+", title: "Agents Deployed", description: "Custom AI agents in production", icon: Zap, }, { - id: "monthly-users", - value: "125K+", - title: "Monthly Users", - description: "Builders and businesses", - icon: Users, + id: "monthly-users", value: "125K+", title: "Monthly Users", description: "Builders and businesses", icon: Users, }, { - id: "api-calls", - value: "2.8B+", - title: "API Calls", - description: "Monthly agent interactions", - icon: Activity, + id: "api-calls", value: "2.8B+", title: "API Calls", description: "Monthly agent interactions", icon: Activity, }, { - id: "uptime", - value: "99.99%", - title: "Platform Uptime", - description: "Reliable infrastructure", - icon: Shield, + id: "uptime", value: "99.99%", title: "Platform Uptime", description: "Reliable infrastructure", icon: Shield, }, ]} /> @@ -110,55 +87,33 @@ const AnalyticsPage = () => { animationType="slide-up" features={[ { - title: "Performance Metrics", - description: "Track response times, accuracy, and user satisfaction in real-time.", - bentoComponent: "icon-info-cards", - items: [ + title: "Performance Metrics", description: "Track response times, accuracy, and user satisfaction in real-time.", bentoComponent: "icon-info-cards", items: [ { icon: BarChart3, - label: "Avg Response", - value: "0.8s", - }, + label: "Avg Response", value: "0.8s"}, { icon: Users, - label: "Active Users", - value: "2.4K", - }, + label: "Active Users", value: "2.4K"}, { icon: TrendingUp, - label: "Growth Rate", - value: "+28%", - }, + label: "Growth Rate", value: "+28%"}, ], }, { - title: "Usage Analytics", - description: "Detailed breakdown of API calls, agent interactions, and resource consumption.", - bentoComponent: "3d-task-list", - title: "Recent Activity", - items: [ + title: "Usage Analytics", description: "Detailed breakdown of API calls, agent interactions, and resource consumption.", bentoComponent: "3d-task-list", items: [ { icon: Zap, - label: "Agent Invocations", - time: "142K today", - }, + label: "Agent Invocations", time: "142K today"}, { icon: MessageSquare, - label: "Messages Processed", - time: "89K today", - }, + label: "Messages Processed", time: "89K today"}, { icon: Activity, - label: "API Requests", - time: "521K today", - }, + label: "API Requests", time: "521K today"}, ], }, { - title: "Integration Health", - description: "Monitor connected services and integration status across your platform.", - bentoComponent: "orbiting-icons", - centerIcon: Puzzle, + title: "Integration Health", description: "Monitor connected services and integration status across your platform.", bentoComponent: "orbiting-icons", centerIcon: Puzzle, items: [ { icon: Package, @@ -197,24 +152,16 @@ const AnalyticsPage = () => { socialLinks={[ { icon: Twitter, - href: "https://twitter.com/agentus", - ariaLabel: "Twitter", - }, + href: "https://twitter.com/agentus", ariaLabel: "Twitter"}, { icon: Github, - href: "https://github.com/agentus", - ariaLabel: "GitHub", - }, + href: "https://github.com/agentus", ariaLabel: "GitHub"}, { icon: Linkedin, - href: "https://linkedin.com/company/agentus", - ariaLabel: "LinkedIn", - }, + href: "https://linkedin.com/company/agentus", ariaLabel: "LinkedIn"}, { icon: Mail, - href: "mailto:hello@agentus.io", - ariaLabel: "Email", - }, + href: "mailto:hello@agentus.io", ariaLabel: "Email"}, ]} /> diff --git a/src/app/settings/page.tsx b/src/app/settings/page.tsx index 3ac5387..fb60273 100644 --- a/src/app/settings/page.tsx +++ b/src/app/settings/page.tsx @@ -20,17 +20,10 @@ const SettingsPage = () => { const navItemsWithLinks = navItems.map((item) => { const routeMap: Record = { - home: "/", - "create-agent": "/", - "my-agents": "/", - marketplace: "/", - analytics: "/analytics", - docs: "/", - }; + home: "/", "create-agent": "/", "my-agents": "/", marketplace: "/", analytics: "/analytics", docs: "/"}; return { ...item, - href: routeMap[item.id] || "/", - }; + href: routeMap[item.id] || "/"}; }); return ( @@ -58,15 +51,11 @@ const SettingsPage = () => { { animationType="slide-up" features={[ { - title: "Security Settings", - description: "Manage authentication, two-factor verification, and API keys.", - bentoComponent: "icon-info-cards", - items: [ + title: "Security Settings", description: "Manage authentication, two-factor verification, and API keys.", bentoComponent: "icon-info-cards", items: [ { icon: Shield, - label: "2FA Status", - value: "Enabled", - }, + label: "2FA Status", value: "Enabled"}, { icon: Lock, - label: "Password", - value: "Secure", - }, + label: "Password", value: "Secure"}, { icon: Key, - label: "API Keys", - value: "3 Active", - }, + label: "API Keys", value: "3 Active"}, ], }, { - title: "Notification Preferences", - description: "Control email alerts, activity notifications, and update frequency.", - bentoComponent: "3d-task-list", - title: "Notification Settings", - items: [ + title: "Notification Preferences", description: "Control email alerts, activity notifications, and update frequency.", bentoComponent: "3d-task-list", items: [ { icon: Bell, - label: "Agent Alerts", - time: "Enabled", - }, + label: "Agent Alerts", time: "Enabled"}, { icon: Mail, - label: "Email Digest", - time: "Weekly", - }, + label: "Email Digest", time: "Weekly"}, { icon: Users, - label: "Team Invites", - time: "Enabled", - }, + label: "Team Invites", time: "Enabled"}, ], }, { - title: "Integration Management", - description: "Connect, disconnect, or reconfigure third-party services and APIs.", - bentoComponent: "orbiting-icons", - centerIcon: Settings, + title: "Integration Management", description: "Connect, disconnect, or reconfigure third-party services and APIs.", bentoComponent: "orbiting-icons", centerIcon: Settings, items: [ { icon: Shield, @@ -172,24 +139,16 @@ const SettingsPage = () => { socialLinks={[ { icon: Twitter, - href: "https://twitter.com/agentus", - ariaLabel: "Twitter", - }, + href: "https://twitter.com/agentus", ariaLabel: "Twitter"}, { icon: Github, - href: "https://github.com/agentus", - ariaLabel: "GitHub", - }, + href: "https://github.com/agentus", ariaLabel: "GitHub"}, { icon: Linkedin, - href: "https://linkedin.com/company/agentus", - ariaLabel: "LinkedIn", - }, + href: "https://linkedin.com/company/agentus", ariaLabel: "LinkedIn"}, { icon: Mail, - href: "mailto:hello@agentus.io", - ariaLabel: "Email", - }, + href: "mailto:hello@agentus.io", ariaLabel: "Email"}, ]} />