Skip to content

Commit d69ae3d

Browse files
committed
Redesign download section for world-class UX
- Add GitHub Invertocat icon to hero Download APK button - Simplify download section to "Also available on" - Remove card-based layout in favor of store badges - Add F-Droid badge (grayed, coming soon) - Keep IzzyOnDroid badge (live) - Cleaner visual hierarchy: hero CTA > store alternatives
1 parent c2f14d6 commit d69ae3d

1 file changed

Lines changed: 37 additions & 64 deletions

File tree

index.html

Lines changed: 37 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -327,67 +327,24 @@
327327

328328
/* Download Section */
329329
.download {
330-
padding: 6rem 2rem;
330+
padding: 4rem 2rem;
331331
text-align: center;
332332
background: var(--bg-card);
333333
}
334334

335335
.download h2 {
336-
font-size: clamp(2rem, 5vw, 3rem);
337-
margin-bottom: 1rem;
338-
}
339-
340-
.download-subtitle {
341-
color: var(--text-secondary);
342-
font-size: 1.1rem;
343-
margin-bottom: 3rem;
344-
}
345-
346-
.download-options {
347-
display: flex;
348-
gap: 1.5rem;
349-
justify-content: center;
350-
flex-wrap: wrap;
351-
max-width: 800px;
352-
margin: 0 auto;
353-
}
354-
355-
.download-card {
356-
background: var(--bg-elevated);
357-
border: 1px solid var(--border);
358-
border-radius: 16px;
359-
padding: 2rem;
360-
min-width: 220px;
361-
text-decoration: none;
362-
color: var(--text-primary);
363-
transition: all 0.2s;
364-
}
365-
366-
.download-card:hover {
367-
border-color: var(--accent);
368-
transform: translateY(-4px);
369-
}
370-
371-
.download-card-icon {
372-
font-size: 2.5rem;
373-
margin-bottom: 1rem;
374-
}
375-
376-
.download-card h3 {
377-
font-size: 1.1rem;
378-
margin-bottom: 0.25rem;
379-
}
380-
381-
.download-card p {
336+
font-size: 1.5rem;
337+
font-weight: 500;
382338
color: var(--text-secondary);
383-
font-size: 0.85rem;
339+
margin-bottom: 2rem;
384340
}
385341

386342
.store-badges {
387343
display: flex;
388-
gap: 1rem;
344+
gap: 2rem;
389345
justify-content: center;
390-
margin-top: 2rem;
346+
align-items: flex-start;
347+
flex-wrap: wrap;
391348
}
392349

393350
.store-badges a {
@@ -403,6 +360,26 @@
403360
height: 60px;
404361
}
405362

363+
.badge-coming-soon {
364+
display: flex;
365+
flex-direction: column;
366+
align-items: center;
367+
gap: 0.5rem;
368+
opacity: 0.4;
369+
}
370+
371+
.badge-coming-soon img {
372+
height: 60px;
373+
filter: grayscale(100%);
374+
}
375+
376+
.badge-coming-soon span {
377+
font-size: 0.75rem;
378+
color: var(--text-muted);
379+
text-transform: uppercase;
380+
letter-spacing: 0.05em;
381+
}
382+
406383
/* Footer */
407384
footer {
408385
padding: 3rem 2rem;
@@ -492,6 +469,9 @@ <h1>The calendar that respects your privacy</h1>
492469
</p>
493470
<div class="cta-buttons">
494471
<a href="https://github.com/KashCal/KashCal/releases/latest" class="btn btn-primary">
472+
<svg viewBox="0 0 16 16" width="20" height="20" fill="currentColor" aria-hidden="true">
473+
<path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/>
474+
</svg>
495475
Download APK
496476
</a>
497477
<a href="https://github.com/KashCal/KashCal" class="btn btn-secondary">
@@ -610,26 +590,19 @@ <h3>No Account</h3>
610590
</section>
611591

612592
<section class="download" id="download">
613-
<h2>Get KashCal</h2>
614-
<p class="download-subtitle">Free, forever. No strings attached.</p>
615-
<div class="download-options">
616-
<a href="https://github.com/KashCal/KashCal/releases/latest" class="download-card">
617-
<div class="download-card-icon">📦</div>
618-
<h3>GitHub Releases</h3>
619-
<p>Download APK directly</p>
620-
</a>
621-
<a href="#" class="download-card" style="opacity: 0.6; pointer-events: none;">
622-
<div class="download-card-icon">🤖</div>
623-
<h3>F-Droid</h3>
624-
<p>Coming soon</p>
625-
</a>
626-
</div>
593+
<h2>Also available on</h2>
627594
<div class="store-badges">
628595
<a href="https://apt.izzysoft.de/fdroid/index/apk/org.onekash.kashcal">
629596
<img src="https://gitlab.com/IzzyOnDroid/repo/-/raw/master/assets/IzzyOnDroidButtonGreyBorder_nofont.png"
630597
alt="Get it on IzzyOnDroid"
631598
height="60">
632599
</a>
600+
<div class="badge-coming-soon">
601+
<img src="https://f-droid.org/assets/fdroid-logo-text_S0MUfk_FsnAYL7n2MQye-34IoSNm6QM6xYjDnMqkufo=.svg"
602+
alt="F-Droid"
603+
height="60">
604+
<span>Coming soon</span>
605+
</div>
633606
</div>
634607
</section>
635608

0 commit comments

Comments
 (0)