Skip to content

Commit

Permalink
Merge pull request #1484 from mermaid-js/master
Browse files Browse the repository at this point in the history
Master
  • Loading branch information
sidharthv96 authored Jul 14, 2024
2 parents e9c11a9 + 32a90da commit a782f60
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions src/lib/components/Navbar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,17 @@
<span class="text-lg font-bold">
<a href="/">Mermaid<span class="text-xs font-thin">v{version}</span> Live Editor</a>
</span>
<span class="ml-4">
<a
href="https://www.producthunt.com/products/mermaid-chart?utm_source=badge-follow&utm_medium=badge&utm_souce=badge-mermaid&#0045;chart"
target="_blank"
><img
src="https://api.producthunt.com/widgets/embed-image/v1/follow.svg?product_id=552855&theme=light&size=small"
alt="Mermaid&#0032;Chart - A&#0032;smarter&#0032;way&#0032;to&#0032;create&#0032;diagrams | Product Hunt"
style="width: 86px; height: 32px;"
width="86"
height="32" /></a>
</span>
</div>

<label
Expand Down
2 changes: 1 addition & 1 deletion src/lib/util/promos/Jan2024.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
const taglineKey = taglineKeys[Math.floor(Math.random() * taglineKeys.length)];
const tagline = taglines[taglineKey];
const url =
'https://www.mermaidchart.com/?' +
'https://www.mermaidchart.com/landing/?' +
new URLSearchParams({
utm_source: 'mermaid_live_editor',
utm_medium: taglineKey,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/util/promos/promo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const promotions: Promotion[] = [
{
id: 'jan-2024',
startDate: new Date('2024-01-10'),
endDate: new Date('2024-06-01'),
endDate: new Date('2024-12-31'),
component: Jan2024
}
];
Expand Down

0 comments on commit a782f60

Please sign in to comment.