Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

landing-page: Remove unused hero-screen class.

Anders Kaseorga7263583dbf6
diff --git a/static/images/landing-page/macbook-empty.png b/static/images/landing-page/macbook-empty.png
deleted file mode 100644
index c684d619c8b..00000000000
Binary files a/static/images/landing-page/macbook-empty.png and /dev/null differ
diff --git a/static/js/portico/landing-page.js b/static/js/portico/landing-page.js
index 96128f73d4b..f7f7fd71edd 100644
--- a/static/js/portico/landing-page.js
+++ b/static/js/portico/landing-page.js
@@ -8,17 +8,6 @@ export function path_parts() {
}
const hello_events = function () {
- let counter = 0;
- $(window).on("scroll", function () {
- if (counter % 2 === 0) {
- $(".screen.hero-screen .message-feed").css(
- "transform",
- "translateY(-" + $(this).scrollTop() / 5 + "px)",
- );
- }
- counter += 1;
- });
-
$(".footer").addClass("hello");
};
diff --git a/static/styles/portico/landing_page.css b/static/styles/portico/landing_page.css
index a7f1c40435b..c5b28246c5d 100644
--- a/static/styles/portico/landing_page.css
+++ b/static/styles/portico/landing_page.css
@@ -1212,28 +1212,6 @@ nav {
z-index: 1;
- &.hero-screen {
- padding: 95px 170px;
- height: 385px;
-
- background-image: url("../../images/landing-page/macbook-empty.png");
- background-size: 100% auto;
-
- background-color: transparent;
- box-shadow: none;
-
- &::before,
- &::after {
- content: "";
- display: none;
- }
-
- .main-page {
- transform: translateY(-12px) translateX(3px);
- border: 5px solid hsl(0, 0%, 0%);
- }
- }
-
&::before {
content: " ";
position: absolute;
@@ -2945,17 +2923,6 @@ nav {
margin: 0;
}
- .portico-landing.hello .screen.hero-screen {
- width: 420px;
- height: 282px;
- padding: 65px 117px;
-
- .main-page {
- overflow: hidden;
- transform: translateY(-12px) translateX(2px);
- }
- }
-
.portico-landing .testimonials .carousel-quotes {
width: 100%;
}
@@ -2968,11 +2935,6 @@ nav {
left: -40px;
}
- .screen.hero-screen .line {
- height: 4px;
- margin: 4px 0;
- }
-
.screen .message-feed .message .content {
top: -12px;
}
@@ -3165,12 +3127,6 @@ nav {
width: auto;
}
- .portico-landing.hello .screen.hero-screen {
- width: 300px;
- height: 201px;
- padding: 43px 73px;
- }
-
.portico-landing.features-app {
section {
padding: 0 20px;
@@ -3271,10 +3227,6 @@ nav {
}
}
- .portico-landing.hello .screen.hero-screen {
- display: none;
- }
-
nav {
.hamburger {
display: inline-block;