mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-08-29 01:35:39 -04:00
- Delete `components/mobile-tab-bar.tsx`; co-locate `MobileTabBar` export in `nav-bar.tsx` so both nav components share helpers - Extract `isLinkActive` helper used by both desktop and mobile nav; fixes `/dashboard` active match when pathname is `/` - Replace `layoutId`-based Framer Motion indicators with a `useActiveIndicator` hook that measures DOM rects via `ResizeObserver`, animating `left`/`width` directly — avoids cross-tree layout ID conflicts and correctly handles breakpoint visibility changes - Add `aria-current="page"`, `aria-label="Primary"`, and `focus-visible` ring styles to nav links and tab bar items - Update layout import to pull both exports from `@/components/nav-bar`