mirror of
https://github.com/luxfi/industries.git
synced 2026-10-30 16:22:26 +00:00
The site shipped every content block and every renderer component, but src/app/page.tsx was a "Coming soon" stub, so none of it was reachable. DNS also still pointed at GitHub Pages, which served nothing -- the domain was dark. - Restore the landing page (intro, products, leadership, advisors, partner logos, press, outro) from the composition in luxfi/web, whose src tree is byte-identical to this one outside src/app. - next.config.js: wire up MDX and the SVGR webpack config the repo already carried but never referenced. - Bypass the @luxfi/ui package barrel for <Main> and <Footer>. The barrel also re-exports the auth panels, which drag Firebase into the graph and abort `output: 'export'` with auth/invalid-api-key. A static marketing page needs no auth. - Render <Footer> inside a client boundary: it passes an `itemClx` *function* to <NavItems>, which a Server Component may not do. - Own the layout instead of @luxfi/ui's RootLayout (same reason: it mounts the Firebase auth + commerce providers). Load Lux colors, global styles and the Inter/Druk Wide faces via the supported non-next path. - Bump @hanzo/ui 5.3.22 -> 5.3.34, @hanzo/commerce 7.3.8 -> 7.3.10 and @luxfi/ui 5.5.2 -> 5.5.3, matching the versions luxfi/web builds against. - Name Lux Industries Inc as the legal entity in the footer. - Add wrangler.toml so the built export is served by a Worker on luxindustries.xyz and www.luxindustries.xyz. Co-authored-by: Hanzo Dev <[email protected]>
14 lines
362 B
TOML
14 lines
362 B
TOML
# Cloudflare Worker serving the Next.js static export (`pnpm build` -> ./out).
|
|
# Deploy: `wrangler deploy`
|
|
name = "lux-industries"
|
|
compatibility_date = "2024-11-01"
|
|
|
|
routes = [
|
|
{ pattern = "luxindustries.xyz", custom_domain = true },
|
|
{ pattern = "www.luxindustries.xyz", custom_domain = true }
|
|
]
|
|
|
|
[assets]
|
|
directory = "./out"
|
|
not_found_handling = "404-page"
|