1
This commit is contained in:
28
src/pages/EditDashboard.tsx
Normal file
28
src/pages/EditDashboard.tsx
Normal file
@@ -0,0 +1,28 @@
|
||||
import { Link } from 'react-router-dom'
|
||||
import { ArrowLeft, Settings } from 'lucide-react'
|
||||
|
||||
/** 编辑面板占位页,/edit 路由 */
|
||||
export function EditDashboard() {
|
||||
return (
|
||||
<div className="min-h-screen bg-military-dark font-db text-military-text-primary">
|
||||
<header className="sticky top-0 z-10 flex items-center justify-between border-b border-military-border bg-military-panel/95 px-4 py-3">
|
||||
<div className="flex items-center gap-4">
|
||||
<Link
|
||||
to="/"
|
||||
className="flex items-center gap-2 rounded border border-military-border px-3 py-1.5 text-sm text-military-text-secondary hover:bg-military-border/30 hover:text-military-text-primary"
|
||||
>
|
||||
<ArrowLeft className="h-4 w-4" />
|
||||
返回主面板
|
||||
</Link>
|
||||
<span className="flex items-center gap-2 text-lg">
|
||||
<Settings className="h-5 w-5 text-cyan-400" />
|
||||
编辑面板
|
||||
</span>
|
||||
</div>
|
||||
</header>
|
||||
<main className="p-4 text-military-text-secondary">
|
||||
<p>编辑功能开发中。</p>
|
||||
</main>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user