diff --git a/src/lib/components/migration/EditorChooserModal.svelte b/src/lib/components/migration/EditorChooserModal.svelte index ee2ed9fc..b4e424ff 100644 --- a/src/lib/components/migration/EditorChooserModal.svelte +++ b/src/lib/components/migration/EditorChooserModal.svelte @@ -1,7 +1,15 @@ - + + + + Try the full Mermaid experience + + Free forever, with Plus features free for 7 days. + + + + + {#each features as feature (feature.title)} + + + + {feature.title} + {feature.description} + + + {/each} + + + + + actions.startTrial()}>Start free trial + + actions.dismiss('stayOnLive')}> + Stay on mermaid.live + + + + + Trusted by 5M people and over 200k companies + + {#each trustedLogos as logo (logo.name)} + + {/each} + + + + + diff --git a/src/lib/components/migration/EditorChooserTestB.svelte b/src/lib/components/migration/EditorChooserTestB.svelte deleted file mode 100644 index 14e423b9..00000000 --- a/src/lib/components/migration/EditorChooserTestB.svelte +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - Try the full Mermaid experience - - Free forever, with Plus features free for 7 days. - - - - - {#each features as feature (feature.title)} - - - - {feature.title} - {feature.description} - - - {/each} - - - - - actions.startTrial()}>Start free trial - - actions.dismiss('stayOnLive')}> - Stay on mermaid.live - - - - - Trusted by 5M people and over 200k companies - - {#each trustedLogos as logo (logo.name)} - - {/each} - - - - - diff --git a/src/lib/components/migration/editorChooserActions.ts b/src/lib/components/migration/editorChooserActions.ts index b5c28370..07a8241c 100644 --- a/src/lib/components/migration/editorChooserActions.ts +++ b/src/lib/components/migration/editorChooserActions.ts @@ -11,10 +11,6 @@ export interface EditorChooserActions { openMermaidAiLive: (buttonClick: string) => void; } -export interface EditorChooserProps { - actions: EditorChooserActions; -} - export const createEditorChooserActions = (close: () => void): EditorChooserActions => { const log = (buttonClick: string) => { logEvent('chooseEditor', { buttonClick });
{feature.title}
{feature.description}
Trusted by 5M people and over 200k companies