m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-18 01:43:41 -05:00

Create basic homepage and format docs

This commit is contained in:
Sergio
2024-12-20 19:24:22 +02:00
parent 0a4e302322
commit 359147770f
47 changed files with 3365 additions and 1306 deletions

View File

@@ -3,15 +3,14 @@ const withNextra = require("nextra")({
themeConfig: "./theme.config.jsx",
});
module.exports = withNextra(
{
output: "export",
images: {
unoptimized: true
},
basePath: process.env.NODE_ENV == 'production' ? '/cup' : ''
}
);
module.exports = withNextra({
output: "export",
images: {
unoptimized: true,
},
transpilePackages: ["geist", "framer-motion"],
basePath: process.env.NODE_ENV == "production" ? "/cup" : "",
});
// If you have other Next.js configurations, you can pass them as the parameter:
// module.exports = withNextra({ /* other next.js config */ })