You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by dm...@apache.org on 2020/06/20 04:47:00 UTC
[ignite-website] branch master updated: implemented promotion bar
on top of the page (#21)
This is an automated email from the ASF dual-hosted git repository.
dmagda pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite-website.git
The following commit(s) were added to refs/heads/master by this push:
new 8d335a2 implemented promotion bar on top of the page (#21)
8d335a2 is described below
commit 8d335a2bbc5129a45acf1507c9609db9c5e2e86d
Author: Mauricio Stekl <ma...@stekl.org>
AuthorDate: Sat Jun 20 01:46:50 2020 -0300
implemented promotion bar on top of the page (#21)
Co-authored-by: Mauricio Stekl <ma...@gridgain.com>
---
css/ignite-redesign.css | 2 +-
includes/header.html | 4 ++++
includes/styles.html | 5 ++++-
scss/ignite-redesign.scss | 20 +++++++++++++++++++-
4 files changed, 28 insertions(+), 3 deletions(-)
diff --git a/css/ignite-redesign.css b/css/ignite-redesign.css
index c6e5395..12e938c 100644
--- a/css/ignite-redesign.css
+++ b/css/ignite-redesign.css
@@ -1 +1 @@
-@charset "UTF-8";code[class*=language-],pre[class*=language-]{color:#000;background:0 0;text-shadow:0 1px #fff;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class [...]
\ No newline at end of file
+@charset "UTF-8";code[class*=language-],pre[class*=language-]{color:#000;background:0 0;text-shadow:0 1px #fff;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class [...]
\ No newline at end of file
diff --git a/includes/header.html b/includes/header.html
index c1e18e1..010ec53 100644
--- a/includes/header.html
+++ b/includes/header.html
@@ -1,6 +1,10 @@
<!-- REMEMBER TO COPY ALL CHANGES TO download.html -->
<header id="header" class="affix header sticky-top shrink" data-spy="affix" data-offset-top="0">
+ <div id="promotion-bar">
+ <p>Webinar: "Learn Apache Ignite Through Coding Examples" - <a href="https://www.gridgain.com/resources/webinars/learn-apache-ignite-through-coding-examples" target="_blank" rel="noopener">Learn More</a></p>
+ </div>
+
<div class="container">
<nav id="nav" class=" navbar navbar-expand-lg d-flex bd-highlight mb-3" role="navigation">
<a href="/" class="mr-auto p-2 bd-highlight navbar-brand" aria-label="Ignite Homepage"><img
diff --git a/includes/styles.html b/includes/styles.html
index 2a43eed..16099a4 100644
--- a/includes/styles.html
+++ b/includes/styles.html
@@ -1 +1,4 @@
-<!-- remember to copy this content to downloads.html --><style>@charset "UTF-8";:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#055799;--secondary:#b02032;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--gray:#e9e9e9;--shadow-gray:#d5d5d5;--ignite-red:#f20025;--bre [...]
\ No newline at end of file
+<!-- remember to copy this content to downloads.html --><style>@charset "UTF-8";:root{--blue:#007bff;--indigo:#6610f2;--purple:#6f42c1;--pink:#e83e8c;--red:#dc3545;--orange:#fd7e14;--yellow:#ffc107;--green:#28a745;--teal:#20c997;--cyan:#17a2b8;--white:#fff;--gray:#6c757d;--gray-dark:#343a40;--primary:#055799;--secondary:#b02032;--success:#28a745;--info:#17a2b8;--warning:#ffc107;--danger:#dc3545;--light:#f8f9fa;--dark:#343a40;--gray:#e9e9e9;--shadow-gray:#d5d5d5;--ignite-red:#f20025;--bre [...]
+</style>
+<style>/** do not delete the following styles. It fixes odds issues when using the critical css above in firefox */
+body {opacity: 0;}.fa{display: none;}</style>
\ No newline at end of file
diff --git a/scss/ignite-redesign.scss b/scss/ignite-redesign.scss
index 798c4b7..bd6cfa3 100644
--- a/scss/ignite-redesign.scss
+++ b/scss/ignite-redesign.scss
@@ -107,7 +107,25 @@ strong {
/** start header */
#header {
-
+ #promotion-bar {
+ background-color: #333333;
+ padding: 8px;
+
+ p {
+ font-size: 14px;
+ line-height: 1.4em;
+ font-weight: 600;
+ padding: 0;
+ margin: 0;
+
+ color: #f0f0f0;
+ text-align: center;
+
+ a {
+ color: #FCB903;
+ }
+ }
+ }
#nav {
padding: 0.5rem 0;