Jacky Zhao
f97aee238b
perf: compute mapping of folder name to file data for faster breadcrumbs
2023-11-11 21:06:37 -08:00
Jacky Zhao
f99e83267e
style + cfg: resolve breadcrumb titles by default and change arrow character
2023-11-11 20:46:29 -08:00
Ben Schlegel
99deff9a6e
fix(breadcrumbs): problem with folder whitespace ( #522 )
...
* fix(breadcrumbs): problem with folder whitespace
use slugs for folder hrefs so folder paths get resolved properly
* feat: only use `slug` for constructing crumbs
* fix: remove capitalization
2023-10-05 09:19:56 -07:00
Luca Salvarani
08ee858830
fix: Fix Backlinks
not applying the display class ( #519 )
...
* fix: Fix `Backlinks` not applying the display class
Fix #518
* fix: Apply `displayClass` to all layout components
* refactor: Use same style
* fix: Remove `undefined` class using coalescing operator
2023-10-01 17:20:55 -07:00
Ben Schlegel
12664ae596
feat: implement breadcrumb component ( #508 )
...
* feat: implement breadcrumbs
* style: fix styling, move breadcrumbs to top
* refactor: move `capitalize to `lang.ts``
* refactor: clean breadcrumb generation
* feat: add options to breadcrumbs
* feat: implement `resolveFrontmatterTitle`
* feat: add `hideOnRoot` option
* feat(consistency): capitalize every crumb
* style: add `flex-wrap` to parent container
* refactor: clean `Breadcrumbs.tsx`
* feat(accessibility): use `nav`, add aria label
* style: improve look in popovers by adding margin
* docs: write docs for breadcrumb component
* refactor: collapse `if` condition for hideOnRoot
* chore: add todo for perf optimization
* docs: update introduction
2023-09-29 10:26:15 +02:00