Skip to content

Commit 88388dd

Browse files
authored
Merge pull request #156 from hocgin/feature-scss
Feature scss
2 parents d415d6c + e7a70ac commit 88388dd

File tree

7 files changed

+32
-90
lines changed

7 files changed

+32
-90
lines changed

pnpm-lock.yaml

Lines changed: 22 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Footer/Footer.tsx

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -3,42 +3,15 @@ import classnames from 'classnames';
33
import { default as GinLogo } from '@/Logo';
44
import { ConfigContext } from '@/ConfigProvider';
55
import Icon from '@/Icon';
6-
7-
const SocialLinks: React.FC<{ className?: string }> = (props) => {
8-
let className = props.className;
9-
return (
10-
<ul className={className}>
11-
<li>
12-
<a
13-
href='https://github.com/hocgin'
14-
target='_blank'
15-
rel='noopener noreferrer'
16-
>
17-
<Icon.GitHubFilled className={`${className}-github`} />
18-
</a>
19-
</li>
20-
<li>
21-
<a
22-
href='https://weibo.com/hocgin'
23-
target='_blank'
24-
rel='noopener noreferrer'
25-
>
26-
<Icon.WeiboFilled className={`${className}-weibo`} />
27-
</a>
28-
</li>
29-
</ul>
30-
);
31-
};
32-
336
const DefaultCopyTitle: React.FC<{}> = () => {
347
return (
358
<>
369
© 2013-2021 |{' '}
37-
<a href='http://www.hocgin.top/' target='_blank'>
10+
<a href="http://www.hocgin.top/" target="_blank">
3811
🧱 红土立方
3912
</a>
4013
{' | '}
41-
<a href='https://beian.miit.gov.cn/' target='_blank'>
14+
<a href="https://beian.miit.gov.cn/" target="_blank">
4215
闽ICP备20004537号
4316
</a>
4417
</>

src/Footer/style/index.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,17 @@ $footer-prefix-cls: $hui-prefix + '-footer';
7979
}
8080

8181
&-copytitle {
82-
color: rgba(127, 127, 127, 0.6);
82+
color: rgba(127, 127, 127, 0.6) !important;
8383
display: block;
8484
text-align: center;
8585
margin-top: 8px;
8686
font-size: 0.78em;
8787

8888
a {
89-
color: rgba(127, 127, 127, 0.6);
89+
color: rgba(127, 127, 127, 0.6) !important;
9090

9191
&:hover {
92-
color: rgba(102, 102, 102, 0.75);
92+
color: rgba(102, 102, 102, 0.75) !important;
9393
}
9494
}
9595
}

src/Header/components/Header/header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ type HeaderProps = {
189189
prefix?: any;
190190
logo?: any;
191191
logined?: boolean;
192-
maxWidth?: number;
192+
maxWidth?: number | any;
193193
};
194194
const Header: React.FC<HeaderProps> = ({
195195
className,

src/Header/style/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ $header-menu-prefix-cls: $header-prefix-cls + '-menu';
6161
&-logo {
6262
position: relative;
6363
text-decoration: none;
64-
//text-transform: uppercase;
64+
color: #000;
6565
letter-spacing: 2px;
6666
font-weight: 700;
6767
user-select: none;

src/Link/style/index.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
$link-prefix-cls: $hui-prefix + '-alink';
55

66
.#{$link-prefix-cls} {
7-
color: #666;
7+
color: #666 !important;
88
font-size: 14px;
99
font-weight: unset;
1010
text-decoration: none;
@@ -25,6 +25,6 @@ $link-prefix-cls: $hui-prefix + '-alink';
2525
}
2626

2727
&:hover {
28-
color: #000;
28+
color: #000 !important;
2929
}
3030
}

src/Logo/style/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ $logo-heart-prefix-cls: $hui-prefix + '-logo-heart';
1616

1717
&-text {
1818
margin-left: 1px;
19-
color: #454d64;
19+
color: #454d64 !important;
2020
display: inline-flex;
2121
align-items: center;
2222
justify-content: center;

0 commit comments

Comments
 (0)