Skip to content

Commit

Permalink
Merge pull request #5193 from mermaid-js/v3-announcement-bar
Browse files Browse the repository at this point in the history
DOCS: update announcement bar
  • Loading branch information
aloisklink committed Jan 12, 2024
2 parents 5073cfa + d6d465d commit 5e61867
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions packages/mermaid/src/docs/.vitepress/components/TopBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,22 @@
>
<p class="flex-grow text-center tracking-wide text-text">
<a
href="https://www.mermaidchart.com/app/user/billing/checkout?coupon=HOLIDAYS2023"
href="https://www.mermaidchart.com/app/user/billing/checkout"
target="_blank"
class="unstyled text-white plausible-event-name=bannerClick"
class="unstyled flex-grow tracking-wide plausible-event-name=bannerClick"
>
Get AI, team collaboration, storage, and more with
<span class="font-bold underline"
>Mermaid Chart Pro. Start free trial today & get 25% off.</span
<span class="text-primary-50 font-semibold">{{
[
'Try diagramming with ChatGPT at Mermaid Chart',
'Try Mermaid’s Visual Editor at Mermaid Chart',
'Enjoy live collaboration with teammates at Mermaid Chart',
][Math.floor(Math.random() * 3)]
}}</span>
<button
class="ml-4 rounded bg-[#111113] p-1 px-2 text-sm font-semibold tracking-wide text-white"
>
Try it now
</button>
</a>
</p>
</div>
Expand Down

0 comments on commit 5e61867

Please sign in to comment.