Skip to content

Commit 963e572

Browse files
committed
fix lint
update update
1 parent 76a28c0 commit 963e572

File tree

7 files changed

+16
-17
lines changed

7 files changed

+16
-17
lines changed

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules/
2+
_site

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"dependencies": {
1313
"antd": "next",
1414
"enquire-js": "^0.1.1",
15-
"github-api": "^3.0.0",
1615
"leancloud-storage": "^3.5.0",
1716
"react-document-title": "^2.0.1",
1817
"react-intl": "^2.3.0",

site/theme/static/default.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@home-button-shadow-color: darken(@primary-color, 20%);
55

66
.mouseHover(@color, @x: 0, @y: 4px, @blur: 12px) {
7-
transform: translateY(0px);
7+
transform: translateY(0);
88
box-shadow: 0 0 0 fade(@color, 0);
99
transition: box-shadow .3s @ease-in-out, transform .3s @ease-in-out;
1010
&:hover {

site/theme/static/footer.less

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
@padding-space: 144px;
2-
32
footer {
43
clear: both;
54
font-size: 14px;
@@ -18,7 +17,6 @@ footer {
1817
margin: 0 auto 24px;
1918
font-weight: 500;
2019
position: relative;
21-
2220
> .title-icon {
2321
width: 27px;
2422
margin-right: 16px;
@@ -67,23 +65,24 @@ footer {
6765
}
6866
}
6967
}
70-
.home{
68+
69+
.home {
7170
footer {
72-
.footer-wrap{
71+
.footer-wrap {
7372
width: 100%;
7473
padding: 0;
7574
}
76-
.bottom-bar{
75+
.bottom-bar {
7776
margin: auto;
7877
max-width: 1200px;
7978
padding: 16px 24px;
8079
border-top: none;
8180
}
82-
.footer-wrap .ant-row{
81+
.footer-wrap .ant-row {
8382
width: 100%;
8483
max-width: 1200px;
85-
padding: 86px 24px 93px 24px;
84+
padding: 86px 24px 93px;
8685
margin: auto;
8786
}
8887
}
89-
}
88+
}

site/theme/static/page1.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
background: @primary-color;
2929
text-align: center;
3030
position: absolute;
31-
bottom: 0px;
31+
bottom: 0;
3232
width: 100%;
3333
transform: translateY(100%);
3434
transition: transform .3s @ease-out;
@@ -62,4 +62,4 @@
6262
}
6363
}
6464
}
65-
}
65+
}

site/theme/static/page2.less

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
.page2{
1+
.page2 {
22
background: @primary-color;
33
color: #fff;
44
height: 268px;
55
text-align: center;
6-
p{
6+
p {
77
margin: 95px auto 40px;
88
font-size: 14px;
99
line-height: 20px;
1010
}
11-
.button{
11+
.button {
1212
background: #fff;
1313
.mouseHover(#0028CA, 0, 8px, 16px);
1414
box-shadow: 0 4px 8px rgba(0, 40, 202, 0.75);
1515
}
16-
}
16+
}

site/theme/template/Layout/Footer.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React from 'react';
22
import { FormattedMessage, injectIntl } from 'react-intl';
3-
import { Link } from 'bisheng/router';
43
import { Row, Col, Button } from 'antd';
54
import * as utils from '../utils';
65

0 commit comments

Comments
 (0)