diff --git a/src/lib/components/Navbar.svelte b/src/lib/components/Navbar.svelte index 53da4e7b..37a16b7b 100644 --- a/src/lib/components/Navbar.svelte +++ b/src/lib/components/Navbar.svelte @@ -73,6 +73,7 @@ + + {/key} + diff --git a/src/lib/util/promos/Holiday2023.svelte b/src/lib/util/promos/Holiday2023.svelte deleted file mode 100644 index b723ac3e..00000000 --- a/src/lib/util/promos/Holiday2023.svelte +++ /dev/null @@ -1,7 +0,0 @@ - - Get AI, team collaboration, storage, and more with - Mermaid Chart Pro. Start free trial today & get 25% off. - diff --git a/src/lib/util/promos/Jan2024.svelte b/src/lib/util/promos/Jan2024.svelte deleted file mode 100644 index 3d3a662c..00000000 --- a/src/lib/util/promos/Jan2024.svelte +++ /dev/null @@ -1,25 +0,0 @@ - - - - {tagline} - - diff --git a/src/lib/util/promos/promo.ts b/src/lib/util/promos/promo.ts index 20e540a8..45630714 100644 --- a/src/lib/util/promos/promo.ts +++ b/src/lib/util/promos/promo.ts @@ -1,7 +1,6 @@ import { writable, type Writable, get } from 'svelte/store'; import { persist, localStorage } from '../persist'; -import Holiday2023 from './Holiday2023.svelte'; -import Jan2024 from './Jan2024.svelte'; +import August2024 from './August2024.svelte'; interface Promotion { id: string; @@ -12,16 +11,10 @@ interface Promotion { const promotions: Promotion[] = [ { - id: 'holiday-2023', - startDate: new Date('2023-11-27'), - endDate: new Date('2024-01-09'), - component: Holiday2023 - }, - { - id: 'jan-2024', - startDate: new Date('2024-01-10'), + id: 'promo-2024', + startDate: new Date('2024-08-01'), endDate: new Date('2024-12-31'), - component: Jan2024 + component: August2024 } ];