+
Start Learning
-
-
-
-
+
+
+
+
{' '}
{
diff --git a/docs/src/components/LandingPage/index.js b/docs/src/components/LandingPage/index.js
index c5438a58..11c9f6af 100644
--- a/docs/src/components/LandingPage/index.js
+++ b/docs/src/components/LandingPage/index.js
@@ -1,7 +1,6 @@
-import React from "react";
-import { useEffect } from "react";
-import Hero from "./Hero";
-import Introduction from "./Introduction";
+import React from 'react';
+import Hero from './Hero';
+import Introduction from './Introduction';
function LandingLayout(props) {
return (
diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css
index 8e74d91f..b41481ec 100644
--- a/docs/src/css/custom.css
+++ b/docs/src/css/custom.css
@@ -450,9 +450,6 @@ h3 {
.social_VnSH {
margin-top: 30px;
}
-.social_VnSH span:nth-child(2) {
- margin-left: 8px;
-}
.buttons_pzbO {
align-items: center;
@@ -506,6 +503,100 @@ h3 {
flex-direction: row-reverse;
float: right;
}
+/* github button */
+.widget {
+ display: inline-block;
+ overflow: hidden;
+ font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial,
+ sans-serif;
+ font-size: 0;
+ line-height: 0;
+ white-space: nowrap;
+}
+.btn,
+.social-count {
+ position: relative;
+ display: inline-block;
+ display: inline-flex;
+ justify-content: center;
+ /* height: 14px; */
+ padding: 2px 5px;
+ font-size: 11px;
+ font-weight: 600;
+ line-height: 14px;
+ vertical-align: bottom;
+ cursor: pointer;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ background-repeat: repeat-x;
+ background-position: -1px -1px;
+ background-size: 110% 110%;
+ border: 1px solid;
+}
+.btn {
+ border-radius: 0.25em;
+}
+.btn:not(:last-child) {
+ border-radius: 0.25em 0 0 0.25em;
+}
+.social-count {
+ border-left: 0;
+ border-radius: 0 0.25em 0.25em 0;
+}
+
+.octicon {
+ display: inline-block;
+ vertical-align: text-top;
+ fill: currentColor;
+ overflow: visible;
+}
+.btn:focus-visible,
+.social-count:focus-visible {
+ outline: 2px solid #0969da;
+ outline-offset: -2px;
+}
+.btn {
+ color: #24292f;
+ background-color: #ebf0f4;
+ border-color: #ccd1d5;
+ border-color: rgba(31, 35, 40, 0.15);
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3clinearGradient id='o' x2='0' y2='1'%3e%3cstop stop-color='%23f6f8fa'/%3e%3cstop offset='90%25' stop-color='%23ebf0f4'/%3e%3c/linearGradient%3e%3crect width='100%25' height='100%25' fill='url(%23o)'/%3e%3c/svg%3e");
+ background-image: -moz-linear-gradient(top, #f6f8fa, #ebf0f4 90%);
+ background-image: linear-gradient(180deg, #f6f8fa, #ebf0f4 90%);
+ filter: progid:DXImageTransform.Microsoft.Gradient(startColorstr='#FFF6F8FA', endColorstr='#FFEAEFF3');
+}
+
+.btn:hover,
+.btn:focus {
+ background-color: #e9ebef;
+ background-position: 0 -0.5em;
+ border-color: #cbcdd1;
+ border-color: rgba(31, 35, 40, 0.15);
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg'%3e%3clinearGradient id='o' x2='0' y2='1'%3e%3cstop stop-color='%23f3f4f6'/%3e%3cstop offset='90%25' stop-color='%23e9ebef'/%3e%3c/linearGradient%3e%3crect width='100%25' height='100%25' fill='url(%23o)'/%3e%3c/svg%3e");
+ background-image: -moz-linear-gradient(top, #f3f4f6, #e9ebef 90%);
+ background-image: linear-gradient(180deg, #f3f4f6, #e9ebef 90%);
+ filter: progid:DXImageTransform.Microsoft.Gradient(startColorstr='#FFF3F4F6', endColorstr='#FFE8EAEE');
+}
+
+.btn:active {
+ background-color: #e5e9ed;
+ border-color: #c7cbcf;
+ border-color: rgba(31, 35, 40, 0.15);
+ background-image: none;
+ filter: none;
+}
+.social-count {
+ color: #24292f;
+ background-color: #fff;
+ border-color: #dddedf;
+ border-color: rgba(31, 35, 40, 0.15);
+}
+.social-count:hover,
+.social-count:focus {
+ color: #0969da;
+}
@media screen and (max-width: 966px) {
.heroBanner_UJJx {
diff --git a/docs/src/pages/index.js b/docs/src/pages/index.js
index 9721eec8..131a8de2 100644
--- a/docs/src/pages/index.js
+++ b/docs/src/pages/index.js
@@ -50,9 +50,6 @@ export default function Home() {
title={`${siteConfig.title}`}
description="Description will go into a meta tag in
"
>
-
-
-
{/* */}
{/* */}