Commit Graph

6 Commits

Author SHA1 Message Date
dan
c9e2e39940 [Beta] Refactor navigation logic (#5492)
* Pass route lists explicitly

* Inline MarkdownPage into Page

* Pass breadcrumbs from above

* Remove state from router utils

* Pass section from above
2023-01-23 22:59:55 +00:00
dan
c79307666b [Beta] APIs -> Reference (#5400)
* [Beta] APIs -> Reference

* oops
2022-12-25 21:01:34 +00:00
dan
1a641bb88e [Beta] Revamp navigation (#5287)
* [Beta] Split API reference

* Learn | Hooks | APIs

* tsc

* nav changes

* redirects and url changes

* twk

* alt take

* fix;

* wip

* nav?

* tsc

* twk

* tweaks

* index pages

* cleanup

* undo changes

* edits

* edits
2022-11-25 20:13:59 +00:00
dan
4c37115f3f [Beta] Code style tweaks (#5104)
* Use named React imports

* More manual edits

* Remove displayNames

* rm dead code
2022-09-24 12:30:19 +01:00
dan
6e21a2e5a8 [Beta] Move from MDX loader to getStaticPaths (#4990)
* Move Markdown from src/pages to src/content

* Use getStaticProps

* Fix Fast Refresh

* Clean up

* rm unused

* Fixes
2022-09-05 22:42:29 +01:00
Yousef M. El-Gohary
9721c9d11d Add loading indicator to sidebar links (#4693)
* add loading indicator to sidebar links

* fix clicking on same route whould show indicator

* maybe final?

* handle routeChangeError as well as cleaning up timeout

* clearing timeout before creating one instead of routeChangeError

* rm unused

* add license header

* Update usePendingRoute.ts

Co-authored-by: dan <dan.abramov@gmail.com>
2022-05-27 14:18:32 +01:00