Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI Improvement #6

Merged
merged 7 commits into from
Apr 1, 2024
Merged
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
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.
Loading