mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-12-18 10:17:27 +01:00
additional changes
This commit is contained in:
@@ -108,7 +108,6 @@ const allTaglines: Taglines[] = [
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
// Randomly select group A, B, C, or D
|
|
||||||
const groups = ['A', 'B', 'C', 'D'];
|
const groups = ['A', 'B', 'C', 'D'];
|
||||||
const selectedGroup = groups[Math.floor(Math.random() * groups.length)];
|
const selectedGroup = groups[Math.floor(Math.random() * groups.length)];
|
||||||
const taglines = allTaglines.filter((tagline) => tagline.name.startsWith(selectedGroup));
|
const taglines = allTaglines.filter((tagline) => tagline.name.startsWith(selectedGroup));
|
||||||
@@ -144,7 +143,7 @@ const buttonClass = computed(() => {
|
|||||||
class="unstyled flex justify-center items-center gap-4 text-white tracking-wide plausible-event-name=bannerClick"
|
class="unstyled flex justify-center items-center gap-4 text-white tracking-wide plausible-event-name=bannerClick"
|
||||||
>
|
>
|
||||||
<span class="font-semibold">{{ taglines[index].label }}</span>
|
<span class="font-semibold">{{ taglines[index].label }}</span>
|
||||||
<button :class="['rounded-lg p-2 px-4 font-semibold tracking-wide', buttonClass]">
|
<button :class="['rounded-lg p-1.5 px-4 font-semibold tracking-wide', buttonClass]">
|
||||||
Try now
|
Try now
|
||||||
</button>
|
</button>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user