Skip to content

Commit 317ab81

Browse files
committed
added sale promo
1 parent 353cb71 commit 317ab81

File tree

10 files changed

+19
-3
lines changed

10 files changed

+19
-3
lines changed

assets/css/custom.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ nav a:hover {
164164
[id]::before {
165165
content: '';
166166
display: block;
167-
height: 96px;
168-
margin-top: -96px;
167+
height: 138px;
168+
margin-top: -138px;
169169
visibility: hidden;
170170
}
171171

content/downloads/android.de.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ <h3>Google Play</h3>
2121
<div class="prose prose-sm max-w-none mb-4">
2222
<p>Minimum: {{< siteparam releases.android.requiredOS >}}</p>
2323
</div>
24+
<p class="text-sm md:text-base leading-relaxed text-gray-700 rounded bg-primary-l2 p-2 mb-4">🎉 Der Einmalpreis ist um 33% reduziert!</p>
2425
<a href="https://play.google.com/store/apps/details?id=org.cryptomator&hl=de" role="button">
2526
<img class="h-10 mx-auto lazyload" data-src="/de/img/downloads/googleplay-badge.png">
2627
</a>

content/downloads/android.en.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ <h3>Google Play</h3>
2121
<div class="prose prose-sm max-w-none mb-4">
2222
<p>Minimum: {{< siteparam releases.android.requiredOS >}}</p>
2323
</div>
24+
<p class="text-sm md:text-base leading-relaxed text-gray-700 rounded bg-primary-l2 p-2 mb-4">🎉 The one-time price is 33% off!</p>
2425
<a href="https://play.google.com/store/apps/details?id=org.cryptomator&hl=en" role="button">
2526
<img class="h-10 mx-auto lazyload" data-src="/img/downloads/googleplay-badge.png">
2627
</a>

content/downloads/ios.de.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ <h3>App Store</h3>
2121
<div class="prose prose-sm max-w-none mb-4">
2222
<p>Minimum: iOS 14.0</p>
2323
</div>
24+
<p class="text-sm md:text-base leading-relaxed text-gray-700 rounded bg-primary-l2 p-2 mb-4">🎉 Vollversion In-App-Kauf ist um 33% reduziert!</p>
2425
<a href="https://apps.apple.com/de/app/cryptomator/id1560822163" role="button">
2526
<img class="h-10 mx-auto mb-4 lazyload" data-src="/de/img/downloads/appstore-badge.svg">
2627
</a>

content/downloads/ios.en.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ <h3>App Store</h3>
2121
<div class="prose prose-sm max-w-none mb-4">
2222
<p>Minimum: iOS 14.0</p>
2323
</div>
24+
<p class="text-sm md:text-base leading-relaxed text-gray-700 rounded bg-primary-l2 p-2 mb-4">🎉 Full version in-app purchase is 33% off!</p>
2425
<a href="https://apps.apple.com/us/app/cryptomator/id1560822163" role="button">
2526
<img class="h-10 mx-auto mb-4 lazyload" data-src="/img/downloads/appstore-badge.svg">
2627
</a>

i18n/de.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
translation: "Verschlüssle deine Dropbox, Google Drive, und Co. Cryptomator ist eine freie Open-Source-Software."
33
- id: nav_cta
44
translation: "Jetzt loslegen"
5+
- id: nav_promotion
6+
translation: ":tada: Cryptomator für iOS und Android sind um 33% reduziert! Gültig&nbsp;28.&#8209;30.&nbsp;August."
57
- id: nav_support_us
68
translation: "Unterstütze uns"
79
- id: nav_learn_more
@@ -46,6 +48,8 @@
4648
translation: "Zahlungen werden über Paddle abgewickelt."
4749
- id: android_getkey_checkout
4850
translation: "Zur Zahlung"
51+
- id: android_getkey_coupon
52+
translation: "Gutscheincode <code>SUMMER2024</code> beim Bezahlvorgang eingeben für 33% Rabatt!"
4953

5054
- id: android_getkey_success
5155
translation: "Deine Zahlung war erfolgreich!"

i18n/en.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
translation: "Encrypt Dropbox, Google Drive, and any other cloud. Cryptomator is free and open source."
33
- id: nav_cta
44
translation: "Get Started"
5+
- id: nav_promotion
6+
translation: ":tada: Cryptomator for iOS and Android are 33% off! Valid&nbsp;August&nbsp;28&#8209;30."
57
- id: nav_support_us
68
translation: "Support Us"
79
- id: nav_learn_more
@@ -46,6 +48,8 @@
4648
translation: "Payments are securely handled by Paddle."
4749
- id: android_getkey_checkout
4850
translation: "Checkout"
51+
- id: android_getkey_coupon
52+
translation: "Use coupon code <code>SUMMER2024</code> at checkout to get 33% off!"
4953

5054
- id: android_getkey_success
5155
translation: "Your payment was successful!"

layouts/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{{ end }}
44
{{ define "main" }}
55
<section class="flex items-center header-bg bg-dark bg-center min-vh-66 bg-repeat-x">
6-
<header class="container flex items-center text-white py-24 md:py-48 lg:py-64">
6+
<header class="container flex items-center text-white pt-40 pb-24 md:pt-56 md:pb-48 lg:pt-72 lg:pb-64">
77
<div class="hidden pr-6 md:block md:w-1/3 lg:w-2/5">
88
<img data-src="/img/home/woman-cloud.png" class="lazyload aspect-[714/622] w-full object-scale-down mx-auto lg:w-3/4 animate-hover" alt="{{ i18n "home_header_woman_cloud_alt" . }}"/>
99
</div>

layouts/partials/android-getkey.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ <h3>{{ i18n "android_getkey_title" }}</h3>
1515
<div class="text-center mt-8">
1616
<p class="text-sm md:text-base leading-relaxed text-gray-700 mb-4">{{ i18n "android_getkey_instruction" }}</p>
1717
<p class="text-sm md:text-base leading-relaxed text-gray-700 mb-4">{{ partial "accept-terms-and-privacy.html" (dict "context" . "alpineVariable" "acceptTerms") }}</p>
18+
<p class="text-sm md:text-base leading-relaxed text-gray-700 rounded bg-primary-l2 p-2 mb-4">{{ ":tada:" | emojify }} {{ i18n "android_getkey_coupon" | safeHTML }}</p>
1819
<button :disabled="checkoutData.inProgress || !acceptTerms" @click.prevent="androidLicense.checkout('{{ .Site.Language.Lang }}')" type="submit" class="btn btn-primary w-full md:w-64">
1920
<i x-show="!checkoutData.inProgress" class="fas fa-shopping-cart fa-fw" aria-hidden="true"></i><i x-show="checkoutData.inProgress" class="fas fa-spinner fa-spin fa-fw" aria-hidden="true"></i> {{ i18n "android_getkey_checkout" }}
2021
</button>

layouts/partials/nav.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
{{- $navBorderColor := cond .IsHome "border-transparent" "border-primary" -}}
44
{{- $currentRelPermalink := .RelPermalink -}}
55
<nav x-init="determineGitHubStargazersCount('{{ .Site.Language.Lang }}')" class="w-full max-h-screen text-{{ $textColor }} fixed {{ $backgroundColor }} shadow z-50">
6+
<div class="w-full bg-primary text-center text-sm text-white p-0.5">
7+
<p>{{ i18n "nav_promotion" . | emojify }}</p>
8+
</div>
69
<div class="flex justify-between items-stretch w-full lg:px-8">
710
<!-- Regular Navigation -->
811
<div class="flex items-stretch">

0 commit comments

Comments
 (0)