1
0
Fork 0
Commit graph

19 commits

Author SHA1 Message Date
Enoch Riese
5cb68f50de deepscan fixes 2023-07-18 23:27:10 -06:00
Enoch Riese
36b28a8f93 lint fixes 2023-07-18 23:14:09 -06:00
Enoch Riese
9e1431d554 convert blog and showcase pages to dynamic mdx loading 2023-07-17 20:10:08 -05:00
Enoch Riese
8a4c558cee more contained fixes to docs 2023-07-17 11:40:45 -05:00
joostdecock
c3b3c34c1e chore(org): Linter fix 2023-06-17 17:52:36 +02:00
joostdecock
cfbdf7dac8 fix(org): Bring back table of contents 2023-06-17 17:49:58 +02:00
joostdecock
4a5b80afe4 chore(org): Linter fixes 2023-05-20 14:28:15 +02:00
joostdecock
e2bf337bb2 fix(org): Load MDX dynamically to reduce the number of routes
Prior to this commit we'd generate a page for each MDX document as that
avoids having to load MDX dynamically (which can be tricky) or through
static props (which causes issues with serialization).

However, Vercel (which hosts for us) has an upper limit on the number of
routes, and because of this extensive documentation, we blew passed it
with this approach.

This changes to a dynamic resolution of MDX content with an async import
in the useEffect hook. This should drastically reduce the number of
routes and make Vercel happy.

I didn't do much digging into the effects of this on SSR. If it turns
out it's causes issues, we'll deal with it at that time.
2023-05-20 14:06:39 +02:00
joostdecock
0b238c989e wip(shared): Switched to webpack loader for MDX 2023-05-15 15:57:46 +02:00
Joost De Cock
e47c18177b wip(shared): Removed useApp hook in favor of contexts
This removes the useApp hook from all org pages in favor of various
context. This means there is no longer global state that gets passed
around, instead each component that requires access to something shared
(like account, or navigation) can just use the context instead.

This is a first step, as a lot of shared components stil rely on app not
to mention the dev and lab sites.
2023-04-28 21:23:06 +02:00
joostdecock
33c609c886 chore: Linter warnings 2023-04-16 17:13:18 +02:00
joostdecock
86a5a8765b wip(org): Work on modal menus 2023-04-16 16:19:49 +02:00
joostdecock
dbab735eeb wip(shared): Work on modal menu 2023-04-09 15:57:25 +02:00
Joost De Cock
995bb23551 wip(shared): Nav prebuild changes 2023-03-28 16:47:52 +02:00
Joost De Cock
9e3861b009 chore(shared): Moved account components to allowed shared access 2023-03-27 19:07:48 +02:00
Joost De Cock
264e7a0b9d chore(org): Moved useApp hook to shared hook 2023-03-24 21:49:37 +01:00
Joost De Cock
7348f6812a wip(shared): Work on refactoring hooks 2023-03-24 17:43:38 +01:00
joostdecock
c8ce8030f4 fix(org): Build fixes 2023-02-05 16:49:36 +01:00
joostdecock
595417a23b feat(org): Ported components to mjs and named exports 2023-01-29 16:44:02 +01:00
Renamed from sites/org/pages/docs/index.js (Browse further)