mirror of
https://github.com/Such-Software/such.software.git
synced 2026-12-01 11:53:56 +01:00
A product page for radiation.space (live at https://radiation.space): what it does, where its numbers come from, its stated accuracy and privacy, and links to the explorer and its wiki. The products grid lists it, and /radiationspace redirects to the page; radiation.space's footer credit links there.
29 lines
914 B
JavaScript
29 lines
914 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
transpilePackages: ["@repo/ui"],
|
|
// Inline the CSS into the HTML so the render-blocking stylesheet request leaves the
|
|
// critical path. That request was the LCP gate on throttled mobile: the logo (a data
|
|
// URI, ready instantly) couldn't paint until the separate CSS round-trip finished,
|
|
// and that round-trip varied run-to-run (TTFB 0, render delay ~2.3s). Inlined CSS
|
|
// arrives with the HTML, so the logo paints right away.
|
|
experimental: {
|
|
inlineCss: true,
|
|
},
|
|
async redirects() {
|
|
return [
|
|
{
|
|
source: "/links",
|
|
destination: "/apps",
|
|
permanent: true,
|
|
},
|
|
{
|
|
// the short address radiation.space's footer links to
|
|
source: "/radiationspace",
|
|
destination: "/products/radiation-space",
|
|
permanent: false,
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
module.exports = nextConfig; |