1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-10-31 15:50:03 +01:00

apps: add download links on login page

* Add Badges with official links to store pages on login page
* Add AppStore/Google Play badges in static img assets [1][2]
* Add translation for "Download on the AppStore" and "Get it on Google Play"

[1] https://developer.apple.com/app-store/marketing/guidelines/
[2] https://partnermarketinghub.withgoogle.com/brands/google-play/visual-identity/badge-guidelines/

Signed-off-by: Alexis Mercier des Rochettes <apernouille@gmail.com>
This commit is contained in:
Alexis Mercier des Rochettes
2025-10-30 01:31:25 +01:00
parent af36d1427a
commit 04001202f2
6 changed files with 134 additions and 0 deletions

View File

@@ -39,6 +39,17 @@ SPDX-License-Identifier: GPL-2.0-or-later
<a href="{% url 'password_reset' %}"
class="badge badge-light">{% trans 'Forgotten your password or username?' %}</a>
</form>
<div class="text-center mt-4">
<a href="https://apps.apple.com/fr/app/la-note-kfet/id6754661723" class="d-inline-block mx-1" aria-label="{% trans 'Download on the AppStore' %}" style="cursor: pointer;">
<img src="/static/img/appstore_badge_fr.svg"
alt="{% trans 'Download on the AppStore' %}" style="height: 50px;">
</a>
<a href="https://play.google.com/store/apps/details?id=org.crans.bde.note&hl=fr" class="d-inline-block mx-1" aria-label="{% trans 'Get it on Google Play' %}" style="cursor: pointer;">
<img src="/static/img/playstore_badge_fr.svg"
alt="{% trans 'Get it on Google Play' %}" style="height: 50px;">
</a>
</div>
</div>
</div>
{% endblock %}