mirror of https://github.com/zulip/zulip.git
landing-page: Add Microsoft Store download link.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
bca7683f58
commit
5b07bf767b
|
@ -30,6 +30,7 @@
|
||||||
<a class="desktop-download-link no-action" hidden href=""><span class="button green">Download Zulip for <span class="platform"></span></span></a>
|
<a class="desktop-download-link no-action" hidden href=""><span class="button green">Download Zulip for <span class="platform"></span></span></a>
|
||||||
<a class="download-from-google-play-store" hidden href=""><img src="{{ static('images/store-badges/google-play-badge.png') }}" alt=""/></a>
|
<a class="download-from-google-play-store" hidden href=""><img src="{{ static('images/store-badges/google-play-badge.png') }}" alt=""/></a>
|
||||||
<a class="download-from-apple-app-store" hidden href=""><img src="{{ static('images/store-badges/app-store-badge.svg') }}" alt=""/></a>
|
<a class="download-from-apple-app-store" hidden href=""><img src="{{ static('images/store-badges/app-store-badge.svg') }}" alt=""/></a>
|
||||||
|
<a id="download-from-microsoft-store" hidden href="https://apps.microsoft.com/store/detail/XP8HN41S4PLGZ3">or download from the Microsoft Store</a>
|
||||||
<span><a id="download-android-apk" hidden href="https://github.com/zulip/zulip-mobile/releases/latest">or manually download APK</a></span>
|
<span><a id="download-android-apk" hidden href="https://github.com/zulip/zulip-mobile/releases/latest">or manually download APK</a></span>
|
||||||
<span><a id="download-mac-arm64" hidden href="">or download Apple silicon native build</a></span>
|
<span><a id="download-mac-arm64" hidden href="">or download Apple silicon native build</a></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -88,6 +88,7 @@ const apps_events = function () {
|
||||||
const $download_android_apk = $("#download-android-apk");
|
const $download_android_apk = $("#download-android-apk");
|
||||||
const $download_from_google_play_store = $(".download-from-google-play-store");
|
const $download_from_google_play_store = $(".download-from-google-play-store");
|
||||||
const $download_from_apple_app_store = $(".download-from-apple-app-store");
|
const $download_from_apple_app_store = $(".download-from-apple-app-store");
|
||||||
|
const $download_from_microsoft_store = $("#download-from-microsoft-store");
|
||||||
const $download_mac_arm64 = $("#download-mac-arm64");
|
const $download_mac_arm64 = $("#download-mac-arm64");
|
||||||
const $desktop_download_link = $(".desktop-download-link");
|
const $desktop_download_link = $(".desktop-download-link");
|
||||||
const version_info = info[version];
|
const version_info = info[version];
|
||||||
|
@ -110,6 +111,7 @@ const apps_events = function () {
|
||||||
$download_android_apk.toggle(version === "android");
|
$download_android_apk.toggle(version === "android");
|
||||||
$download_from_google_play_store.toggle(version === "android");
|
$download_from_google_play_store.toggle(version === "android");
|
||||||
$download_from_apple_app_store.toggle(version === "ios");
|
$download_from_apple_app_store.toggle(version === "ios");
|
||||||
|
$download_from_microsoft_store.toggle(version === "windows");
|
||||||
$download_mac_arm64.toggle(version === "mac");
|
$download_mac_arm64.toggle(version === "mac");
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -3402,6 +3402,7 @@ button {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#download-from-microsoft-store,
|
||||||
#download-android-apk,
|
#download-android-apk,
|
||||||
#download-mac-arm64 {
|
#download-mac-arm64 {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
Loading…
Reference in New Issue