SINGA-366 Add social networks links to SINGA website

Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/84189a2a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/84189a2a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/84189a2a

Branch: refs/heads/master
Commit: 84189a2a8c92875b0c37640ccde0a4c9276f632f
Parents: 9c0e0af
Author: Moaz Reyad <[email protected]>
Authored: Tue May 15 17:01:22 2018 +0800
Committer: Moaz Reyad <[email protected]>
Committed: Tue May 15 21:52:54 2018 +0800

----------------------------------------------------------------------
 doc/_templates/layout.html | 19 +++++++++++++++++++
 doc/en/index.rst           | 20 ++++----------------
 2 files changed, 23 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/84189a2a/doc/_templates/layout.html
----------------------------------------------------------------------
diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html
index 25a27f9..cceef1e 100755
--- a/doc/_templates/layout.html
+++ b/doc/_templates/layout.html
@@ -19,6 +19,16 @@
 
 {% block extrahead %}
     <link href="{{ pathto("_static/style.css", True) }}" rel="stylesheet" 
type="text/css">
+    <!--link href="{{ pathto("_static/fontawesome-all.min.css", True) }}" 
rel="stylesheet" type="text/css"-->
+       <link rel="stylesheet" 
href="https://use.fontawesome.com/releases/v5.0.13/css/all.css"; 
integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp"
 crossorigin="anonymous">
+    <style>
+       .fa:hover {
+           opacity: 0.7;
+       }
+       .fab:hover {
+           opacity: 0.7;
+       }
+    </style>
 {% endblock %}
 
 {% block footer %}
@@ -43,6 +53,15 @@
 
   </div>
   <a href="http://incubator.apache.org/";> <img src= "{{pathto('_static/'+ 
'apache.png' , 1) }}" style="background-color:white;"> </a>
+
+  <a href="https://github.com/apache/incubator-singa"; class="fa fa-github" 
style="padding: 10px; font-size: 20px; width: 30px; text-align: center; 
text-decoration: none; margin: 5px 2px;"></a>
+  <a 
href="https://aws.amazon.com/marketplace/seller-profile?id=5bcac385-12c4-4802-aec7-351e09b77b4c";
 class="fab fa-aws" style="padding: 10px; font-size: 20px; width: 30px; 
text-align: center; text-decoration: none; margin: 5px 2px;"></a>
+  <a href="https://hub.docker.com/r/nusdbsystem/singa/"; class="fab fa-docker" 
style="padding: 10px; font-size: 20px; width: 30px; text-align: center; 
text-decoration: none; margin: 5px 2px;"></a> 
+  <a href="https://www.linkedin.com/groups/13550034"; class="fa fa-linkedin" 
style="padding: 10px; font-size: 20px; width: 30px; text-align: center; 
text-decoration: none; margin: 5px 2px;"></a>
+  <a href="https://twitter.com/ApacheSinga"; class="fa fa-twitter" 
style="padding: 10px; font-size: 20px; width: 30px; text-align: center; 
text-decoration: none; margin: 5px 2px;"></a>
+  <a href="https://www.facebook.com/Apache-SINGA-347284219056544/"; class="fa 
fa-facebook" style="padding: 10px; font-size: 20px; width: 30px; text-align: 
center; text-decoration: none; margin: 5px 2px;"></a>
+  <a href="https://www.researchgate.net/project/Apache-SINGA"; class="fab 
fa-researchgate" style="padding: 10px; font-size: 20px; width: 30px; 
text-align: center; text-decoration: none; margin: 5px 2px;"></a>
+
 </div>
 
  <a href="https://github.com/apache/incubator-singa";>

http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/84189a2a/doc/en/index.rst
----------------------------------------------------------------------
diff --git a/doc/en/index.rst b/doc/en/index.rst
index 0835acb..0d75906 100755
--- a/doc/en/index.rst
+++ b/doc/en/index.rst
@@ -63,26 +63,14 @@ Getting Started
 
 * Refer to the `Jupyter notebooks 
<http://nbviewer.jupyter.org/github/apache/incubator-singa/blob/master/doc/en/docs/notebook/index.ipynb>`_
 for some basic examples and the `model zoo page 
<./docs/model_zoo/index.html>`_ for more examples.
 
-.. |logo1| image:: _static/github.png
-   :scale: 100%
-   :align: middle
-   :target: https://github.com/apache/incubator-singa
-.. |logo2| image:: _static/awsmp.gif
-   :scale: 100%
-   :align: middle
-   :target: 
https://aws.amazon.com/marketplace/seller-profile?id=5bcac385-12c4-4802-aec7-351e09b77b4c
-.. |logo3| image:: _static/docker.png
-   :scale: 50%
-   :align: middle
-   :target: https://hub.docker.com/r/nusdbsystem/singa/
-.. |logo4| image:: _static/jupyter.png
+.. |logo| image:: _static/jupyter.png
    :scale: 25%
    :align: middle
    :target: 
http://nbviewer.jupyter.org/github/apache/incubator-singa/blob/master/doc/en/docs/notebook/index.ipynb
 
-+---------+---------+---------+---------+
-| |logo1| | |logo2| | |logo3| | |logo4| |
-+---------+---------+---------+---------+
++---------+
+| |logo|  |
++---------+
 
 Documentation
 -------------

Reply via email to