1
0
Fork 0
Commit graph

57671 commits

Author SHA1 Message Date
joostdecock
d8987264f7 chore(sites): Skip OG for now 2023-05-20 15:22:29 +02:00
joostdecock
054f34b8c0 fix(sites): Build dependencies prior to building sites 2023-05-20 15:18:10 +02:00
joostdecock
ce556a4664 chore(shared): Disable search for now 2023-05-20 14:55:16 +02:00
joostdecock
0dc94658fd fix(shared): Issue with theme caused by linter fix 2023-05-20 14:47:29 +02:00
joostdecock
901422cf4e chore(org): Linter fixes 2023-05-20 14:44:38 +02:00
joostdecock
e027d560f8 chore(org): Linter fixes 2023-05-20 14:38:09 +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
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
Joost De Cock
eeae21ab20
Merge pull request #4082 from freesewing/dependabot/npm_and_yarn/react-hot-toast-2.4.1
chore(deps): bump react-hot-toast from 2.4.0 to 2.4.1
2023-05-20 12:28:04 +02:00
Joost De Cock
e827020f01
Merge pull request #4083 from freesewing/dependabot/npm_and_yarn/prisma-4.14.1
chore(deps-dev): bump prisma from 4.14.0 to 4.14.1
2023-05-20 12:27:52 +02:00
Joost De Cock
ab506dadeb New translations en.md (Spanish) 2023-05-20 10:41:54 +02:00
Joost De Cock
e18a275724 New translations en.md (Spanish) 2023-05-20 10:36:27 +02:00
Joost De Cock
c6a6abe304 New translations en.md (Spanish) 2023-05-20 10:36:26 +02:00
Joost De Cock
bb746a54db New translations en.md (Spanish) 2023-05-20 10:36:24 +02:00
Joost De Cock
d35387d47f New translations en.md (Spanish) 2023-05-20 10:36:23 +02:00
Joost De Cock
800968bafe New translations cutlist.yaml (Spanish) 2023-05-20 10:36:20 +02:00
Joost De Cock
129a141997 New translations susi.yaml (Spanish) 2023-05-20 10:36:19 +02:00
Joost De Cock
8fbfcefbd8 New translations octoplushy.yml (Spanish) 2023-05-20 10:36:18 +02:00
Joost De Cock
0b6e155e8e New translations en.md (Spanish) 2023-05-20 10:36:17 +02:00
Joost De Cock
a0dbf1cb4e New translations noble.yml (Spanish) 2023-05-20 10:36:16 +02:00
Joost De Cock
eb4488f622 New translations lucy.yml (Spanish) 2023-05-20 10:36:15 +02:00
Joost De Cock
c780c9d541 New translations bob.yml (Spanish) 2023-05-20 10:36:15 +02:00
Joost De Cock
14221ef502 New translations patrons.yaml (Spanish) 2023-05-20 10:36:13 +02:00
Joost De Cock
98225cca06 New translations themes.yaml (Spanish) 2023-05-20 10:36:11 +02:00
Joost De Cock
af2c218a8e New translations common.yaml (Spanish) 2023-05-20 10:36:10 +02:00
Joost De Cock
e898a8fe29 New translations workbench.yaml (Spanish) 2023-05-20 10:36:09 +02:00
Joost De Cock
c97aaac592 New translations en.md (Spanish) 2023-05-20 10:36:08 +02:00
Joost De Cock
d8bd1d3567 New translations en.md (Spanish) 2023-05-20 10:36:06 +02:00
Joost De Cock
1f23e1d03a New translations bee.yml (Spanish) 2023-05-20 10:36:04 +02:00
Joost De Cock
92407b1674 New translations en.md (Spanish) 2023-05-20 10:36:03 +02:00
Joost De Cock
4a6304f434 New translations en.md (Spanish) 2023-05-20 10:36:02 +02:00
Joost De Cock
1941b63022 New translations en.md (Spanish) 2023-05-20 10:35:57 +02:00
Joost De Cock
549090966e New translations en.md (Spanish) 2023-05-20 10:35:54 +02:00
Joost De Cock
5ce4ebb5a5 New translations en.md (Spanish) 2023-05-20 10:35:53 +02:00
Joost De Cock
5484f09cf6 New translations en.md (Spanish) 2023-05-20 10:35:52 +02:00
Joost De Cock
7a996eb4a6 New translations en.md (Spanish) 2023-05-20 10:35:51 +02:00
Joost De Cock
49e008a468 New translations en.md (Spanish) 2023-05-20 10:35:46 +02:00
Joost De Cock
3354154c39 New translations en.md (Spanish) 2023-05-20 10:35:43 +02:00
Joost De Cock
fc84dd6da7 New translations en.md (Spanish) 2023-05-20 10:35:37 +02:00
Joost De Cock
1befcc9000 New translations en.md (Spanish) 2023-05-20 10:35:34 +02:00
Joost De Cock
90adaa3184 New translations en.md (Spanish) 2023-05-20 10:35:32 +02:00
Joost De Cock
1ec6643df4 New translations en.md (Spanish) 2023-05-20 10:35:30 +02:00
Joost De Cock
b4a7c5bda1 New translations en.md (Spanish) 2023-05-20 10:35:29 +02:00
Joost De Cock
d327759a95 New translations en.md (Spanish) 2023-05-20 10:35:24 +02:00
Joost De Cock
299660f4db New translations en.md (Spanish) 2023-05-20 10:35:20 +02:00
Joost De Cock
9e691368b7 New translations en.md (Spanish) 2023-05-20 10:35:18 +02:00
Joost De Cock
65ed32e60e New translations en.md (Spanish) 2023-05-20 10:35:17 +02:00
Joost De Cock
d5bfe25121 New translations en.md (Spanish) 2023-05-20 10:35:15 +02:00
Joost De Cock
5932d5839f New translations en.md (Spanish) 2023-05-20 10:35:14 +02:00