From 5b07bf767bb7ba745eca3866cbe1d0dc5d66cab2 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Tue, 30 May 2023 16:08:23 -0700 Subject: [PATCH] landing-page: Add Microsoft Store download link. Signed-off-by: Anders Kaseorg --- templates/corporate/apps.html | 1 + web/src/portico/landing-page.js | 2 ++ web/styles/portico/landing_page.css | 1 + 3 files changed, 4 insertions(+) diff --git a/templates/corporate/apps.html b/templates/corporate/apps.html index daf06f8666..c2e5e71193 100644 --- a/templates/corporate/apps.html +++ b/templates/corporate/apps.html @@ -30,6 +30,7 @@ + diff --git a/web/src/portico/landing-page.js b/web/src/portico/landing-page.js index 6902d6a108..289bb885cd 100644 --- a/web/src/portico/landing-page.js +++ b/web/src/portico/landing-page.js @@ -88,6 +88,7 @@ const apps_events = function () { const $download_android_apk = $("#download-android-apk"); 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_microsoft_store = $("#download-from-microsoft-store"); const $download_mac_arm64 = $("#download-mac-arm64"); const $desktop_download_link = $(".desktop-download-link"); const version_info = info[version]; @@ -110,6 +111,7 @@ const apps_events = function () { $download_android_apk.toggle(version === "android"); $download_from_google_play_store.toggle(version === "android"); $download_from_apple_app_store.toggle(version === "ios"); + $download_from_microsoft_store.toggle(version === "windows"); $download_mac_arm64.toggle(version === "mac"); }; diff --git a/web/styles/portico/landing_page.css b/web/styles/portico/landing_page.css index 69f907c1cd..56f793e153 100644 --- a/web/styles/portico/landing_page.css +++ b/web/styles/portico/landing_page.css @@ -3402,6 +3402,7 @@ button { } } +#download-from-microsoft-store, #download-android-apk, #download-mac-arm64 { display: inline-block;