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.

portico: Add buttons to Why Zulip hero bar.

Alya Abbott18dc503865f1
diff --git a/templates/corporate/why-zulip.html b/templates/corporate/why-zulip.html
index 8397977d95b..b42a382ee11 100644
--- a/templates/corporate/why-zulip.html
+++ b/templates/corporate/why-zulip.html
@@ -15,13 +15,21 @@
{% include 'zerver/landing_nav.html' %}
-<div class="portico-landing why-page">
+<div class="portico-landing why-page" id="why-zulip-page">
<div class="hero bg-pycon why-zulip">
<div class="bg-dimmer"></div>
<div class="content">
<h1 class="center">Why Zulip?</h1>
<p>Efficient communication with organized team chat.</p>
</div>
+ <div class="hero-buttons center">
+ <a href="/new/" class="button">
+ {{ _('Create organization') }}
+ </a>
+ <a href="/request-demo/" class="button">
+ {{ _('Get a demo') }}
+ </a>
+ </div>
</div>
diff --git a/web/styles/portico/landing_page.css b/web/styles/portico/landing_page.css
index 4e979eb059f..f33cf53571a 100644
--- a/web/styles/portico/landing_page.css
+++ b/web/styles/portico/landing_page.css
@@ -2404,6 +2404,7 @@ button {
border-left: 6px solid hsl(168.1deg 49.15% 46.27%);
}
+#why-zulip-page,
.case-study-page,
.solutions-page {
.bottom-register-buttons.extra_margin_before_footer {
@@ -2696,15 +2697,18 @@ button {
}
}
+.self-hosting-page,
+#why-zulip-page {
+ .hero-buttons {
+ margin-top: 30px;
+ }
+}
+
.self-hosting-page {
& p {
font-size: 18px !important;
}
- .hero-buttons {
- margin-top: 30px;
- }
-
.alternative-features {
.feature-container {
padding: 30px;