You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ad...@apache.org on 2016/11/05 04:47:48 UTC

[27/50] incubator-mynewt-site git commit: reformat site pages to get more detail above the fold

reformat site pages to get more detail above the fold


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/commit/b1c54810
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/tree/b1c54810
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/diff/b1c54810

Branch: refs/heads/master
Commit: b1c54810388542540b6e8244ab3c38fd23ae876b
Parents: 6f530e4
Author: Gavin Jefferies <ga...@runtime.io>
Authored: Tue Oct 18 11:08:30 2016 -0700
Committer: Gavin Jefferies <ga...@runtime.io>
Committed: Tue Oct 18 11:08:30 2016 -0700

----------------------------------------------------------------------
 custom-theme/css/custom.css   |  2 +-
 custom-theme/css/v2.css       | 13 ------
 custom-theme/download.html    |  2 +-
 custom-theme/landing.html     | 87 +++++++++++++++++---------------------
 custom-theme/main-banner.html |  6 +--
 custom-theme/quick-start.html |  2 +-
 6 files changed, 44 insertions(+), 68 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b1c54810/custom-theme/css/custom.css
----------------------------------------------------------------------
diff --git a/custom-theme/css/custom.css b/custom-theme/css/custom.css
index 8618fc4..86ecac6 100644
--- a/custom-theme/css/custom.css
+++ b/custom-theme/css/custom.css
@@ -27,7 +27,7 @@
 }
 
 body {
-    padding-top: 70px;
+    padding-top: 50px;
 }
 
 @media (max-width: 768px) {

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b1c54810/custom-theme/css/v2.css
----------------------------------------------------------------------
diff --git a/custom-theme/css/v2.css b/custom-theme/css/v2.css
index d26766b..7bb1109 100644
--- a/custom-theme/css/v2.css
+++ b/custom-theme/css/v2.css
@@ -1,6 +1,3 @@
-.v2-main-banner {
-    background-color: #F6F7F9;
-}
 
 .v2-main-banner .logo {
     height: 150px;
@@ -62,16 +59,6 @@
     }
 }
 
-/* Separate left hand side news and updates from right hand side content */
-@media (min-width: 768px) {
-    .v2-main-banner .news, .v2-landing .updates, .rhs {
-        margin-left: 40px;
-    }
-     {
-        margin-left: 40px;
-    }
-}
-
 .v2-landing .updates img {
     width: 100%;
 }

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b1c54810/custom-theme/download.html
----------------------------------------------------------------------
diff --git a/custom-theme/download.html b/custom-theme/download.html
index 741670f..3773801 100644
--- a/custom-theme/download.html
+++ b/custom-theme/download.html
@@ -1,4 +1,4 @@
-{% include 'secondary-banner.html' %}
+{% include 'main-banner.html' %}
 
 <div class="container">
     <div class="row">

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b1c54810/custom-theme/landing.html
----------------------------------------------------------------------
diff --git a/custom-theme/landing.html b/custom-theme/landing.html
index e2ea6cf..fbe2b3f 100644
--- a/custom-theme/landing.html
+++ b/custom-theme/landing.html
@@ -4,15 +4,7 @@
 
     <div class="row">
 
-        <div class="col-md-8 highlights">
-
-            <div class="row">
-                <div class="col-xs-12">
-                    <p class="tagline text-center">
-                        <span class="product">Apache Mynewt</span> is a real-time, modular operating system for connected IoT devices that need to operate for long periods of time under power, memory, and storage constraints. The first connectivity stack offered is BLE 4.2.
-                    </p>
-                </div>
-            </div>
+        <div class="col-xs-12 highlights">
 
            <div class="row highlight">
                 <div class="col-xs-12">
@@ -94,48 +86,45 @@ Read more about NimBLE in the <a href="https://mynewt.apache.org/latest/network/
                 </div>
             </div>
 
-        </div>
+            <div class="row updates">
 
