frontend: the swarm UI's page chrome moves to @hive/shared as AppShell
The header bar, the nav row with its sliding underline, the settings menu slot, the skip link and the content column move out of the swarm UI's Shell into a router-free AppShell in @hive/shared, with their CSS. It takes the brand, the nav items, the current location and the link component, plus slots for extra tabs, settings entries and menus. The swarm UI's Shell keeps what is its own on top of it: the open agent-terminal tabs (their CSS moves to DynamicTabs.css), the swarm's settings, links and user menus, the swarm name and the full-bleed routes. No visible change; this is the base for the hive UI to reuse the same chrome.
This commit is contained in:
parent
1a4f35f669
commit
c6f8f26b16
1 changed files with 604 additions and 530 deletions
|
|
@ -1,6 +1,6 @@
|
|||
/* <Skeleton>: a tinted shape with a light band moving across it. Motion
|
||||
follows the page's setting, the same three rules the page switch uses
|
||||
(`shell/Shell.css`): off for an OS that asks for less motion, off when the
|
||||
(`app-shell/AppShell.css`): off for an OS that asks for less motion, off when the
|
||||
setting says reduce, back on when the setting says allow. Where it is off
|
||||
the shape is a plain tinted block. */
|
||||
.ui-skeleton {
|
||||
|
|
|
|||
Loading…
Reference in a new issue