1
0
Fork 0
Commit graph

13 commits

Author SHA1 Message Date
Enoch Riese
e9d21ddd62 shared components and utils for sanity pages 2023-06-19 16:27:13 -05:00
Enoch Riese
39655daf6a rudimentary implementation of blog pages 2023-06-17 17:00:10 -05:00
Joost De Cock
b3b5d225b8 feat(dev): Re-implemented search 2023-05-24 16:18:59 +02:00
Joost De Cock
7d495d9a43 fix(shared): Bug in git last update component 2023-05-23 11:08:24 +02:00
Joost De Cock
a7193c6a24 fix(dev): Tweaks for mobile 2023-05-22 20:08:57 +02:00
joostdecock
a4f192e090 fix(dev): 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 13:22:36 +02:00
joostdecock
c11a29e28a chore(shared): Fix linter warnings in sites/shared 2023-05-19 18:15:06 +02:00
joostdecock
c9159d05c6 fix(shared): Tweak opacity for MDX metadata 2023-05-17 10:56:42 +02:00
Joost De Cock
5b12ea49ec feat(shared): Add git info to prebuild step 2023-05-17 10:53:41 +02:00
joostdecock
4fae3a425f feat(dev): Ported dev site to new v3 site framework 2023-05-16 10:34:13 +02:00
joostdecock
9cf7de9a0b wip(shared): Work on MDX wrapper 2023-05-15 20:00:45 +02:00
joostdecock
0b238c989e wip(shared): Switched to webpack loader for MDX 2023-05-15 15:57:46 +02:00
joostdecock
595417a23b feat(org): Ported components to mjs and named exports 2023-01-29 16:44:02 +01:00
Renamed from sites/shared/components/wrappers/mdx.js (Browse further)