diff --git a/templates/corporate/apps.html b/templates/corporate/apps.html index c2e5e71193..11a0e85640 100644 --- a/templates/corporate/apps.html +++ b/templates/corporate/apps.html @@ -36,11 +36,6 @@ -
-
- -
-
diff --git a/web/images/app-screenshots/macbook.png b/web/images/app-screenshots/macbook.png deleted file mode 100644 index df6d24214c..0000000000 Binary files a/web/images/app-screenshots/macbook.png and /dev/null differ diff --git a/web/images/app-screenshots/microsoft.png b/web/images/app-screenshots/microsoft.png deleted file mode 100644 index 20a21b2054..0000000000 Binary files a/web/images/app-screenshots/microsoft.png and /dev/null differ diff --git a/web/images/app-screenshots/ubuntu.png b/web/images/app-screenshots/ubuntu.png deleted file mode 100644 index 9456f1ee50..0000000000 Binary files a/web/images/app-screenshots/ubuntu.png and /dev/null differ diff --git a/web/images/app-screenshots/zulip-android.png b/web/images/app-screenshots/zulip-android.png deleted file mode 100644 index ecf9201175..0000000000 Binary files a/web/images/app-screenshots/zulip-android.png and /dev/null differ diff --git a/web/images/app-screenshots/zulip-iphone-rough.png b/web/images/app-screenshots/zulip-iphone-rough.png deleted file mode 100644 index 869cc07ef8..0000000000 Binary files a/web/images/app-screenshots/zulip-iphone-rough.png and /dev/null differ diff --git a/web/src/portico/landing-page.js b/web/src/portico/landing-page.js index 8068f68b07..739a0daa9d 100644 --- a/web/src/portico/landing-page.js +++ b/web/src/portico/landing-page.js @@ -1,10 +1,5 @@ import $ from "jquery"; -import macbook_image from "../../images/app-screenshots/macbook.png"; -import microsoft_image from "../../images/app-screenshots/microsoft.png"; -import ubuntu_image from "../../images/app-screenshots/ubuntu.png"; -import android_image from "../../images/app-screenshots/zulip-android.png"; -import iphone_image from "../../images/app-screenshots/zulip-iphone-rough.png"; import {page_params} from "../page_params"; import {detect_user_os} from "./tabbed-instructions"; @@ -17,7 +12,6 @@ export function path_parts() { const apps_events = function () { const info = { windows: { - image: microsoft_image, alt: "Windows", description: "Zulip for Windows is even better than Zulip on the web, with a cleaner look, tray integration, native notifications, and support for multiple Zulip accounts.", @@ -27,7 +21,6 @@ const apps_events = function () { app_type: "desktop", }, mac: { - image: macbook_image, alt: "macOS", description: "Zulip on macOS is even better than Zulip on the web, with a cleaner look, tray integration, native notifications, and support for multiple Zulip accounts.", @@ -38,7 +31,6 @@ const apps_events = function () { app_type: "desktop", }, android: { - image: android_image, alt: "Android", description: "Zulip's native Android app makes it easy to keep up while on the go.", show_instructions: false, @@ -47,7 +39,6 @@ const apps_events = function () { app_type: "mobile", }, ios: { - image: iphone_image, alt: "iOS", description: "Zulip's native iOS app makes it easy to keep up while on the go.", show_instructions: false, @@ -55,7 +46,6 @@ const apps_events = function () { app_type: "mobile", }, linux: { - image: ubuntu_image, alt: "Linux", description: "Zulip on the Linux desktop is even better than Zulip on the web, with a cleaner look, tray integration, native notifications, and support for multiple Zulip accounts.", @@ -100,8 +90,6 @@ const apps_events = function () { $download_from_apple_app_store.attr("href", version_info.app_store_link); $download_android_apk.attr("href", version_info.download_link); $download_mac_arm64.attr("href", version_info.mac_arm64_link); - $(".image img").addClass(`app-screenshot-${version_info.app_type}`); - $(".image img").attr("src", version_info.image); $download_instructions.find("a").attr("href", version_info.install_guide); $download_instructions.toggle(version_info.show_instructions); diff --git a/web/styles/portico/landing_page.css b/web/styles/portico/landing_page.css index 992d2d173b..074a979c57 100644 --- a/web/styles/portico/landing_page.css +++ b/web/styles/portico/landing_page.css @@ -1361,8 +1361,7 @@ button { background-repeat: no-repeat; } -.portico-landing.apps .hero .info, -.portico-landing.apps .hero .image { +.portico-landing.apps .hero .info { position: relative; width: 50%; @@ -1372,26 +1371,14 @@ button { z-index: 1; } -.portico-landing.apps .hero .image img { - border-radius: 4px 4px 0 0; -} - .portico-landing.apps .hero .info .cta { text-shadow: 0 0 60px hsl(0deg 0% 0% / 30%); max-width: 600px; } -.portico-landing.apps .hero .image img.app-screenshot-mobile { - height: 85%; -} - -.portico-landing.apps .hero .info .flex, -.portico-landing.apps .hero .image .flex { +.portico-landing.apps .hero .info .flex { height: 500px; min-height: 0; -} - -.portico-landing.apps .hero .info .flex { width: 90%; }