Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
# misc
.DS_Store
*.pem
.idea

# debug
npm-debug.log*
Expand Down
8 changes: 4 additions & 4 deletions global.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

:root {

--shiki-color-background: red;

--primary-100: hsl(var(--nextra-primary-hue)100% 94%);
--nextra-primary-hue: 330;

--primary-700: hsl(var(--nextra-primary-hue)100% 32%);
--primary-100: hsl(var(--nextra-primary-hue), 100%, 94%);
--primary-700: hsl(var(--nextra-primary-hue), 100%, 32%);
--shiki-color-background: red;

/* --doc-height: 100%;
--multibase-background: 255 255 255;
Expand Down
19 changes: 7 additions & 12 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
const withNextra = require('nextra')({
import nextra from 'nextra';
const withNextra = nextra({
theme: 'nextra-theme-docs',
themeConfig: './theme.config.tsx',
})
});

module.exports = withNextra({
export default withNextra({
basePath: '/docs',
async redirects() {
return [
{
source: '/:path*',
destination: 'https://multibase.co/docs/:path*', // Matched parameters can be used in the destination
destination: 'https://multibase.co/docs/:path*',
basePath: false,
permanent: true,
has: [
Expand All @@ -19,12 +20,6 @@ module.exports = withNextra({
}
]
}
// {
// source: '/',
// destination: '/docs',
// basePath: false,
// permanent: false
// }
]
];
}
})
});
Loading