diff --git a/.dumi/app.js b/.dumi/app.js new file mode 100644 index 0000000..6a13461 --- /dev/null +++ b/.dumi/app.js @@ -0,0 +1,8 @@ +import { Navigate } from 'dumi'; + +export const patchClientRoutes = ({ routes }) => { + routes.unshift({ + path: '/', + element: , + }); +}; diff --git a/.dumirc.ts b/.dumirc.ts index 7a85ffc..c745502 100644 --- a/.dumirc.ts +++ b/.dumirc.ts @@ -1,14 +1,20 @@ import { defineConfig } from 'dumi'; +import { defineThemeConfig } from 'dumi-theme-chakra'; export default defineConfig({ themeConfig: { - name: 'documents', - footer: `
Copyright © ${(/* @__PURE__ */ new Date()).getFullYear()} | Powered by helix`, - logo: "/logoLight.svg", - nav: [{ title: 'Helix Bridge', link: '/helixbridge/what_is_helix' }], + name: 'Helix Bridge', + footer: `Copyright © ${new Date().getFullYear()} | Helix Bridge`, + logo: '/logoLight.svg', + nav: [], //hideHomeNav: true, + ...defineThemeConfig({ + social: { + github: { name: 'Github', link: 'https://github.com/helix-bridge' }, + discord: { name: 'Discord', link: 'https://discord.gg/6XyyNGugdE' }, + }, + helmetIcon: '-', + }), }, - locales: [ - { id: 'en-US', name: 'EN' }, - ], + locales: [{ id: 'en-US', name: 'EN' }], }); diff --git a/public/logoLight.svg b/public/logoLight.svg index e2014f5..6b68442 100644 --- a/public/logoLight.svg +++ b/public/logoLight.svg @@ -1,9 +1,6 @@ - - - Helix - - - - - + + + \ No newline at end of file