diff --git a/static/images/logo/zballoon.png b/static/images/logo/zballoon.png new file mode 100644 index 0000000000..7aeee6646c Binary files /dev/null and b/static/images/logo/zballoon.png differ diff --git a/static/styles/portico.css b/static/styles/portico.css index 1e551d960a..1f81fee8b8 100644 --- a/static/styles/portico.css +++ b/static/styles/portico.css @@ -261,6 +261,11 @@ input.text-error { padding: 6px 0px 6px 0px; } + .header-main .portico-simple-logo { + height: 40px; + width: auto; + } + .app { width: 100%; z-index: 99; @@ -697,12 +702,50 @@ a.bottom-signup-button { margin-left: 10px; } -.main-headline-container { +.main-headline-container, +.os-headline-container { position: relative; height: 100%; padding-top: 40px !important; } +.os-headline-container { + padding: 20px; + background: #1e5799; + background: linear-gradient(to bottom, #1e5799 0%,#2989d8 52%,#7db9e8 100%); + padding-bottom: 40px !important; + text-align: center; +} + +.os-tagline, +.os-footnote { + color: #eeeeee !important; +} + +.os-footnote a:link, +.os-footnote a:visited, +.os-footnote a:active { + color: #eeeeee; + text-decoration: none; + border-bottom: 1px solid #dddddd; +} + +.os-footnote a:hover { + color: #ffffff; + text-decoration: none; + border-bottom: 1px solid #ffffff; +} + +.os-illustration { + height: 200px; + width: auto; + margin-bottom: 15px; +} + +.portico-os-announcement { + padding-top: 40px; +} + .main-headline-logo { display: block; width: 200px; @@ -759,7 +802,7 @@ a.bottom-signup-button { .hello-main { max-width: none; min-width: 0; - padding: 0; + padding: 0 !important; } .footer-padder { diff --git a/templates/zerver/hello.html b/templates/zerver/hello.html index 0e6c100761..8b0bbc5477 100644 --- a/templates/zerver/hello.html +++ b/templates/zerver/hello.html @@ -1,6 +1,22 @@ {% extends "zerver/portico.html" %} {% block hello_page_container %} hello-main{% endblock %} {% block hello_page_footer %} hello-footer{% endblock %} +{% block os_announcement %} + {% if zulip_com %} +
+ Zulip balloon +
+ + Zulip has been released as open source software! + + + Read the announcement or go to the Zulip open source project website. + +
+
+ {% endif %} +{% endblock %} + {% block portico_content %}
diff --git a/templates/zerver/integrations.html b/templates/zerver/integrations.html index e5cb37eeed..ece89d8966 100644 --- a/templates/zerver/integrations.html +++ b/templates/zerver/integrations.html @@ -2,6 +2,22 @@ {# API information page #} +{% block os_announcement %} + {% if zulip_com %} +
+ Zulip balloon +
+ + Zulip has been released as open source software! + + + Read the announcement or go to the Zulip open source project website. + +
+
+ {% endif %} +{% endblock %} + {% block portico_content %} diff --git a/templates/zerver/login.html b/templates/zerver/login.html index 5c15eb4012..577b45d209 100644 --- a/templates/zerver/login.html +++ b/templates/zerver/login.html @@ -9,6 +9,22 @@ {% minified_js 'signup' %} {% endblock %} +{% block os_announcement %} + {% if zulip_com %} +
+ Zulip balloon +
+ + Zulip has been released as open source software! + + + Read the announcement or go to the Zulip open source project website. + +
+
+ {% endif %} +{% endblock %} + {% block portico_content %} {% if password_auth_enabled %} diff --git a/templates/zerver/portico.html b/templates/zerver/portico.html index c3d7762647..73129586b5 100644 --- a/templates/zerver/portico.html +++ b/templates/zerver/portico.html @@ -21,7 +21,7 @@ hence the name. {% if zulip_com %} {% else %} - + {% endif %}
@@ -41,6 +41,10 @@ hence the name.
+
+ {% block os_announcement %} + {% endblock %} +
{% block portico_content %} {% endblock %}