Commit Graph
3 Commits
Author SHA1 Message Date
4e5d2cb187 docs: add local development section to auth hooks (#21122)
* docs: add local development section to auth hooks

* Update apps/docs/content/guides/auth/auth-hooks.mdx

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

---------

Co-authored-by: joel <joel@joels-MacBook-Pro.local>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-02-09 10:07:14 +08:00
Jon Meyers 62720c4e35 Chore: Improve Next.js Auth guide (#21104)
* revert name of token route to auth/confirm/

* add images to middleware matcher
2024-02-08 14:55:30 +11:00
Charis e20038e2f2 refactor: move auth guides into content directory (#20777)
Begin the process of moving our MDX files into their own content directory.

Fixed a few minor bugs re: ToC and tabs not rerendering consistently on page navigation. (The ToC thing wasn't a problem before the refactor, the tabs thing is a problem on prod.)

Moved MDX files can't import their own components, so everything they require needs to be back in the component prop for mdx-remote's serializer. Cleaned this up a bit and lazy-loaded heavy/rare stuff. Also, the component prop doesn't take arbitrary objects (only actual components), so imported data has to be wrapped in a component.
2024-02-07 17:25:08 +00:00