mirror of https://github.com/zulip/zulip.git
landing-page: Stop relying on image paths.
This commit is contained in:
parent
c24bd07b76
commit
1f47d7793d
|
@ -96,6 +96,7 @@ 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);
|
||||
|
||||
|
|
|
@ -2025,14 +2025,7 @@ nav {
|
|||
max-width: 600px;
|
||||
}
|
||||
|
||||
.portico-landing.apps
|
||||
.hero
|
||||
.image
|
||||
img[src="/static/images/app-screenshots/zulip-android.png"],
|
||||
.portico-landing.apps
|
||||
.hero
|
||||
.image
|
||||
img[src="/static/images/app-screenshots/zulip-iphone-rough.png"] {
|
||||
.portico-landing.apps .hero .image img.app-screenshot-mobile {
|
||||
height: 85%;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue