additional updates

This commit is contained in:
Steph
2025-02-20 11:30:07 -08:00
parent 4eeea1076c
commit 877a7e288a
2 changed files with 29 additions and 8 deletions

View File

@@ -0,0 +1,22 @@
> **Warning**
>
> ## THIS IS AN AUTOGENERATED FILE. DO NOT EDIT.
>
> ## Please edit the corresponding file in [/packages/mermaid/src/docs/config/setup/interfaces/mermaid.ParseOptions.md](../../../../packages/mermaid/src/docs/config/setup/interfaces/mermaid.ParseOptions.md).
# Interface: ParseOptions
[mermaid](../modules/mermaid.md).ParseOptions
## Properties
### suppressErrors
`Optional` **suppressErrors**: `boolean`
If `true`, parse will return `false` instead of throwing error when the diagram is invalid.
The `parseError` function will not be called.
#### Defined in
[packages/mermaid/src/types.ts:59](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/types.ts#L59)

View File

@@ -28,7 +28,7 @@ const allTaglines: { [key: string]: { design: number; taglines: Taglines[] } } =
},
],
},
B: {
B: {
design: 2,
taglines: [
{
@@ -49,7 +49,7 @@ B: {
},
],
},
C: {
C: {
design: 1,
taglines: [
{
@@ -70,7 +70,7 @@ C: {
},
],
},
D: {
D: {
design: 2,
taglines: [
{
@@ -89,6 +89,8 @@ D: {
label: 'Explore the Mermaid Whiteboard from the creators of Mermaid',
url: 'https://www.mermaidchart.com/whiteboard?utm_source=mermaid_js&utm_medium=banner_ad&utm_campaign=whiteboard_B',
},
],
},
};
const { design, taglines } =
@@ -104,7 +106,7 @@ onMounted(() => {
<template>
<div
:class="[design === 1 ? 'bg-gradient-to-r from-[#bd34fe] to-[#ff3670] ' : 'bg-[#2E2183]']"
:class="[design === 1 ? 'bg-gradient-to-r from-[#bd34fe] to-[#ff3670] ' : 'bg-[#E0095F]']"
class="mb-4 w-full top-bar flex p-2"
>
<p class="w-full tracking-wide fade-text">
@@ -116,10 +118,7 @@ onMounted(() => {
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>
<button
:class="[design === 1 ? 'bg-[#2E2183]' : 'bg-[#E0095F]']"
class="rounded-lg p-1.5 px-4 font-semibold tracking-wide"
>
<button class="bg-[#1E1A2E] rounded-lg p-1.5 px-4 font-semibold tracking-wide">
Try now
</button>
</a>