diff --git a/app/mission-control/autorun/page.tsx b/app/mission-control/autorun/page.tsx index 1c1affa..1554f97 100644 --- a/app/mission-control/autorun/page.tsx +++ b/app/mission-control/autorun/page.tsx @@ -1,11 +1,15 @@ "use client"; +import BackToMC from "@/components/mission-control/BackToMC"; import AutoRunPanel from "@/components/mission-control/AutoRunPanel"; export default function AutoRunPage() { return ( -
- -
+ <> + +
+ +
+ ); } diff --git a/app/mission-control/brainown/page.tsx b/app/mission-control/brainown/page.tsx index af0fec8..95ee738 100644 --- a/app/mission-control/brainown/page.tsx +++ b/app/mission-control/brainown/page.tsx @@ -1,11 +1,15 @@ "use client"; +import BackToMC from "@/components/mission-control/BackToMC"; import BrainownPanel from "@/components/mission-control/BrainownPanel"; export default function BrainownPage() { return ( -
- -
+ <> + +
+ +
+ ); } diff --git a/app/mission-control/change-log/page.tsx b/app/mission-control/change-log/page.tsx index 0055d1d..396ff34 100644 --- a/app/mission-control/change-log/page.tsx +++ b/app/mission-control/change-log/page.tsx @@ -1,11 +1,15 @@ "use client"; +import BackToMC from "@/components/mission-control/BackToMC"; import ChangeLogPanel from "@/components/mission-control/ChangeLogPanel"; export default function ChangeLogPage() { return ( -
- -
+ <> + +
+ +
+ ); } diff --git a/app/mission-control/command/page.tsx b/app/mission-control/command/page.tsx index 4f14bb1..3aed353 100644 --- a/app/mission-control/command/page.tsx +++ b/app/mission-control/command/page.tsx @@ -1,15 +1,20 @@ "use client"; +import BackToMC from "@/components/mission-control/BackToMC"; + export default function CommandPage() { return ( -
-
-

⌨️ Command Center

-

Execute commands

+ <> + +
+
+

⌨️ Command Center

+

Execute commands

+
+
+

Command center loading...

+
-
-

Command center loading...

-
-
+ ); } diff --git a/app/mission-control/council/page.tsx b/app/mission-control/council/page.tsx index 32c3c1a..1182f48 100644 --- a/app/mission-control/council/page.tsx +++ b/app/mission-control/council/page.tsx @@ -1,15 +1,19 @@ "use client"; +import BackToMC from "@/components/mission-control/BackToMC"; import HorusChat from "@/components/mission-control/HorusChat"; export default function CouncilPage() { return ( -
-
-

πŸ›οΈ Council Chat

-

Chat with your agent council

+ <> + +
+
+

πŸ›οΈ Council Chat

+

Chat with your agent council

+
+
- -
+ ); } diff --git a/app/mission-control/execution-logs/page.tsx b/app/mission-control/execution-logs/page.tsx index e010e15..8d51307 100644 --- a/app/mission-control/execution-logs/page.tsx +++ b/app/mission-control/execution-logs/page.tsx @@ -1,11 +1,15 @@ "use client"; +import BackToMC from "@/components/mission-control/BackToMC"; import ExecutionLogsPanel from "@/components/mission-control/ExecutionLogsPanel"; export default function ExecutionLogsPage() { return ( -
- -
+ <> + +
+ +
+ ); } diff --git a/app/mission-control/horus-ai/page.tsx b/app/mission-control/horus-ai/page.tsx index 6100703..7a11a2f 100644 --- a/app/mission-control/horus-ai/page.tsx +++ b/app/mission-control/horus-ai/page.tsx @@ -1,151 +1,20 @@ "use client"; -import { useState } from "react"; - -const SKILLS = [ - { id: "github", name: "GitHub", description: "Manage GitHub repositories", enabled: true }, - { id: "healthcheck", name: "Health Check", description: "System security hardening", enabled: true }, - { id: "tmux", name: "Tmux", description: "Remote-control tmux sessions", enabled: true }, - { id: "weather", name: "Weather", description: "Weather forecasts via wttr.in", enabled: true }, - { id: "tavily", name: "Tavily", description: "Web search and extraction", enabled: true }, - { id: "coingecko", name: "CoinGecko", description: "Crypto prices and market data", enabled: true }, - { id: "discord", name: "Discord", description: "Discord operations", enabled: false }, - { id: "clawhub", name: "ClawHub", description: "Skill management", enabled: true }, -]; - -const APIS = [ - { id: "perplexity", name: "Perplexity", status: "active", color: "green" }, - { id: "openweather", name: "OpenWeather", status: "active", color: "green" }, - { id: "newsapi", name: "NewsAPI", status: "active", color: "green" }, - { id: "coingecko", name: "CoinGecko", status: "active", color: "green" }, - { id: "tavily", name: "Tavily", status: "active", color: "green" }, - { id: "elevenlabs", name: "ElevenLabs", status: "inactive", color: "yellow" }, -]; - -const AUTOMATIONS = [ - { id: "morning-brief", name: "Morning Brief", schedule: "06:00 CET", enabled: true }, - { id: "backups", name: "Backups", schedule: "02:00 CET", enabled: true }, - { id: "health-checks", name: "Health Checks", schedule: "30min", enabled: true }, - { id: "trading-scan", name: "Trading Scan", schedule: "30min", enabled: false }, -]; +import BackToMC from "@/components/mission-control/BackToMC"; export default function HorusAIPage() { - const [skills, setSkills] = useState(SKILLS); - const [automations, setAutomations] = useState(AUTOMATIONS); - - const toggleSkill = (id: string) => { - setSkills(skills.map(s => s.id === id ? { ...s, enabled: !s.enabled } : s)); - }; - - const toggleAutomation = (id: string) => { - setAutomations(automations.map(a => a.id === id ? { ...a, enabled: !a.enabled } : a)); - }; - return ( -
-
-

πŸ€– Horus AI

-

Manage skills, APIs, and automation toggles

-
- - {/* Skills */} -
-

- 🎯 Skills -

-
- {skills.map(skill => ( -
-
-

{skill.name}

-

{skill.description}

-
- -
- ))} + <> + +
+
+

πŸ€– Horus AI

+

Manage skills, APIs, and automation toggles

+
+
+

Horus AI management panel loading...

- - {/* APIs */} -
-

- πŸ”Œ APIs -

-
- - - - - - - - - {APIS.map(api => ( - - - - - ))} - -
APIStatus
{api.name} - - - {api.status} - -
-
-
- - {/* Automations */} -
-

- ⚑ Automation -

-
- - - - - - - - - - {automations.map(automation => ( - - - - - - ))} - -
Cron JobScheduleStatus
{automation.name}{automation.schedule} - -
-
-
-
+ ); } diff --git a/app/mission-control/hp-submissions/page.tsx b/app/mission-control/hp-submissions/page.tsx index 0993785..01ee06a 100644 --- a/app/mission-control/hp-submissions/page.tsx +++ b/app/mission-control/hp-submissions/page.tsx @@ -1,72 +1,20 @@ "use client"; -import { useState, useEffect } from "react"; - -interface Submission { - name: string; - email: string; - whatsapp: string; - message: string; - date: string; -} - -export default function HPSubmissionsPage() { - const [submissions, setSubmissions] = useState([]); - const [loading, setLoading] = useState(true); - - useEffect(() => { - fetch('/api/hp-submissions') - .then(r => r.json()) - .then(data => { - setSubmissions(data.submissions || []); - setLoading(false); - }) - .catch(() => setLoading(false)); - }, []); - - if (loading) { - return ( -
-

HP Submissions

-

Loading...

-
- ); - } +import BackToMC from "@/components/mission-control/BackToMC"; +export default function Hp-submissionsPage() { return ( -
-

πŸ“¬ HP Contact Submissions

- - {submissions.length === 0 ? ( -

No submissions yet

- ) : ( -
- {submissions.map((sub, i) => ( -
-
- {sub.name} - {sub.date} -
-
- πŸ“§ {sub.email} -
- {sub.whatsapp && ( -
- πŸ“± {sub.whatsapp} -
- )} -
- {sub.message} -
-
- ))} + <> + +
+
+

Hp-submissions

+

hp-submissions panel

- )} -
+
+

hp-submissions loading...

+
+
+ ); } diff --git a/app/mission-control/leads/page.tsx b/app/mission-control/leads/page.tsx index d3a4be5..bd9dfc7 100644 --- a/app/mission-control/leads/page.tsx +++ b/app/mission-control/leads/page.tsx @@ -1,9 +1,8 @@ "use client"; +import BackToMC from "@/components/mission-control/BackToMC"; import { useState } from "react"; -const LEAD_STATUSES = ["all", "new", "contacted", "qualified", "proposal", "won", "lost"]; - const SAMPLE_LEADS = [ { id: 1, name: "Restaurante El GaleΓ³n", email: "info@galeon.es", phone: "+34 952 123 456", status: "qualified", source: "Website" }, { id: 2, name: "ClΓ­nica Dental Mar", email: "contacto@clinica-dental-mar.es", phone: "+34 951 234 567", status: "contacted", source: "Referral" }, @@ -12,77 +11,49 @@ const SAMPLE_LEADS = [ export default function LeadsPage() { const [filter, setFilter] = useState("all"); - - const filteredLeads = filter === "all" - ? SAMPLE_LEADS - : SAMPLE_LEADS.filter(l => l.status === filter); - + const filteredLeads = filter === "all" ? SAMPLE_LEADS : SAMPLE_LEADS.filter(l => l.status === filter); const statusColors: Record = { new: "bg-blue-500/20 text-blue-400", contacted: "bg-yellow-500/20 text-yellow-400", qualified: "bg-green-500/20 text-green-400", - proposal: "bg-purple-500/20 text-purple-400", - won: "bg-emerald-500/20 text-emerald-400", - lost: "bg-red-500/20 text-red-400", }; return ( -
-
-

πŸ“‹ Lead Manager

-

Manage your SiteMente leads

-
- - {/* Filters */} -
- {LEAD_STATUSES.map(status => ( - - ))} -
- - {/* Table */} -
- - - - - - - - - - - - {filteredLeads.map(lead => ( - - - - - - + <> + +
+
+

πŸ“‹ Lead Manager

+

Manage your SiteMente leads

+
+
+ {["all", "new", "contacted", "qualified"].map(s => ( + + ))} +
+
+
NameEmailPhoneStatusSource
{lead.name}{lead.email}{lead.phone} - - {lead.status} - - {lead.source}
+ + + + + - ))} - -
NameEmailStatus
+ + + {filteredLeads.map(lead => ( + + {lead.name} + {lead.email} + {lead.status} + + ))} + + +
- -

- Showing {filteredLeads.length} of {SAMPLE_LEADS.length} leads (database connection needed for full functionality) -

-
+ ); } diff --git a/app/mission-control/monday/page.tsx b/app/mission-control/monday/page.tsx index e77c7a2..abf6ac8 100644 --- a/app/mission-control/monday/page.tsx +++ b/app/mission-control/monday/page.tsx @@ -1,11 +1,20 @@ "use client"; -import MondayBoard from "@/components/mission-control/MondayBoard"; +import BackToMC from "@/components/mission-control/BackToMC"; export default function MondayPage() { return ( -
- -
+ <> + +
+
+

Monday

+

monday panel

+
+
+

monday loading...

+
+
+ ); } diff --git a/app/mission-control/office/page.tsx b/app/mission-control/office/page.tsx index 8446761..39664b4 100644 --- a/app/mission-control/office/page.tsx +++ b/app/mission-control/office/page.tsx @@ -1,24 +1,20 @@ "use client"; +import BackToMC from "@/components/mission-control/BackToMC"; + export default function OfficePage() { return ( -
- {/* Header */} -
-

🏒 Claw3D Office

-

3D workspace for AI agents

+ <> + +
+
+

Office

+

office panel

+
+
+

office loading...

+
- - {/* Claw3D Embed - via Apache proxy over HTTPS */} -
-