Context
0057 put the Stackra and Figentra marketing site on React Router 7 framework mode with MDX content plus Sanity. Tenants also need public pages on their own domains (a sports academy’s home page, pricing, a summer-camp landing page) and in-app pages inside the logged-in product. One builder for all three avoids a second content system and a new paid service.Decision
- The page builder covers every page: our own marketing and landing site, tenants’ public marketing and landing pages on their domains, and in-app pages and areas.
- Pages are L2 documents of 0110, stored as the
pagecontent type of 0116, with draft and publish per 0112. - MDX content and Sanity are dropped for the marketing site.
- The editor is Pro; the renderer is free. Our own site uses the Pro editor under the internal licence of 0077.
- Public pages prerender for indexing; the hosting of 0057 decisions 1 and 2 (React Router 7 framework mode on Cloudflare Workers) is not changed here.
Consequences
- One content and publishing system for marketing and product pages.
- Our marketing site depends on the experience runtime being ready (the last step of the X14 build order), so it ships later.
- Custom domains and their TLS for tenant pages are an operational chore to design.