diff --git a/docs/_css/react.scss b/docs/_css/react.scss index 8c79fbe0b04..fcd0108bf37 100644 --- a/docs/_css/react.scss +++ b/docs/_css/react.scss @@ -702,4 +702,17 @@ p code { .next { float: right; } +} + +.social-buttons { + position: absolute; + display: inline-block; + text-align: left; + + table { + font-size: 0; + height: 50px; + margin-top: -2px; + margin-left: 10px; + } } \ No newline at end of file diff --git a/docs/_includes/buttons_unit.html b/docs/_includes/buttons_unit.html new file mode 100644 index 00000000000..c78f6d312af --- /dev/null +++ b/docs/_includes/buttons_unit.html @@ -0,0 +1,19 @@ +
+ Get Started + Download React v{{site.react_version}} +
+ + + + + + + +
+ +
+
+
+
+
diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index fd08feb820d..15ee24c2cee 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -45,7 +45,6 @@
  • blog
  • github - @@ -56,11 +55,7 @@
    A JavaScript library for building user interfaces
    - -
    - Get Started - Download React v{{site.react_version}} -
    + {% include buttons_unit.html %} {% endif %} diff --git a/docs/index.md b/docs/index.md index 2edff30307d..541eed9898d 100644 --- a/docs/index.md +++ b/docs/index.md @@ -81,8 +81,5 @@ id: home
    - + {% include buttons_unit.html %}