Skip to content

Commit

Permalink
Merge pull request #6 from helix-bridge/jay/ui-improvement
Browse files Browse the repository at this point in the history
UI Improvement
  • Loading branch information
JayJay1024 authored Apr 1, 2024
2 parents 7f790be + 0442b9a commit 3a7c509
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 15 deletions.
8 changes: 8 additions & 0 deletions .dumi/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { Navigate } from 'dumi';

export const patchClientRoutes = ({ routes }) => {
routes.unshift({
path: '/',
element: <Navigate to="/helixbridge/what_is_helix" replace />,
});
};
20 changes: 13 additions & 7 deletions .dumirc.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
import { defineConfig } from 'dumi';
import { defineThemeConfig } from 'dumi-theme-chakra';

export default defineConfig({
themeConfig: {
name: 'documents',
footer: `<br>Copyright © ${(/* @__PURE__ */ new Date()).getFullYear()} | Powered by <a href="https://helixbridge.app" target="_blank" rel="noreferrer">helix</a>`,
logo: "/logoLight.svg",
nav: [{ title: 'Helix Bridge', link: '/helixbridge/what_is_helix' }],
name: 'Helix Bridge',
footer: `<span style="padding-bottom: 10px;">Copyright © ${new Date().getFullYear()} | Helix Bridge</span>`,
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' }],
});
13 changes: 5 additions & 8 deletions public/logoLight.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3a7c509

Please sign in to comment.