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,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>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user