This is an automated email from the ASF dual-hosted git repository.

aradzinski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 94f8ff4  WIP on cheat sheet.
94f8ff4 is described below

commit 94f8ff40bb077c584b53e797ec7ab1d788e0b9de
Author: Aaron Radzinski <[email protected]>
AuthorDate: Wed Jan 13 13:00:55 2021 -0800

    WIP on cheat sheet.
---
 _includes/quick-links.html  |  3 +++
 _layouts/documentation.html |  7 -------
 _scss/three-cols.scss       | 16 +++++++++++++++-
 cheat-sheet.html            | 19 ++++++++++++++-----
 4 files changed, 32 insertions(+), 13 deletions(-)

diff --git a/_includes/quick-links.html b/_includes/quick-links.html
index f978620..85baf50 100644
--- a/_includes/quick-links.html
+++ b/_includes/quick-links.html
@@ -28,6 +28,9 @@
 <li>
     <i class="fas fa-fw fa-download mr-2"></i><a 
href="/download.html">Download</a>
 </li>
+<li>
+    <i class="fas fa-fw fa-magic mr-2"></i><a href="/cheat-sheet.html">Cheat 
Sheet</a>
+</li>
 <li class="side-nav-title">Support</li>
 <li>
     <nobr>
diff --git a/_layouts/documentation.html b/_layouts/documentation.html
index 6fe4353..9e10ce1 100644
--- a/_layouts/documentation.html
+++ b/_layouts/documentation.html
@@ -105,13 +105,6 @@ layout: interior
                 <a href="/integrations.html">Integrations</a>
                 {% endif %}
             </li>
-            <li>
-                {% if page.id == "cheat_sheet" %}
-                <a class="active" href="/cheat-sheet.html">Cheat 
Sheet&nbsp;&nbsp;<i class="fa fa-ambulance"></i></a>
-                {% else %}
-                <a href="/cheat-sheet.html">Cheat Sheet&nbsp;&nbsp;<i 
class="fa fa-ambulance"></i></a>
-                {% endif %}
-            </li>
             <li class="side-nav-title">Tools</li>
             <li>
                 {% if page.id == "script" %}
diff --git a/_scss/three-cols.scss b/_scss/three-cols.scss
index 56960b3..f86ef6e 100644
--- a/_scss/three-cols.scss
+++ b/_scss/three-cols.scss
@@ -203,9 +203,23 @@ ul.side-nav {
     }
 
     i.fa-download {
-        font-size: 90%;
         color: $color-turquoise;
     }
+
+    i.fa-magic {
+        color: $color-amethyst;
+    }
+}
+
+.page-title {
+    i.fa-magic {
+        color: $color-amethyst;
+    }
+}
+.breadcrumb {
+    i.fa-magic {
+        display: none; // Hide it.
+    }
 }
 
 li.side-nav-title:after {
diff --git a/cheat-sheet.html b/cheat-sheet.html
index 627e949..c366fda 100644
--- a/cheat-sheet.html
+++ b/cheat-sheet.html
@@ -1,5 +1,5 @@
 ---
-active_crumb: Cheat Sheet
+active_crumb: Cheat Sheet <i class="fa fa-fw fa-magic"></i>
 layout: documentation
 id: cheat_sheet
 ---
@@ -23,14 +23,23 @@ id: cheat_sheet
 
 <div id="cheat-sheet" class="col-md-8 second-column">
     <section id="cs1">
-        <h2 class="section-title">Cheat Sheet</h2>
+        <h2 class="section-title">Quick Install</h2>
+    </section>
+    <section id="cs2">
+        <h2 class="section-title">Start <span class="amp">&amp;</span> Stop 
REST Server</h2>
+    </section>
+    <section id="cs3">
+        <h2 class="section-title">Start <span class="amp">&amp;</span> Stop 
Standalone Probe</h2>
+    </section>
+    <section id="cs4">
+        <h2 class="section-title">Auto Model Test</h2>
+    </section>
+    <section id="cs5">
+        <h2 class="section-title">Quick Install</h2>
     </section>
-
 </div>
 <div class="col-md-2 third-column">
     <ul class="side-nav">
-        <li class="side-nav-title">On This Page</li>
-        <li><a href="#cs1">Data Model</a></li>
         {% include quick-links.html %}
     </ul>
 </div>

Reply via email to