You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@carbondata.apache.org by ch...@apache.org on 2017/04/12 11:52:08 UTC

[40/54] incubator-carbondata-site git commit: Add news section in website slider

Add news section in website slider


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

Branch: refs/heads/asf-site
Commit: 59ee1f5fc801886b64f5e3a148b21aa57eef8012
Parents: 8676aaa
Author: Kamlesh Prajapati <ka...@knoldus.in>
Authored: Wed Apr 5 17:36:25 2017 +0530
Committer: Kamlesh Prajapati <ka...@knoldus.in>
Committed: Wed Apr 5 17:36:25 2017 +0530

----------------------------------------------------------------------
 src/main/webapp/css/style.css               |  11 ++++++++++
 src/main/webapp/images/blackduckRookies.png | Bin 0 -> 43249 bytes
 src/main/webapp/index.html                  |  25 +++++++++++++++++++++--
 3 files changed, 34 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-carbondata-site/blob/59ee1f5f/src/main/webapp/css/style.css
----------------------------------------------------------------------
diff --git a/src/main/webapp/css/style.css b/src/main/webapp/css/style.css
index 7fb0361..4e14a12 100644
--- a/src/main/webapp/css/style.css
+++ b/src/main/webapp/css/style.css
@@ -994,6 +994,17 @@ box-shadow: 0 3px 2px #aaa }
 
 .newsblock {    margin-top: 20px;font-size: 13px;text-align: justify;}
 
+.slider-btn{display: inline-block;
+    font-size: 14px;
+    color: #fff;
+    border: 1px solid #aaa;
+    padding: 8px 20px;
+    line-height: 20px;
+    border-radius: 2px;
+}
+
+.slider-btn:hover {color: #fff; border: 1px solid #ff943d; background: #ff943d;}
+
 /* ------------------- End Documentation Style here*/
 
 /* Media Style */

http://git-wip-us.apache.org/repos/asf/incubator-carbondata-site/blob/59ee1f5f/src/main/webapp/images/blackduckRookies.png
----------------------------------------------------------------------
diff --git a/src/main/webapp/images/blackduckRookies.png b/src/main/webapp/images/blackduckRookies.png
new file mode 100644
index 0000000..a82b1ac
Binary files /dev/null and b/src/main/webapp/images/blackduckRookies.png differ

http://git-wip-us.apache.org/repos/asf/incubator-carbondata-site/blob/59ee1f5f/src/main/webapp/index.html
----------------------------------------------------------------------
diff --git a/src/main/webapp/index.html b/src/main/webapp/index.html
index 9647114..a65ad38 100644
--- a/src/main/webapp/index.html
+++ b/src/main/webapp/index.html
@@ -168,6 +168,7 @@
                 <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
                 <li data-target="#myCarousel" data-slide-to="1"></li>
                 <li data-target="#myCarousel" data-slide-to="2"></li>
+                <li data-target="#myCarousel" data-slide-to="3"></li>
             </ol>
 
             <!-- Wrapper for Slides -->
@@ -221,6 +222,26 @@
                         </div>
                     </div>
                 </div>
+                <div class="item">
+                    <div class="carousel-caption">
+                        <div class="container-fluid">
+                            <div class="col-md-6 col-sm-6">
+                                <div class="slide-title">
+                                    <strong>Black Duck  </strong> Open Source <strong>ROOKIES</strong>
+                                      of the <strong>Year</strong>
+                                    <p>
+                                    <a class="slider-btn" target="_blank"  href="https://www.blackducksoftware.com/open-source-rookies-2016#Bigdata" >Learn more</a>
+                                    </p>
+                                </div>
+                            </div>
+                            <div class="col-md-6 col-sm-6">
+                                <div class="slide-img"><img src="images/blackduckRookies.png" alt=""/>
+                                </div>
+                            </div>
+
+                        </div>
+                    </div>
+                </div>
             </div>
 
             <!-- Controls -->
@@ -405,7 +426,7 @@
                                         <a> <i class="fa fa-linkedin-square" aria-hidden="true"></i></a>
                                     </p>
                                 </div>
-                                <div class="cell celllatestnews">
+                                <!--<div class="cell celllatestnews">
                                     <h4 class="title">Latest News
                                         <span class="title-underline"></span>
                                     </h4>
@@ -416,7 +437,7 @@
                                         as the most innovative and influential open source project launched during the
                                         year 2016.
                                     </div>
-                                </div>
+                                </div>-->
                             </div>
                         </div>
                     </div>