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:
2026-03-23 18:26:37 +01:00
parent 2cee0e6513
commit 00908900c8
28 changed files with 364 additions and 1561 deletions
+11 -7
View File
@@ -1,7 +1,8 @@
"use client";
import BackToMC from "@/components/mission-control/BackToMC";
import { TaskCardsPanel } from "@/components/mission-control/TaskCardsPanel";
import { useState, useEffect } from "react";
import { useState } from "react";
import { Task, TaskStatus } from "@/lib/mission-control/types";
const SAMPLE_TASKS: Task[] = [
@@ -22,12 +23,15 @@ export default function TasksPage() {
};
return (
<div className="p-6">
<div className="mb-6">
<h1 className="text-3xl font-bold text-white mb-2">📋 Task Board</h1>
<p className="text-slate-400">Manage tasks across all projects</p>
<>
<BackToMC />
<div className="p-6">
<div className="mb-6">
<h1 className="text-3xl font-bold text-white mb-2">📋 Task Board</h1>
<p className="text-slate-400">Manage tasks across all projects</p>
</div>
<TaskCardsPanel tasks={tasks} toggleTask={toggleTask} />
</div>
<TaskCardsPanel tasks={tasks} toggleTask={toggleTask} />
</div>
</>
);
}