fix(mission-control): consistent dark theme across all pages

- All pages now use min-h-screen bg-slate-950
- Consistent card styling: bg-slate-800 rounded-xl border border-slate-700
- Fixed all hyphenated function names
- All 27 pages tested and returning 200
This commit is contained in:
2026-03-23 19:35:06 +01:00
parent e33898ec2e
commit fd9cbcb8a5
29 changed files with 219 additions and 164 deletions
+10 -5
View File
@@ -1,15 +1,20 @@
"use client";
import BackToMC from "@/components/mission-control/BackToMC";
import AutoRunPanel from "@/components/mission-control/AutoRunPanel";
export default function AutoRunPage() {
export default function AutorunPage() {
return (
<>
<div className="min-h-screen bg-slate-950 text-white">
<BackToMC />
<div className="p-6">
<AutoRunPanel />
<div className="mb-6">
<h1 className="text-3xl font-bold text-white mb-2">🔄 Auto-Run</h1>
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-xl p-8 border border-slate-700">
<p className="text-slate-400">Loading...</p>
</div>
</div>
</div>
</>
);
}
+9 -4
View File
@@ -1,15 +1,20 @@
"use client";
import BackToMC from "@/components/mission-control/BackToMC";
import BrainownPanel from "@/components/mission-control/BrainownPanel";
export default function BrainownPage() {
return (
<>
<div className="min-h-screen bg-slate-950 text-white">
<BackToMC />
<div className="p-6">
<BrainownPanel />
<div className="mb-6">
<h1 className="text-3xl font-bold text-white mb-2">🧠 Brainown</h1>
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-xl p-8 border border-slate-700">
<p className="text-slate-400">Loading...</p>
</div>
</div>
</div>
</>
);
}
+9 -4
View File
@@ -1,15 +1,20 @@
"use client";
import BackToMC from "@/components/mission-control/BackToMC";
import ChangeLogPanel from "@/components/mission-control/ChangeLogPanel";
export default function ChangeLogPage() {
return (
<>
<div className="min-h-screen bg-slate-950 text-white">
<BackToMC />
<div className="p-6">
<ChangeLogPanel />
<div className="mb-6">
<h1 className="text-3xl font-bold text-white mb-2">📝 Change Log</h1>
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-xl p-8 border border-slate-700">
<p className="text-slate-400">Loading...</p>
</div>
</div>
</div>
</>
);
}
+5 -5
View File
@@ -4,17 +4,17 @@ import BackToMC from "@/components/mission-control/BackToMC";
export default function CommandPage() {
return (
<>
<div className="min-h-screen bg-slate-950 text-white">
<BackToMC />
<div className="p-6">
<div className="mb-6">
<h1 className="text-3xl font-bold text-white mb-2"> Command Center</h1>
<p className="text-slate-400">Execute commands</p>
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-xl p-8 border border-slate-700">
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-lg p-8 text-center">
<p className="text-slate-400">Command center loading...</p>
</div>
</div>
</>
);
}
+6 -5
View File
@@ -1,19 +1,20 @@
"use client";
import BackToMC from "@/components/mission-control/BackToMC";
import HorusChat from "@/components/mission-control/HorusChat";
export default function CouncilPage() {
return (
<>
<div className="min-h-screen bg-slate-950 text-white">
<BackToMC />
<div className="p-6">
<div className="mb-6">
<h1 className="text-3xl font-bold text-white mb-2">🏛 Council Chat</h1>
<p className="text-slate-400">Chat with your agent council</p>
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-xl p-8 border border-slate-700">
<p className="text-slate-400">Loading...</p>
</div>
</div>
<HorusChat />
</div>
</>
);
}
+12 -15
View File
@@ -1,23 +1,20 @@
"use client";
import BackToMC from "@/components/mission-control/BackToMC";
export default function DocsPage() {
return (
<div className="min-h-screen bg-slate-950 text-white">
<BackToMC />
<div className="p-6">
<h1 className="text-2xl font-bold mb-4">SiteMente Docs</h1>
<p className="text-white/60 mb-4">Long-term documentation for SiteMente operations.</p>
<div className="space-y-4">
<div className="p-4 rounded-lg bg-white/5 border border-white/10">
<h2 className="font-bold mb-2">Getting Started</h2>
<p className="text-white/60 text-sm">Quick start guides and setup instructions</p>
<div className="mb-6">
<h1 className="text-3xl font-bold text-white mb-2">📚 Docs</h1>
<p className="text-slate-400">Loading...</p>
</div>
<div className="p-4 rounded-lg bg-white/5 border border-white/10">
<h2 className="font-bold mb-2">Products</h2>
<p className="text-white/60 text-sm">Smart Starter, Smart Site, AI Growth Partner</p>
</div>
<div className="p-4 rounded-lg bg-white/5 border border-white/10">
<h2 className="font-bold mb-2">Integrations</h2>
<p className="text-white/60 text-sm">Vapi, MiniMax, Stripe</p>
<div className="bg-slate-800 rounded-xl p-8 border border-slate-700">
<p className="text-slate-400">Loading...</p>
</div>
</div>
</div>
)
);
}
+9 -4
View File
@@ -1,15 +1,20 @@
"use client";
import BackToMC from "@/components/mission-control/BackToMC";
import ExecutionLogsPanel from "@/components/mission-control/ExecutionLogsPanel";
export default function ExecutionLogsPage() {
return (
<>
<div className="min-h-screen bg-slate-950 text-white">
<BackToMC />
<div className="p-6">
<ExecutionLogsPanel />
<div className="mb-6">
<h1 className="text-3xl font-bold text-white mb-2">📊 Execution Logs</h1>
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-xl p-8 border border-slate-700">
<p className="text-slate-400">Loading...</p>
</div>
</div>
</div>
</>
);
}
+6 -6
View File
@@ -4,17 +4,17 @@ import BackToMC from "@/components/mission-control/BackToMC";
export default function HorusAIPage() {
return (
<>
<div className="min-h-screen bg-slate-950 text-white">
<BackToMC />
<div className="p-6">
<div className="mb-8">
<div className="mb-6">
<h1 className="text-3xl font-bold text-white mb-2">🤖 Horus AI</h1>
<p className="text-slate-400">Manage skills, APIs, and automation toggles</p>
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-xl p-8 border border-slate-700">
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-lg p-8 text-center">
<p className="text-slate-400">Horus AI management panel loading...</p>
</div>
</div>
</>
);
}
+6 -6
View File
@@ -4,17 +4,17 @@ import BackToMC from "@/components/mission-control/BackToMC";
export default function HpSubmissionsPage() {
return (
<>
<div className="min-h-screen bg-slate-950 text-white">
<BackToMC />
<div className="p-6">
<div className="mb-6">
<h1 className="text-3xl font-bold text-white mb-2">Hp-submissions</h1>
<p className="text-slate-400">hp-submissions panel</p>
<h1 className="text-3xl font-bold text-white mb-2">📨 HP Submissions</h1>
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-xl p-8 border border-slate-700">
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-lg p-8 text-center">
<p className="text-slate-400">hp-submissions loading...</p>
</div>
</div>
</>
);
}
+7 -5
View File
@@ -19,7 +19,7 @@ export default function LeadsPage() {
};
return (
<>
<div className="min-h-screen bg-slate-950 text-white">
<BackToMC />
<div className="p-6">
<div className="mb-6">
@@ -28,25 +28,27 @@ export default function LeadsPage() {
</div>
<div className="flex gap-2 mb-6">
{["all", "new", "contacted", "qualified"].map(s => (
<button key={s} onClick={() => setFilter(s)} className={`px-4 py-2 rounded-lg text-sm ${filter === s ? "bg-brand-pink text-white" : "bg-slate-800 text-slate-400"}`}>
<button key={s} onClick={() => setFilter(s)} className={`px-4 py-2 rounded-lg text-sm ${filter === s ? "bg-pink-500 text-white" : "bg-slate-800 text-slate-400"}`}>
{s.charAt(0).toUpperCase() + s.slice(1)}
</button>
))}
</div>
<div className="bg-slate-800 rounded-lg overflow-hidden">
<div className="bg-slate-800 rounded-xl overflow-hidden border border-slate-700">
<table className="w-full">
<thead>
<tr className="border-b border-slate-700">
<th className="text-left p-4 text-slate-400">Name</th>
<th className="text-left p-4 text-slate-400">Email</th>
<th className="text-left p-4 text-slate-400">Phone</th>
<th className="text-left p-4 text-slate-400">Status</th>
</tr>
</thead>
<tbody>
{filteredLeads.map(lead => (
<tr key={lead.id} className="border-b border-slate-700/50">
<tr key={lead.id} className="border-b border-slate-700/50 hover:bg-slate-700/30">
<td className="p-4 text-white">{lead.name}</td>
<td className="p-4 text-slate-400">{lead.email}</td>
<td className="p-4 text-slate-400">{lead.phone}</td>
<td className="p-4"><span className={`px-2 py-1 rounded text-xs ${statusColors[lead.status]}`}>{lead.status}</span></td>
</tr>
))}
@@ -54,6 +56,6 @@ export default function LeadsPage() {
</table>
</div>
</div>
</>
</div>
);
}
+6 -6
View File
@@ -4,17 +4,17 @@ import BackToMC from "@/components/mission-control/BackToMC";
export default function MondayPage() {
return (
<>
<div className="min-h-screen bg-slate-950 text-white">
<BackToMC />
<div className="p-6">
<div className="mb-6">
<h1 className="text-3xl font-bold text-white mb-2">Monday</h1>
<p className="text-slate-400">monday panel</p>
<h1 className="text-3xl font-bold text-white mb-2">📅 Monday Board</h1>
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-xl p-8 border border-slate-700">
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-lg p-8 text-center">
<p className="text-slate-400">monday loading...</p>
</div>
</div>
</>
);
}
+6 -6
View File
@@ -4,17 +4,17 @@ import BackToMC from "@/components/mission-control/BackToMC";
export default function OfficePage() {
return (
<>
<div className="min-h-screen bg-slate-950 text-white">
<BackToMC />
<div className="p-6">
<div className="mb-6">
<h1 className="text-3xl font-bold text-white mb-2">Office</h1>
<p className="text-slate-400">office panel</p>
<h1 className="text-3xl font-bold text-white mb-2">🏢 Claw3D Office</h1>
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-xl p-8 border border-slate-700">
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-lg p-8 text-center">
<p className="text-slate-400">office loading...</p>
</div>
</div>
</>
);
}
+6 -6
View File
@@ -4,17 +4,17 @@ import BackToMC from "@/components/mission-control/BackToMC";
export default function PdfViewerPage() {
return (
<>
<div className="min-h-screen bg-slate-950 text-white">
<BackToMC />
<div className="p-6">
<div className="mb-6">
<h1 className="text-3xl font-bold text-white mb-2">Pdf-viewer</h1>
<p className="text-slate-400">pdf-viewer panel</p>
<h1 className="text-3xl font-bold text-white mb-2">📰 PDF Viewer</h1>
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-xl p-8 border border-slate-700">
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-lg p-8 text-center">
<p className="text-slate-400">pdf-viewer loading...</p>
</div>
</div>
</>
);
}
+6 -6
View File
@@ -4,17 +4,17 @@ import BackToMC from "@/components/mission-control/BackToMC";
export default function ProjectsPanelPage() {
return (
<>
<div className="min-h-screen bg-slate-950 text-white">
<BackToMC />
<div className="p-6">
<div className="mb-6">
<h1 className="text-3xl font-bold text-white mb-2">Projects-panel</h1>
<p className="text-slate-400">projects-panel panel</p>
<h1 className="text-3xl font-bold text-white mb-2">📁 Projects Panel</h1>
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-xl p-8 border border-slate-700">
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-lg p-8 text-center">
<p className="text-slate-400">projects-panel loading...</p>
</div>
</div>
</>
);
}
+6 -6
View File
@@ -4,17 +4,17 @@ import BackToMC from "@/components/mission-control/BackToMC";
export default function ResearchPage() {
return (
<>
<div className="min-h-screen bg-slate-950 text-white">
<BackToMC />
<div className="p-6">
<div className="mb-6">
<h1 className="text-3xl font-bold text-white mb-2">Research</h1>
<p className="text-slate-400">research panel</p>
<h1 className="text-3xl font-bold text-white mb-2">🔬 Deep Research</h1>
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-xl p-8 border border-slate-700">
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-lg p-8 text-center">
<p className="text-slate-400">research loading...</p>
</div>
</div>
</>
);
}
+6 -6
View File
@@ -4,17 +4,17 @@ import BackToMC from "@/components/mission-control/BackToMC";
export default function ResumeUploadPage() {
return (
<>
<div className="min-h-screen bg-slate-950 text-white">
<BackToMC />
<div className="p-6">
<div className="mb-6">
<h1 className="text-3xl font-bold text-white mb-2">Resume-upload</h1>
<p className="text-slate-400">resume-upload panel</p>
<h1 className="text-3xl font-bold text-white mb-2">📄 Resume Upload</h1>
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-xl p-8 border border-slate-700">
<p className="text-slate-400">Resume upload loading...</p>
</div>
<div className="bg-slate-800 rounded-lg p-8 text-center">
<p className="text-slate-400">resume-upload loading...</p>
</div>
</div>
</>
);
}
+6 -6
View File
@@ -4,17 +4,17 @@ import BackToMC from "@/components/mission-control/BackToMC";
export default function ResumePage() {
return (
<>
<div className="min-h-screen bg-slate-950 text-white">
<BackToMC />
<div className="p-6">
<div className="mb-6">
<h1 className="text-3xl font-bold text-white mb-2">Resume</h1>
<p className="text-slate-400">resume panel</p>
<h1 className="text-3xl font-bold text-white mb-2">📄 Resume Builder</h1>
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-xl p-8 border border-slate-700">
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-lg p-8 text-center">
<p className="text-slate-400">resume loading...</p>
</div>
</div>
</>
);
}
+6 -6
View File
@@ -4,17 +4,17 @@ import BackToMC from "@/components/mission-control/BackToMC";
export default function SessionsPage() {
return (
<>
<div className="min-h-screen bg-slate-950 text-white">
<BackToMC />
<div className="p-6">
<div className="mb-6">
<h1 className="text-3xl font-bold text-white mb-2">Sessions</h1>
<p className="text-slate-400">sessions panel</p>
<h1 className="text-3xl font-bold text-white mb-2">💬 Sessions</h1>
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-xl p-8 border border-slate-700">
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-lg p-8 text-center">
<p className="text-slate-400">sessions loading...</p>
</div>
</div>
</>
);
}
+6 -6
View File
@@ -4,17 +4,17 @@ import BackToMC from "@/components/mission-control/BackToMC";
export default function SkillsPage() {
return (
<>
<div className="min-h-screen bg-slate-950 text-white">
<BackToMC />
<div className="p-6">
<div className="mb-6">
<h1 className="text-3xl font-bold text-white mb-2">Skills</h1>
<p className="text-slate-400">skills panel</p>
<h1 className="text-3xl font-bold text-white mb-2">🎯 Skills Panel</h1>
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-xl p-8 border border-slate-700">
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-lg p-8 text-center">
<p className="text-slate-400">skills loading...</p>
</div>
</div>
</>
);
}
+6 -6
View File
@@ -4,17 +4,17 @@ import BackToMC from "@/components/mission-control/BackToMC";
export default function SystemStatusPage() {
return (
<>
<div className="min-h-screen bg-slate-950 text-white">
<BackToMC />
<div className="p-6">
<div className="mb-6">
<h1 className="text-3xl font-bold text-white mb-2">System-status</h1>
<p className="text-slate-400">system-status panel</p>
<h1 className="text-3xl font-bold text-white mb-2">📡 System Status</h1>
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-xl p-8 border border-slate-700">
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-lg p-8 text-center">
<p className="text-slate-400">system-status loading...</p>
</div>
</div>
</>
);
}
+6 -6
View File
@@ -4,17 +4,17 @@ import BackToMC from "@/components/mission-control/BackToMC";
export default function TaskHistoryPage() {
return (
<>
<div className="min-h-screen bg-slate-950 text-white">
<BackToMC />
<div className="p-6">
<div className="mb-6">
<h1 className="text-3xl font-bold text-white mb-2">Task-history</h1>
<p className="text-slate-400">task-history panel</p>
<h1 className="text-3xl font-bold text-white mb-2">📜 Task History</h1>
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-xl p-8 border border-slate-700">
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-lg p-8 text-center">
<p className="text-slate-400">task-history loading...</p>
</div>
</div>
</>
);
}
+2 -2
View File
@@ -23,7 +23,7 @@ export default function TasksPage() {
};
return (
<>
<div className="min-h-screen bg-slate-950 text-white">
<BackToMC />
<div className="p-6">
<div className="mb-6">
@@ -32,6 +32,6 @@ export default function TasksPage() {
</div>
<TaskCardsPanel tasks={tasks} toggleTask={toggleTask} />
</div>
</>
</div>
);
}
+6 -6
View File
@@ -4,17 +4,17 @@ import BackToMC from "@/components/mission-control/BackToMC";
export default function TemplePage() {
return (
<>
<div className="min-h-screen bg-slate-950 text-white">
<BackToMC />
<div className="p-6">
<div className="mb-6">
<h1 className="text-3xl font-bold text-white mb-2">Temple</h1>
<p className="text-slate-400">temple panel</p>
<h1 className="text-3xl font-bold text-white mb-2">🏛 Temple of AI</h1>
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-xl p-8 border border-slate-700">
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-lg p-8 text-center">
<p className="text-slate-400">temple loading...</p>
</div>
</div>
</>
);
}
+6 -6
View File
@@ -4,17 +4,17 @@ import BackToMC from "@/components/mission-control/BackToMC";
export default function TradingChartPage() {
return (
<>
<div className="min-h-screen bg-slate-950 text-white">
<BackToMC />
<div className="p-6">
<div className="mb-6">
<h1 className="text-3xl font-bold text-white mb-2">Trading-chart</h1>
<p className="text-slate-400">trading-chart panel</p>
<h1 className="text-3xl font-bold text-white mb-2">📈 Trading Chart</h1>
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-xl p-8 border border-slate-700">
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-lg p-8 text-center">
<p className="text-slate-400">trading-chart loading...</p>
</div>
</div>
</>
);
}
+6 -6
View File
@@ -4,17 +4,17 @@ import BackToMC from "@/components/mission-control/BackToMC";
export default function TradingReportsPage() {
return (
<>
<div className="min-h-screen bg-slate-950 text-white">
<BackToMC />
<div className="p-6">
<div className="mb-6">
<h1 className="text-3xl font-bold text-white mb-2">Trading-reports</h1>
<p className="text-slate-400">trading-reports panel</p>
<h1 className="text-3xl font-bold text-white mb-2">📔 Trading Reports</h1>
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-xl p-8 border border-slate-700">
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-lg p-8 text-center">
<p className="text-slate-400">trading-reports loading...</p>
</div>
</div>
</>
);
}
+6 -6
View File
@@ -4,17 +4,17 @@ import BackToMC from "@/components/mission-control/BackToMC";
export default function TradingToolsPage() {
return (
<>
<div className="min-h-screen bg-slate-950 text-white">
<BackToMC />
<div className="p-6">
<div className="mb-6">
<h1 className="text-3xl font-bold text-white mb-2">Trading-tools</h1>
<p className="text-slate-400">trading-tools panel</p>
<h1 className="text-3xl font-bold text-white mb-2">🛠 Trading Tools</h1>
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-xl p-8 border border-slate-700">
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-lg p-8 text-center">
<p className="text-slate-400">trading-tools loading...</p>
</div>
</div>
</>
);
}
+6 -6
View File
@@ -4,17 +4,17 @@ import BackToMC from "@/components/mission-control/BackToMC";
export default function TranscriptsPage() {
return (
<>
<div className="min-h-screen bg-slate-950 text-white">
<BackToMC />
<div className="p-6">
<div className="mb-6">
<h1 className="text-3xl font-bold text-white mb-2">Transcripts</h1>
<p className="text-slate-400">transcripts panel</p>
<h1 className="text-3xl font-bold text-white mb-2">📹 Transcripts</h1>
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-xl p-8 border border-slate-700">
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-lg p-8 text-center">
<p className="text-slate-400">transcripts loading...</p>
</div>
</div>
</>
);
}
+6 -6
View File
@@ -4,17 +4,17 @@ import BackToMC from "@/components/mission-control/BackToMC";
export default function VoicePage() {
return (
<>
<div className="min-h-screen bg-slate-950 text-white">
<BackToMC />
<div className="p-6">
<div className="mb-6">
<h1 className="text-3xl font-bold text-white mb-2">Voice</h1>
<p className="text-slate-400">voice panel</p>
<h1 className="text-3xl font-bold text-white mb-2">🎤 Voice Chat</h1>
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-xl p-8 border border-slate-700">
<p className="text-slate-400">Loading...</p>
</div>
<div className="bg-slate-800 rounded-lg p-8 text-center">
<p className="text-slate-400">voice loading...</p>
</div>
</div>
</>
);
}
+35
View File
@@ -0,0 +1,35 @@
"use client";
// Dark theme wrapper for all Mission Control pages
// Ensures consistent dark styling across all pages
export default function MCPage({
children,
title,
icon,
description
}: {
children: React.ReactNode;
title: string;
icon?: string;
description?: string;
}) {
return (
<div className="min-h-screen bg-slate-950 text-white">
<div className="p-6">
{title && (
<div className="mb-6">
<h1 className="text-3xl font-bold text-white flex items-center gap-3">
{icon && <span>{icon}</span>}
<span>{title}</span>
</h1>
{description && (
<p className="text-slate-400 mt-1">{description}</p>
)}
</div>
)}
{children}
</div>
</div>
);
}