Commit c3ebb6b
fix(layout): route-split _app so UX Core pages use UX Core's own Layout
Post-consolidation regression: every page was wrapped in @layouts/Layout
(keepsimple parent Header), including /uxcore /uxcg /uxcat /uxcp /uxcore-api.
UX Core has its own @uxcore/layouts/Layout (ToolHeader + UX Core nav) that
was never reached.
Switch on router.pathname inside _app.tsx: UX Core routes mount UX Core's
Layout, everything else continues to mount keepsimple's Layout. No deeper
context bridge yet; the safe-default Proxy on the UX Core GlobalContext
keeps ToolHeader rendering even without a real Provider.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 72cb6b7 commit c3ebb6b
1 file changed
Lines changed: 17 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
226 | 227 | | |
227 | 228 | | |
228 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
229 | 237 | | |
230 | 238 | | |
231 | 239 | | |
| |||
297 | 305 | | |
298 | 306 | | |
299 | 307 | | |
300 | | - | |
301 | | - | |
302 | | - | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
303 | 317 | | |
304 | 318 | | |
305 | 319 | | |
| |||
0 commit comments