mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-06 09:06:45 +02:00
update announcement bar verbiage
This commit is contained in:
@@ -2,13 +2,16 @@
|
|||||||
<div
|
<div
|
||||||
class="w-full top-bar bg-gradient-to-r from-[#bd34fe] to-[#ff3670] flex items-center text-center justify-center p-1 text-white"
|
class="w-full top-bar bg-gradient-to-r from-[#bd34fe] to-[#ff3670] flex items-center text-center justify-center p-1 text-white"
|
||||||
>
|
>
|
||||||
<a
|
<p class="flex-grow text-center tracking-wide text-text">
|
||||||
href="https://www.producthunt.com/posts/mermaid-chart?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-mermaid-chart"
|
Happy Holidays! Get AI, team collaboration, storage, and more with
|
||||||
target="_blank"
|
<strong>Mermaid Chart Pro</strong>. Use promo code: <strong>HOLIDAYS2023 </strong>to get
|
||||||
>
|
<strong>25%</strong> off.<a
|
||||||
We've made our Product Hunt debut!
|
href="https://www.mermaidchart.com/holiday-promo"
|
||||||
<span class="underline">Show us some love and help spread the word</span>, plus receive 25%
|
target="_blank"
|
||||||
off on annual Pro subscription!</a
|
rel="noopener noreferrer"
|
||||||
>
|
class="unstyled ml-2 text-white underline"
|
||||||
|
>View more details here.</a
|
||||||
|
>
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@@ -6,8 +6,8 @@ import Mermaid from './Mermaid.vue';
|
|||||||
import Contributors from '../components/Contributors.vue';
|
import Contributors from '../components/Contributors.vue';
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import HomePage from '../components/HomePage.vue';
|
import HomePage from '../components/HomePage.vue';
|
||||||
// // @ts-ignore
|
// @ts-ignore
|
||||||
// import TopBar from '../components/TopBar.vue';
|
import TopBar from '../components/TopBar.vue';
|
||||||
|
|
||||||
import { getRedirect } from './redirect.js';
|
import { getRedirect } from './redirect.js';
|
||||||
|
|
||||||
@@ -22,7 +22,7 @@ export default {
|
|||||||
Layout() {
|
Layout() {
|
||||||
return h(Theme.Layout, null, {
|
return h(Theme.Layout, null, {
|
||||||
// Keeping this as comment as it took a lot of time to figure out how to add a component to the top bar.
|
// 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-hero-before': () => h(TopBar),
|
||||||
'home-features-after': () => h(HomePage),
|
'home-features-after': () => h(HomePage),
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user