Skip to content

Commit

Permalink
Revert PH changes (#4903)
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthv96 authored Oct 11, 2023
1 parent 22b783e commit d1b386b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions packages/mermaid/src/docs/.vitepress/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import Mermaid from './Mermaid.vue';
import Contributors from '../components/Contributors.vue';
// @ts-ignore
import HomePage from '../components/HomePage.vue';
// @ts-ignore
import TopBar from '../components/TopBar.vue';
// // @ts-ignore
// import TopBar from '../components/TopBar.vue';

import { getRedirect } from './redirect.js';

Expand All @@ -21,7 +21,8 @@ export default {
...DefaultTheme,
Layout() {
return h(Theme.Layout, null, {
'home-hero-before': () => h(TopBar),
// Keeping this as comment as it took a lot of time to figure out how to add a component to the top bar.
// 'home-hero-before': () => h(TopBar),
'home-features-after': () => h(HomePage),
});
},
Expand Down
6 changes: 3 additions & 3 deletions packages/mermaid/src/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ features:
- title: 🏆 Award winning!
details: 2019 JavaScript Open Source Award winner for "The Most Exciting Use of Technology".
link: https://osawards.com/javascript/2019
- title: 🎉 We are on Product Hunt!
details: We would love any and all support from the Mermaid community!
link: https://www.producthunt.com/posts/mermaid-chart
- title: 🥰 Mermaid + Mermaid Chart
details: Mermaid Chart is a major supporter of the Mermaid project.
link: https://www.mermaidchart.com/
---

0 comments on commit d1b386b

Please sign in to comment.