Commit e8aae22
committed
Update package logo
Added the logo to the version landing page and kept it theme-aware.
What changed:
- Inserted the brand logo above the hero title in metbit/docs/app/docs/[version]/page.tsx:29.
- Fixed the logo component so light theme uses Metbit-logo-light-mode.svg and dark theme uses Metbit-logo-dark-mode.svg in metbit/docs/app/components/MetbitMark.tsx:1.
- Added sizing for the hero placement in metbit/docs/app/globals.css:286.
- Kept the topbar brand accessible with an explicit label in metbit/docs/app/components/VersionedDocsShell.tsx:60.
Verified:
- npm run lint passed.
- npm run build passed.
Updated:
- Increased the top-left logo size in the header.
- Shifted the Install / User Guide / API / Release history nav closer to the logo by tightening topbar spacing.
- Expanded the left sidebar width.
- Made the left sidebar extend with the full page instead of stopping at the viewport.
- Widened the main content/footer canvas so the page carries through to the footer more naturally.
Key CSS changes are in metbit/docs/app/globals.css:264.
Verified:
- npm run lint passed.
- npm run build passed.1 parent eba1fa0 commit e8aae22
13 files changed
Lines changed: 99 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
7 | 25 | | |
8 | 26 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
61 | 65 | | |
62 | | - | |
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
| 270 | + | |
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | | - | |
| 282 | + | |
283 | 283 | | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | 284 | | |
288 | 285 | | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
296 | 325 | | |
297 | 326 | | |
298 | 327 | | |
| |||
415 | 444 | | |
416 | 445 | | |
417 | 446 | | |
418 | | - | |
| 447 | + | |
| 448 | + | |
419 | 449 | | |
420 | 450 | | |
421 | 451 | | |
422 | 452 | | |
423 | 453 | | |
424 | 454 | | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
429 | 458 | | |
430 | 459 | | |
431 | 460 | | |
| |||
482 | 511 | | |
483 | 512 | | |
484 | 513 | | |
485 | | - | |
| 514 | + | |
486 | 515 | | |
487 | 516 | | |
488 | 517 | | |
489 | 518 | | |
490 | | - | |
| 519 | + | |
491 | 520 | | |
492 | 521 | | |
493 | 522 | | |
| |||
687 | 716 | | |
688 | 717 | | |
689 | 718 | | |
690 | | - | |
| 719 | + | |
691 | 720 | | |
692 | 721 | | |
693 | 722 | | |
| |||
708 | 737 | | |
709 | 738 | | |
710 | 739 | | |
711 | | - | |
| 740 | + | |
712 | 741 | | |
713 | 742 | | |
714 | 743 | | |
| |||
816 | 845 | | |
817 | 846 | | |
818 | 847 | | |
819 | | - | |
| 848 | + | |
820 | 849 | | |
821 | 850 | | |
822 | 851 | | |
| |||
838 | 867 | | |
839 | 868 | | |
840 | 869 | | |
841 | | - | |
| 870 | + | |
| 871 | + | |
842 | 872 | | |
843 | 873 | | |
844 | 874 | | |
| |||
847 | 877 | | |
848 | 878 | | |
849 | 879 | | |
| 880 | + | |
850 | 881 | | |
851 | 882 | | |
852 | 883 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
Loading
Loading
Loading
0 commit comments