feat(mission-control): add BackToMC button to all pages
- Created BackToMC component - Added to all 27 mission control pages - Each page now has '← Back to Mission Control' button at top - Also pushed beta to develop to sync branches
This commit is contained in:
@@ -1,24 +1,20 @@
|
||||
"use client";
|
||||
|
||||
import BackToMC from "@/components/mission-control/BackToMC";
|
||||
|
||||
export default function OfficePage() {
|
||||
return (
|
||||
<div className="min-h-screen bg-slate-950 flex flex-col">
|
||||
{/* Header */}
|
||||
<div className="bg-slate-900 border-b border-slate-800 px-6 py-4 flex-shrink-0">
|
||||
<h1 className="text-2xl font-bold text-white">🏢 Claw3D Office</h1>
|
||||
<p className="text-slate-400 text-sm">3D workspace for AI agents</p>
|
||||
<>
|
||||
<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>
|
||||
</div>
|
||||
<div className="bg-slate-800 rounded-lg p-8 text-center">
|
||||
<p className="text-slate-400">office loading...</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Claw3D Embed - via Apache proxy over HTTPS */}
|
||||
<div className="flex-1 relative">
|
||||
<iframe
|
||||
src="https://sitemente.com/claw3d/office"
|
||||
className="absolute inset-0 w-full h-full border-0"
|
||||
title="Claw3D Office"
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
||||
sandbox="allow-scripts allow-same-origin allow-popups allow-forms"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user