This commit is contained in:
zodiepupper 2026-01-08 06:46:30 +00:00 committed by GitHub
commit ed17fee842
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 1418 additions and 4 deletions

View file

@ -160,8 +160,11 @@ windows_installer = "https://example.com/download"
macos_installer = "https://example.com/download"
google_play_store.app_id = "com.example.app"
f_droid.app_id = "com.example.app"
other_android_link = "https://example.com/download.apk"
apple_app_store = { app_id = "id1234567890", org = "example" }
other_ios_link = "https://example.com/download"
flathub.app_id = "com.example.app"
other_linux_link = "https://example.com/download"
webapp = "https://chat.example.com"
+++

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 47 KiB

View file

@ -0,0 +1,76 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
id="livetype"
width="119.66437"
height="40.00013"
viewBox="0 0 119.66437 40.00013"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs24" />
<title
id="title1">Download_on_the_App_Store_Badge_US-UK_RGB_blk_4SVG_092917</title>
<g
id="g24"
transform="translate(0,1.3e-4)">
<g
id="g11">
<g
id="g2"
style="display:inline">
<path
d="M 110.13477,0 H 9.53468 C 9.16798,0 8.80568,0 8.43995,0.002 8.1338,0.004 7.83009,0.00981 7.521,0.0147 a 13.21476,13.21476 0 0 0 -2.0039,0.17671 6.66509,6.66509 0 0 0 -1.90088,0.627 6.43779,6.43779 0 0 0 -1.61865,1.17866 6.25844,6.25844 0 0 0 -1.17822,1.62109 6.60119,6.60119 0 0 0 -0.625,1.90332 12.993,12.993 0 0 0 -0.1792,2.002 C 0.00587,7.83008 0.00489,8.1377 0,8.44434 V 31.5586 c 0.00489,0.3105 0.00587,0.6113 0.01515,0.9219 a 12.99232,12.99232 0 0 0 0.1792,2.0019 6.58756,6.58756 0 0 0 0.625,1.9043 6.20778,6.20778 0 0 0 1.17822,1.6143 6.27445,6.27445 0 0 0 1.61865,1.1787 6.70082,6.70082 0 0 0 1.90088,0.6308 13.45514,13.45514 0 0 0 2.0039,0.1768 C 7.83009,39.9941 8.1338,39.998 8.43995,39.998 8.80567,40 9.168,40 9.53468,40 h 100.60009 c 0.3594,0 0.7246,0 1.084,-0.002 0.3047,0 0.6172,-0.0039 0.9219,-0.0107 a 13.279,13.279 0 0 0 2,-0.1768 6.80432,6.80432 0 0 0 1.9082,-0.6308 6.27742,6.27742 0 0 0 1.6172,-1.1787 6.39482,6.39482 0 0 0 1.1816,-1.6143 6.60413,6.60413 0 0 0 0.6191,-1.9043 13.50643,13.50643 0 0 0 0.1856,-2.0019 c 0.004,-0.3106 0.004,-0.6114 0.004,-0.9219 0.008,-0.3633 0.008,-0.7246 0.008,-1.0938 V 9.53613 c 0,-0.36621 0,-0.72949 -0.008,-1.09179 0,-0.30664 0,-0.61426 -0.004,-0.9209 a 13.5071,13.5071 0 0 0 -0.1856,-2.002 6.6177,6.6177 0 0 0 -0.6191,-1.90332 6.46619,6.46619 0 0 0 -2.7988,-2.7998 6.76754,6.76754 0 0 0 -1.9082,-0.627 13.04394,13.04394 0 0 0 -2,-0.17676 c -0.3047,-0.00488 -0.6172,-0.01074 -0.9219,-0.01269 -0.3594,-0.002 -0.7246,-0.002 -1.084,-0.002 z"
style="display:inline;fill:#a6a6a6"
id="path1" />
<path
d="m 8.44483,39.125 c -0.30468,0 -0.602,-0.0039 -0.90429,-0.0107 A 12.68714,12.68714 0 0 1 5.6714,38.9512 5.88381,5.88381 0 0 1 4.01466,38.4033 5.40573,5.40573 0 0 1 2.61766,37.3867 5.32082,5.32082 0 0 1 1.59715,35.9902 5.72186,5.72186 0 0 1 1.05415,34.333 12.41351,12.41351 0 0 1 0.88765,32.458 C 0.88131,32.2471 0.87301,31.5449 0.87301,31.5449 V 8.44434 c 0,0 0.00884,-0.69141 0.01469,-0.89454 A 12.37039,12.37039 0 0 1 1.05323,5.67773 5.7555,5.7555 0 0 1 1.59669,4.01563 5.37349,5.37349 0 0 1 2.61183,2.61768 5.56543,5.56543 0 0 1 4.01417,1.59521 5.82309,5.82309 0 0 1 5.66749,1.05127 12.58589,12.58589 0 0 1 7.543,0.88721 L 8.44532,0.875 h 102.76855 l 0.9131,0.0127 a 12.38493,12.38493 0 0 1 1.8584,0.16259 5.93833,5.93833 0 0 1 1.6709,0.54785 5.59374,5.59374 0 0 1 2.415,2.41993 5.76267,5.76267 0 0 1 0.5352,1.64892 12.995,12.995 0 0 1 0.1738,1.88721 c 0.003,0.2832 0.003,0.5874 0.003,0.89014 0.008,0.375 0.008,0.73193 0.008,1.09179 V 30.4648 c 0,0.3633 0,0.7178 -0.008,1.0752 0,0.3252 0,0.6231 -0.004,0.9297 a 12.73126,12.73126 0 0 1 -0.1709,1.8535 5.739,5.739 0 0 1 -0.54,1.67 5.48029,5.48029 0 0 1 -1.0156,1.3857 5.4129,5.4129 0 0 1 -1.3994,1.0225 5.86168,5.86168 0 0 1 -1.668,0.5498 12.54218,12.54218 0 0 1 -1.8692,0.1631 c -0.2929,0.0068 -0.5996,0.0107 -0.8974,0.0107 l -1.084,0.002 z"
id="path2"
style="display:inline" />
</g>
<g
id="_Group_"
data-name="&lt;Group&gt;">
<g
id="_Group_2"
data-name="&lt;Group&gt;"
style="display:inline">
<g
id="_Group_3"
data-name="&lt;Group&gt;"
style="display:inline">
<path
id="_Path_"
data-name="&lt;Path&gt;"
d="m 24.76888,20.30068 a 4.94881,4.94881 0 0 1 2.35656,-4.15206 5.06566,5.06566 0 0 0 -3.99116,-2.15768 c -1.67924,-0.17626 -3.30719,1.00483 -4.1629,1.00483 -0.87227,0 -2.18977,-0.98733 -3.6085,-0.95814 a 5.31529,5.31529 0 0 0 -4.47292,2.72787 c -1.934,3.34842 -0.49141,8.26947 1.3612,10.97608 0.9269,1.32535 2.01018,2.8058 3.42763,2.7533 1.38706,-0.05753 1.9051,-0.88448 3.5794,-0.88448 1.65876,0 2.14479,0.88448 3.591,0.8511 1.48838,-0.02416 2.42613,-1.33124 3.32051,-2.66914 a 10.962,10.962 0 0 0 1.51842,-3.09251 4.78205,4.78205 0 0 1 -2.91924,-4.39917 z"
style="display:inline;fill:#ffffff" />
<path
id="_Path_2"
data-name="&lt;Path&gt;"
d="m 22.03725,12.21089 a 4.87248,4.87248 0 0 0 1.11452,-3.49062 4.95746,4.95746 0 0 0 -3.20758,1.65961 4.63634,4.63634 0 0 0 -1.14371,3.36139 4.09905,4.09905 0 0 0 3.23677,-1.53038 z"
style="display:inline;fill:#ffffff" />
</g>
</g>
</g>
</g>
</g>
<text
xml:space="preserve"
style="font-family:'Adwaita Sans';-inkscape-font-specification:'Adwaita Sans';text-align:start;writing-mode:lr-tb;direction:ltr;text-anchor:start;fill:#ffffff;stroke-width:0.085"
x="35.478359"
y="30.496367"
id="text24"><tspan
id="tspan24"
x="35.478359"
y="30.496367">iOS</tspan></text>
<text
xml:space="preserve"
style="font-size:7.95434px;font-family:'Adwaita Sans';-inkscape-font-specification:'Adwaita Sans';text-align:start;writing-mode:lr-tb;direction:ltr;text-anchor:start;fill:#ffffff;stroke-width:0.0563432"
x="35.666195"
y="14.604665"
id="text24-6"><tspan
id="tspan24-4"
x="35.666195"
y="14.604665"
style="stroke-width:0.0563432">Download for</tspan></text>
</svg>

