Skip to content

Commit 5f348ec

Browse files
committed
Merge branch 'develop'
2 parents 75296db + 6a7b279 commit 5f348ec

File tree

4 files changed

+51
-5
lines changed

4 files changed

+51
-5
lines changed

assets/css/main.css

+33-2
Original file line numberDiff line numberDiff line change
@@ -148,21 +148,52 @@
148148
--breakpoint-lg: 1280px;
149149

150150
--animate-hover: hover 10s ease-in-out infinite;
151+
--animate-slide: slide 20s cubic-bezier(0.83, 0, 0.17, 1) infinite;
151152

152153
--height-70px: 70px;
153154
--height-412px: 412px;
154155

155156
--width-fit: fit-content;
156157

157158
@keyframes hover {
158-
0%,
159-
100% {
159+
0%, 100% {
160160
transform: rotate(0deg) translateY(0);
161161
}
162162
50% {
163163
transform: rotate(-3deg) translateY(-10px);
164164
}
165165
}
166+
167+
/* see https://cruip.com/creating-a-sliding-text-animation-with-tailwind-css/ */
168+
@keyframes slide {
169+
0%, 10% {
170+
transform: translateY(0%);
171+
}
172+
12.5%, 22.5% {
173+
transform: translateY(-11.11%);
174+
}
175+
25%, 35% {
176+
transform: translateY(-22.22%);
177+
}
178+
37.5%, 47.5% {
179+
transform: translateY(-33.33%);
180+
}
181+
50%, 60% {
182+
transform: translateY(-44.44%);
183+
}
184+
62.5%, 72.5% {
185+
transform: translateY(-55.55%);
186+
}
187+
75%, 85% {
188+
transform: translateY(-66.66%);
189+
}
190+
87.5%, 97.5% {
191+
transform: translateY(-77.77%);
192+
}
193+
100% {
194+
transform: translateY(-88.88%);
195+
}
196+
}
166197
}
167198

168199
@utility container {

i18n/de.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@
310310
- id: home_header_kicker
311311
translation: "3.000.000+ Downloads"
312312
- id: home_header_title
313-
translation: "Cloud verschlüsseln, Privatsphäre schützen"
313+
translation: "Privatsphäre schützen in"
314314
- id: home_header_description
315315
translation: "Mit Cryptomator liegt der Schlüssel zu deinen Daten bei dir. Durch Cryptomator sicherst und verschlüsselst du deine sensiblen Daten in deiner Lieblingscloud. So bleiben sie privat und vor unbefugtem Zugriff geschützt."
316316
- id: home_header_woman_cloud_alt

i18n/en.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@
310310
- id: home_header_kicker
311311
translation: "3,000,000+ Downloads"
312312
- id: home_header_title
313-
translation: "Encrypt your cloud, protect your privacy"
313+
translation: "Protect your privacy in"
314314
- id: home_header_description
315315
translation: "With Cryptomator, the key to your data is in your hands. Cryptomator secures and encrypts your sensitive data in your favorite cloud service. So you can rest assured that only you can access your data."
316316
- id: home_header_woman_cloud_alt

layouts/index.html

+16-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,22 @@
2323
{{ i18n "home_header_kicker" }}
2424
</div>
2525
</div>
26-
<h1 class="font-h1 mb-6">{{ i18n "home_header_title" . | safeHTML }}</h1>
26+
<h1 class="font-h1 mb-6">
27+
{{ i18n "home_header_title" }}
28+
<span class="inline-flex flex-col h-[calc(theme(fontSize.3xl)*theme(lineHeight.tight))] md:h-[calc(theme(fontSize.4xl)*theme(lineHeight.tight))] overflow-hidden">
29+
<ul class="animate-slide">
30+
<li>Google Drive</li>
31+
<li>iCloud Drive</li>
32+
<li>Dropbox</li>
33+
<li>OneDrive</li>
34+
<li>SharePoint</li>
35+
<li>Box</li>
36+
<li>pCloud</li>
37+
<li>Nextcloud</li>
38+
<li aria-hidden="true">Google Drive</li>
39+
</ul>
40+
</span>
41+
</h1>
2742
<p class="text-lg md:text-xl leading-relaxed text-gray-300 mb-6">{{ i18n "home_header_description" . | safeHTML }}</p>
2843
<div class="flex flex-col md:flex-row gap-6">
2944
<div class="flex flex-col gap-2">

0 commit comments

Comments
 (0)