Explorar o código

Docs/homesite (#1447)

* docs: Modification of clipping theme style on the homepage of the official website

* docs: Modification of clipping theme style on the homepage of the official website

* docs: data update
YyumeiZhang %!s(int64=2) %!d(string=hai) anos
pai
achega
b471344db3

+ 3 - 3
content/basic/typography/index-en-US.md

@@ -224,10 +224,10 @@ function Demo() {
 
     function Infos() {
         const data = [
-            { type: 'Stars', min: '6200' },
-            { type: 'Fork', min: '400' },
+            { type: 'Stars', min: '6700' },
+            { type: 'Fork', min: '500' },
             { type: 'Downloads', min: '3000000' },
-            { type: 'Contributors', min: '60' }
+            { type: 'Contributors', min: '90' }
         ];
         return data.map(item =>
             <p key={item.min}>

+ 4 - 4
content/basic/typography/index.md

@@ -215,10 +215,10 @@ function Demo() {
 
     function Infos() {
         const data = [
-            { type: 'Stars', min: '6200' },
-            { type: 'Fork', min: '400' },
-            { type: '下载', min: '3000000' },
-            { type: '贡献者', min: '60' }
+            { type: 'Stars', min: '6700' },
+            { type: 'Fork', min: '500' },
+            { type: 'Downloads', min: '3000000' },
+            { type: 'Contributors', min: '90' }
         ];
         return data.map(item =>
             <p key={item.min}>

+ 1 - 1
src/sitePages/newHome/components/comments/comments.jsx

@@ -40,7 +40,7 @@ function numberAnimation(number, s, dom) {
     requestAnimationFrame(fn);
 }
 
-const realNumber = [6200, 400, 3000000, 60];
+const realNumber = [6700, 500, 3000000, 90];
 
 function Comments(props) {
     useEffect(()=> {

+ 1 - 1
src/sitePages/newHome/components/operateButton/operateButton.jsx

@@ -32,7 +32,7 @@ function OperateButton() {
         >
             <span style={{ display: 'flex' }}>
                 GitHub
-                <span className={styles.badge}>6.6k</span>
+                <span className={styles.badge}>6.7k</span>
             </span>
         </Button>
     </div>);

+ 1 - 0
src/sitePages/newHome/components/theme/theme.js

@@ -5793,6 +5793,7 @@ export const capCutTheme = `/* shadow */
   box-sizing: border-box;
   position: relative;
   vertical-align: middle;
+  background-color: transparent;
 }
 
 *[data-theme=theme] .semi-table-tbody > .semi-table-row > .semi-table-row-cell.resizing {