feat: add board list home screen with new board dialog and context menu
This commit is contained in:
12
src/App.tsx
12
src/App.tsx
@@ -1,6 +1,8 @@
|
||||
import { useEffect } from "react";
|
||||
import { useAppStore } from "@/stores/app-store";
|
||||
import { AppShell } from "@/components/layout/AppShell";
|
||||
import { BoardList } from "@/components/boards/BoardList";
|
||||
import { BoardView } from "@/components/board/BoardView";
|
||||
|
||||
export default function App() {
|
||||
const initialized = useAppStore((s) => s.initialized);
|
||||
@@ -23,15 +25,7 @@ export default function App() {
|
||||
|
||||
return (
|
||||
<AppShell>
|
||||
{view.type === "board-list" ? (
|
||||
<div className="flex h-full items-center justify-center text-pylon-text-secondary">
|
||||
Board List
|
||||
</div>
|
||||
) : (
|
||||
<div className="flex h-full items-center justify-center text-pylon-text-secondary">
|
||||
Board View
|
||||
</div>
|
||||
)}
|
||||
{view.type === "board-list" ? <BoardList /> : <BoardView />}
|
||||
</AppShell>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user