After

Width:  |  Height:  |  Size: 5.6 KiB

View file

@ -1,8 +1,8 @@
{% macro classes(client) %}
{% if client.packages.apple_app_store.app_id and client.packages.apple_app_store.org %}
{% if client.packages.apple_app_store.app_id and client.packages.apple_app_store.org or client.packages.other_ios_link %}
platform-ios
{% endif %}
{% if client.packages.google_play_store.app_id %}
{% if client.packages.google_play_store.app_id or client.packages.other_android_link %}
platform-android
{% endif %}
{% if client.packages.flathub.app_id %}
@ -61,6 +61,10 @@ licence-{{ client.licence | slugify }}
{% if packages.webapp %}
<a href="{{ packages.webapp }}"><img src="/assets/stores/use_in_browser.svg" alt="Use in your browser" /></a>
{% endif %}
{% if packages.other_ios_link %}
<a href="{{ packages.other_ios_link }}"><img
src="/assets/stores/download_for_ios.svg" alt="Download for iOS" /></a>
{% endif %}
{% if packages.apple_app_store %}
<a href="https://apps.apple.com/app/{{ packages.apple_app_store.org }}/{{ packages.apple_app_store.app_id }}"><img
src="/assets/stores/app_store.svg" alt="Download on the App Store" /></a>
@ -73,11 +77,15 @@ licence-{{ client.licence | slugify }}
<a href="https://play.google.com/store/apps/details?id={{ packages.google_play_store.app_id }}"><img
src="/assets/stores/play_store.svg" alt="Download on Google Play" /></a>
{% endif %}
{% if packages.other_android_link %}
<a href="{{ packages.other_android_link }}"><img
src="/assets/stores/download_for_android.svg" alt="Download for Android" /></a>
{% endif %}
{% endmacro %}
{% macro platforms(packages) %}
{% if packages.apple_app_store %}<div class="platform-pill">iOS</div>{% endif %}
{% if packages.google_play_store or packages.f_droid %}<div class="platform-pill">Android</div>{% endif %}
{% if packages.apple_app_store or packages.other_ios_link %}<div class="platform-pill">iOS</div>{% endif %}
{% if packages.google_play_store or packages.f_droid or packages.other_android_link%}<div class="platform-pill">Android</div>{% endif %}
{% if packages.windows_installer %}<div class="platform-pill">Windows</div>{% endif %}
{% if packages.macos_installer %}<div class="platform-pill">macOS</div>{% endif %}
{% if packages.flathub or packages.other_linux_link %}<div class="platform-pill">Linux</div>{% endif %}