Skip to content

Commit

Permalink
Merge pull request #107 from cryptomator/feature/adjust-to-listmonk
Browse files Browse the repository at this point in the history
Switch from Mailtrain to Listmonk
  • Loading branch information
tobihagemann authored Dec 13, 2023
2 parents a756bd8 + 219505e commit ac6f41a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/js/newsletter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const SUBSCRIBE_NEWSLETTER_URL = 'https://api.cryptomator.org/mailtrain/subscribe.php';
const SUBSCRIBE_NEWSLETTER_URL = 'https://api.cryptomator.org/listmonk/subscribe.php';

class Newsletter {

Expand Down
2 changes: 1 addition & 1 deletion layouts/hub/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ <h2 id="contact" class="font-headline font-medium text-xl md:text-2xl leading-sn
</a>
</section>

<section x-data="{data: {email: '', listId: 'Hkrk3qn37', errorMessage: '', success: false, inProgress: false}}" class="container text-center pt-12 pb-24">
<section x-data="{data: {email: '', listId: 7, errorMessage: '', success: false, inProgress: false}}" class="container text-center pt-12 pb-24">
<h2 id="newsletter" class="font-headline font-medium text-xl md:text-2xl leading-snug mb-4">{{ i18n "hub_newsletter_title" . }}</h2>

<form x-show="!data.success" x-ref="form" class="max-w-xl mx-auto">
Expand Down
2 changes: 1 addition & 1 deletion layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h1 class="font-headline font-medium text-3xl md:text-4xl leading-tight mb-6">{{
{{ .Content }}
</div>

<section id="newsletter" x-data="{data: {email: '', listId: 'ryCzTHl2', errorMessage: '', success: false, inProgress: false}}" class="container text-center pt-12 pb-24">
<section id="newsletter" x-data="{data: {email: '', listId: 6, errorMessage: '', success: false, inProgress: false}}" class="container text-center pt-12 pb-24">
<h2 class="font-headline font-medium text-xl md:text-2xl leading-snug mb-4">{{ i18n "home_newsletter_title" . }}</h2>

<form x-show="!data.success" x-ref="form" class="max-w-xl mx-auto">
Expand Down

0 comments on commit ac6f41a

Please sign in to comment.