Add thank you page for medical cannabis petition

Add English and Norwegian versions of the thank you page
with confirmation instructions and newsletter subscription
notification when applicable

Style the warning highlight with oklch color
This commit is contained in:
Ruben 2026-01-16 21:45:01 +01:00
parent 269bfe994c
commit 1f74cb3c84
3 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,11 @@
<h1>Thank you for your support!</h1>
<div class="warning-box">
<p class="warning-highlight"><strong>Remember to check your inbox!</strong></p>
<p>Your signature is not valid and will not appear on the list <em>until you have clicked the confirmation link</em> we sent by email. If the email doesn't arrive within a few minutes, check your spam/junk folder!</p>
<?php if (!empty($petition_subscribed_newsletter)): ?>
<p>The same applies to your newsletter subscription &ndash; you must also confirm your choice by clicking the link in a separate email. Sorry for all the emails, but this is to ensure that your signature and subscription are genuine and come from you.</p>
<?php endif; ?>
</div>
<p><a href="../">Back to the petition</a></p>

View file

@ -0,0 +1,11 @@
<h1>Takk for at du støtter saken!</h1>
<div class="warning-box">
<p class="warning-highlight"><strong>Husk å sjekke innboksen din!</strong></p>
<p>Signaturen er ikke gyldig og vil ikke vises i lista <em>før du har trykket bekreftelseslenken</em> vi har sendt e-post. Hvis e-posten ikke dukker opp innen minutter, sjekk søppelpost-/spam-mappen!</p>
<?php if (!empty($petition_subscribed_newsletter)): ?>
<p><strong>Det samme gjelder for din påmelding til nyhetsbrevet</strong> &ndash; her du også bekrefte ditt valg ved å trykke lenken i en egen e-post. Beklager at det blir mange e-poster, men det er for å sikre at signatur og påmelding er ekte og kommer fra deg.</p>
<?php endif; ?>
</div>
<p><a href="../">Tilbake til underskriftskampanjen</a></p>

View file

@ -0,0 +1,4 @@
.warning-highlight {
color: oklch(0.5 0.16 10);
font-size: 1.3rem
}