Skip to content

feat(app): bigger box-free Tangle logo + collapsible sidebar (arena-style)#28

Merged
drewstone merged 1 commit into
mainfrom
feat/ui-sidebar-logo
Jun 14, 2026
Merged

feat(app): bigger box-free Tangle logo + collapsible sidebar (arena-style)#28
drewstone merged 1 commit into
mainfrom
feat/ui-sidebar-logo

Conversation

@drewstone

Copy link
Copy Markdown
Contributor

Two sidebar fixes to match the ai-trading-blueprint arena shell.

1. Logo — bigger, no box

The Tangle mark was a 24px glyph inside a 34px tinted/bordered chip — small and "in a little box." Dropped the chip; the mark now stands alone at 38px with a 20px wordmark (collapsed rail uses a bare 30px mark). TangleLogo.tsx.

2. Sidebar — collapsible/expandable

Ported the arena pattern into our design system (Shell.tsx):

  • Width animates w-60 ↔ w-16 (transition-[width] duration-200).
  • State persisted to localStorage (surplus:sidebar-collapsed).
  • caret-left button collapses; collapsed shows the mark with a hover/focus-revealed caret-right to expand.
  • Nav becomes an icon-only rail (labels move to native title tooltips); the Base Sepolia footer collapses to a single status chip.

Verification

Built + screenshotted both states headlessly:

  • Expanded — larger box-free logo, collapse caret top-right, full nav.
  • Collapsed — 64px icon rail, mark on top, icon-only nav with active accent, footer chip.

pnpm typecheck + pnpm build clean. Desktop-only sidebar (mobile uses the existing top bar + drawer, which now shows the larger logo).

Ships to surplus-market.pages.dev once #26 (auto-deploy) lands; until then via the manual deploy path.

🤖 Generated with Claude Code

…tyle)

The sidebar logo sat as a 24px mark inside a 34px tinted/bordered chip — small
and boxed. Drop the chip; render the Tangle mark standalone at 38px with a 20px
wordmark, matching the ai-trading-blueprint arena shell. `compact` is the bare
30px mark for the collapsed rail.

Make the desktop sidebar collapsible like the arena shell: width animates
w-60 <-> w-16 (transition-[width] duration-200), state persisted to
localStorage (surplus:sidebar-collapsed). A caret-left button collapses;
collapsed shows the mark with a hover/focus-revealed caret-right to expand. Nav
items become an icon-only rail (label moves to the native title tooltip) and the
Base Sepolia footer collapses to a single status chip.

Verified both states via headless screenshots (expanded + collapsed icon rail).
@drewstone drewstone merged commit d608ebb into main Jun 14, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant