diff --git a/web/README.md b/web/README.md index 5bfef98..f70945e 100644 --- a/web/README.md +++ b/web/README.md @@ -58,6 +58,15 @@ it also works as a project switcher from anywhere. `` remounts the view on every path change so switching projects always does a fresh load. +Below `768px` (`style.css`'s one layout breakpoint) the sidebar becomes an +off-canvas drawer instead of sitting beside the page: `position: fixed`, +translated out of view by default, slid in via a `.sidebar--open` class. +`App.vue` owns the `drawerOpen` state -- a `☰` button in the header (hidden +above the breakpoint) opens it; a backdrop tap, the drawer's own `✕` (which +`AppSidebar` emits `close` for), or any navigation (a `route.fullPath` +watcher) closes it. Above the breakpoint `drawerOpen` just goes unused, since +nothing renders the button that would set it. + `/` redirects to `/dashboard` (`DashboardView.vue`): a full-width grid linking to each project (title + card count), with a **"Create a project" tile** styled to match sitting last in the same grid (creating one stays on the diff --git a/web/src/App.vue b/web/src/App.vue index 5322d62..10dda13 100644 --- a/web/src/App.vue +++ b/web/src/App.vue @@ -1,5 +1,5 @@