-        <div class="col-md-4">
-            <div class="updates">
-
-                <img src="/img/OS_arch.png">
-
-                <h2>Supported Boards</h2>
-
-                <ul>
-                    <li>
-                        <a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF52832/"> nRF52 DK </a> from Nordic Semiconductor (Cortex-M4)
-                    </li>
-                    <li>
-                        <a href="http://ruuvitag.com"> RuuviTag </a> Sensor beacon platform (Nordic nRF52832 based)
-                    </li>
-                    <li>
-                        <a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF51822"> nRF51 DK </a> from Nordic Semiconductor (Cortex-M0)
-                    </li>
-                    <li>
-                        <a href="http://redbearlab.com/blenano/"> BLE Nano </a> from RedBearLabs (Nordic nRF51822 SoC based)
-                    </li>
-                    <li>
-                        <a href="https://www.rigado.com/products/bmd-300-eval-kit/"> BMD-300-EVAL-ES </a> from Rigado (Cortex-M4)
-                    </li>
-                    <li>
-                        <a href="http://www.st.com/en/evaluation-tools/stm32f3discovery.html"> STM32F3DISCOVERY </a> from ST Micro (Cortex-M4)
-                    </li>
-                    <li>
-                        <a href=" https://www.olimex.com/Products/ARM/ST/STM32-E407/open-source-hardware"> STM32-E407 </a> from Olimex (Cortex-M4)
-                    </li>
-                    <li>
-                        <a href="https://www.arduino.cc/en/Main/ArduinoBoardZero"> Arduino Zero </a> (Cortex-M0)
-                    </li>
-                    <li>
-                        <a href="http://www.arduino.org/products/previous-version-boards/11-previous-version-boards/arduino-zero-pro"> Arduino Zero Pro </a> (Cortex-M0)
-                    </li>
-                    <li>
-                        <a href="http://www.arduino.org/products/boards/4-arduino-boards/arduino-m0-pro"> Arduino M0 Pro </a> (Cortex-M0)
-                    </li>
-                </ul>
+                <div class="col-xs-12">
+                  <h2>Supported Boards</h2>
+
+                  <ul>
+                      <li>
+                          <a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF52832/"> nRF52 DK </a> from Nordic Semiconductor (Cortex-M4)
+                      </li>
+                      <li>
+                          <a href="http://ruuvitag.com"> RuuviTag </a> Sensor beacon platform (Nordic nRF52832 based)
+                      </li>
+                      <li>
+                          <a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF51822"> nRF51 DK </a> from Nordic Semiconductor (Cortex-M0)
+                      </li>
+                      <li>
+                          <a href="http://redbearlab.com/blenano/"> BLE Nano </a> from RedBearLabs (Nordic nRF51822 SoC based)
+                      </li>
+                      <li>
+                          <a href="https://www.rigado.com/products/bmd-300-eval-kit/"> BMD-300-EVAL-ES </a> from Rigado (Cortex-M4)
+                      </li>
+                      <li>
+                          <a href="http://www.st.com/en/evaluation-tools/stm32f3discovery.html"> STM32F3DISCOVERY </a> from ST Micro (Cortex-M4)
+                      </li>
+                      <li>
+                          <a href=" https://www.olimex.com/Products/ARM/ST/STM32-E407/open-source-hardware"> STM32-E407 </a> from Olimex (Cortex-M4)
+                      </li>
+                      <li>
+                          <a href="https://www.arduino.cc/en/Main/ArduinoBoardZero"> Arduino Zero </a> (Cortex-M0)
+                      </li>
+                      <li>
+                          <a href="http://www.arduino.org/products/previous-version-boards/11-previous-version-boards/arduino-zero-pro"> Arduino Zero Pro </a> (Cortex-M0)
+                      </li>
+                      <li>
+                          <a href="http://www.arduino.org/products/boards/4-arduino-boards/arduino-m0-pro"> Arduino M0 Pro </a> (Cortex-M0)
+                      </li>
+                  </ul>
 
+                </div>
             </div>
 
         </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b1c54810/custom-theme/main-banner.html
----------------------------------------------------------------------
diff --git a/custom-theme/main-banner.html b/custom-theme/main-banner.html
index ed433d4..c1a6000 100644
--- a/custom-theme/main-banner.html
+++ b/custom-theme/main-banner.html
@@ -2,13 +2,13 @@
 
 <div class="col-xs-12 col-md-8 v2-vcenter">
     <img class="logo" src="/img/logo.svg">
-    <h4 class="tagline">Modular OS to operate an IoT network</h4>
+    <h4 class="tagline">An OS to build, deploy and securely manage billions of devices</h4>
 </div><!-- (need this comment because of the inline-blocks)
 --><div class="col-xs-12 col-md-4 v2-vcenter">
-    <div class="news bg-orange text-center">
+    <!-- <div class="news bg-orange text-center">
         <h4>Mynewt 0.9.0 release is available now. </h4>
         <a href="/download/">Download!</a>
-    </div>
+    </div> -->
 </div>
 
 </div>

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b1c54810/custom-theme/quick-start.html
----------------------------------------------------------------------
diff --git a/custom-theme/quick-start.html b/custom-theme/quick-start.html
index abca805..66629c6 100644
--- a/custom-theme/quick-start.html
+++ b/custom-theme/quick-start.html
@@ -1,4 +1,4 @@
-{% include 'secondary-banner.html' %}
+{% include 'main-banner.html' %}
 
 <div class="v2-quick-start">