File tree Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 8
8
}
9
9
10
10
const taglines: Taglines [] = [
11
+ {
12
+ label: ' Explore the Mermaid Whiteboard from the creators of Mermaid' ,
13
+ url: ' https://www.mermaidchart.com/whiteboard?utm_source=mermaid_live_editor&utm_medium=banner_ad&utm_campaign=whiteboard'
14
+ },
11
15
{
12
16
label: ' Use the Visual Editor in Mermaid Chart to design and build diagrams' ,
13
- url: ' https://www.mermaidchart.com/landing ?utm_source=mermaid_live_editor&utm_medium=banner_ad&utm_campaign=visual_editor'
17
+ url: ' https://www.mermaidchart.com/play ?utm_source=mermaid_live_editor&utm_medium=banner_ad&utm_campaign=visual_editor'
14
18
},
15
19
{
16
20
label: ' Diagram live with teammates in Mermaid Chart' ,
17
- url: ' https://www.mermaidchart.com/landing ?utm_source=mermaid_live_editor&utm_medium=banner_ad&utm_campaign=teams'
21
+ url: ' https://www.mermaidchart.com/play ?utm_source=mermaid_live_editor&utm_medium=banner_ad&utm_campaign=teams'
18
22
},
19
23
{
20
- label: ' Skip the rough draft with Mermaid AI in Mermaid Chart ' ,
21
- url: ' https://www.mermaidchart.com/mermaid-ai ?utm_source=mermaid_live_editor&utm_medium=banner_ad&utm_campaign=mermaid_ai '
24
+ label: ' Replace ChatGPT Pro, Mermaid.live, and LucidChart with Mermaid Pro ' ,
25
+ url: ' https://www.mermaidchart.com/play ?utm_source=mermaid_live_editor&utm_medium=banner_ad&utm_campaign=AIbundle '
22
26
}
23
27
];
24
28
28
32
const interval = setInterval (() => {
29
33
index = (index + 1 ) % taglines .length ;
30
34
currentTagline = taglines [index ];
31
- }, 60_000 );
35
+ }, 40_000 );
32
36
33
37
onDestroy (() => {
34
38
clearInterval (interval );
45
49
out:fade ={{ duration : 1000 }}>
46
50
<span class ="text-sm tracking-wider" >{currentTagline .label }</span >
47
51
<button class =" rounded bg-[#111113] p-1 px-2 text-sm font-semibold tracking-wide"
48
- >Try it now</button >
52
+ >Try now</button >
49
53
</a >
50
54
{/ key }
51
55
</div >
Original file line number Diff line number Diff line change 1
1
import { writable , type Writable , get } from 'svelte/store' ;
2
2
import { persist , localStorage } from '../persist' ;
3
- import August2024 from './August2024 .svelte' ;
3
+ import October2024 from './October2024 .svelte' ;
4
4
import { env } from '$lib/util/env' ;
5
5
6
6
interface Promotion {
@@ -12,10 +12,10 @@ interface Promotion {
12
12
13
13
const promotions : Promotion [ ] = [
14
14
{
15
- id : 'promo-2024' ,
16
- startDate : new Date ( '2024-08-01 ' ) ,
15
+ id : 'promo-october- 2024' ,
16
+ startDate : new Date ( '2024-10-22 ' ) ,
17
17
endDate : new Date ( '2024-12-31' ) ,
18
- component : August2024
18
+ component : October2024
19
19
}
20
20
] ;
21
21
You can’t perform that action at this time.
0 commit comments