Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
registration: Add subtitles to create demo and create realm pages.
Lauryn Menard70dea8fe912b
diff --git a/templates/zerver/create_realm/create_demo_realm.html b/templates/zerver/create_realm/create_demo_realm.htmlindex 18b214566c4..860812d12bf 100644--- a/templates/zerver/create_realm/create_demo_realm.html+++ b/templates/zerver/create_realm/create_demo_realm.html@@ -7,9 +7,13 @@{% block portico_content %}<div class="register-account flex full-page"><div class="center-block new-style" id="demo-realm-creation">- <div class="pitch">- <h1>{{ _("Try Zulip in a demo organization") }}</h1>- <p>{{ _("No email required.") }}</p>+ <div class="registration-lead-section">+ <h1 class="registration-lead-title">{{ _("Try Zulip in a demo organization") }}</h1>+ <p class="registration-lead-subtitle">+ {% trans %}+ No email required. Or <a class="registration-lead-subtitle-link" href="{{ root_domain_url }}/new/">create a permanent organization</a>.+ {% endtrans %}+ </p></div><form class="white-box" id="create_demo_realm" action="{{ current_url() }}" method="post">{{ csrf_input }}diff --git a/templates/zerver/create_realm/create_realm.html b/templates/zerver/create_realm/create_realm.htmlindex f359ecedb46..9cd3d821c49 100644--- a/templates/zerver/create_realm/create_realm.html+++ b/templates/zerver/create_realm/create_realm.html@@ -12,8 +12,15 @@<div class="app-main register-page-container new-style flex full-page"><div class="register-form" id="new-realm-creation">- <div class="lead">- <h1 class="get-started">{{ _("Create a new Zulip organization") }}</h1>+ <div class="registration-lead-section">+ <h1 class="registration-lead-title">{{ _("Create a new Zulip organization") }}</h1>+ {% if corporate_enabled %}+ <p class="registration-lead-subtitle">+ {% trans %}+ Or <a class="registration-lead-subtitle-link" href="{{ root_domain_url }}/new/demo/">create a demo organization</a> — no email required!+ {% endtrans %}+ </p>+ {% endif %}</div><div class="white-box"><form class="form-inline" id="create_realm" name="email_form"diff --git a/web/styles/portico/portico_signin.css b/web/styles/portico/portico_signin.cssindex baec055ea76..2a6dccff003 100644--- a/web/styles/portico/portico_signin.css+++ b/web/styles/portico/portico_signin.css@@ -701,6 +701,37 @@ html {/* -- /accounts/register/ page -- */.portico-page {+ .registration-lead-section {+ margin: 10px 0;+ text-align: center;+ width: 100%;+ max-width: 100%;++ .registration-lead-title {+ margin: 5px 0;+ font-family: inherit;+ font-weight: 300;+ font-size: 32px;+ line-height: 40px;+ color: hsl(0deg 0% 40%);+ text-rendering: optimizelegibility;+ }++ .registration-lead-subtitle {+ margin: 0;+ font-family: inherit;+ font-weight: 400;+ font-size: 16px;+ line-height: 150%;+ color: hsl(0deg 0% 40%);++ .registration-lead-subtitle-link {+ color: hsl(200deg 100% 40%);+ text-decoration: none;+ }+ }+ }+.pitch {& h1 {margin-bottom: 5px;