diff --git a/frontend/public/logo.png b/frontend/public/logo.png new file mode 100644 index 0000000..b0c8793 Binary files /dev/null and b/frontend/public/logo.png differ diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 7824120..4977bcc 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -20,7 +20,6 @@ export default function App() { .catch(() => setLoading(false)) }, []) - // Global keyboard shortcuts useEffect(() => { const handler = (e) => { if (['INPUT','TEXTAREA','SELECT'].includes(e.target.tagName)) return @@ -41,10 +40,34 @@ export default function App() { { newProjectFn.current = fn }} /> - {/* Sidebar toggle tab */} - {/* Main content */} diff --git a/frontend/src/components/Projects/ProjectList.jsx b/frontend/src/components/Projects/ProjectList.jsx index a7be12a..b94bdec 100644 --- a/frontend/src/components/Projects/ProjectList.jsx +++ b/frontend/src/components/Projects/ProjectList.jsx @@ -8,10 +8,10 @@ import useUIStore from '../../store/useUIStore' import { deleteProject } from '../../api/projects' export default function ProjectList({ onRegisterNewProject }) { - const { projects, removeProject } = useProjectStore() - const { sidebarTab, setSidebarTab } = useUIStore() - const [showModal, setShowModal] = useState(false) - const [editing, setEditing] = useState(null) + const { projects, removeProject } = useProjectStore() + const { sidebarTab, setSidebarTab } = useUIStore() + const [showModal, setShowModal] = useState(false) + const [editing, setEditing] = useState(null) useEffect(() => { onRegisterNewProject?.(() => setShowModal(true)) }, [onRegisterNewProject]) @@ -25,10 +25,22 @@ export default function ProjectList({ onRegisterNewProject }) { return (
- {/* Header */} -
-

FabDash

- + + {/* Header — logo + wordmark + new project button */} +
+ FabDash logo { e.target.style.display = 'none' }} + /> +
+ FabDash + Fabrication Dashboard +
+
+ +
{/* Tab toggle */} @@ -73,9 +85,9 @@ export default function ProjectList({ onRegisterNewProject }) { )}
- {/* Keyboard shortcuts legend */} + {/* Keyboard shortcut legend */}
- {[['N','New project'],['B','Toggle sidebar'],['←→','Navigate'],['T','Today']].map(([key, desc]) => ( + {[['N','New'],['B','Sidebar'],['← →','Navigate'],['T','Today']].map(([key, desc]) => ( {key} {desc}