Skip to content

Commit f35018f

Browse files
committed
fix:link&style&article picture
1 parent 69277d7 commit f35018f

File tree

9 files changed

+175
-7
lines changed

9 files changed

+175
-7
lines changed

demo.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</a>
1919
<span class="page-language-switch"></span>
2020
<a class="common-header-nav-item theme-link" href="/theme.html"></a>
21-
<a class="common-header-nav-item demo-link" href="/demo.html"></a>
21+
<a class="common-header-nav-item demo-link" href="/demoHome.html"></a>
2222
<a class="common-header-nav-item docs-link" target="_blank" href="https://www.yuque.com/rs385i"></a>
2323
<div id="viser-nav"></div>
2424
</nav>

demoHome.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
</a>
2020
<span class="page-language-switch"></span>
2121
<a class="common-header-nav-item theme-link" href="/theme.html"></a>
22-
<a class="common-header-nav-item demo-link" href="/demo.html"></a>
22+
<a class="common-header-nav-item demo-link" href="/demoHome.html"></a>
2323
<a class="common-header-nav-item docs-link" target="_blank" href="https://www.yuque.com/rs385i"></a>
2424
<div id="viser-nav"></div>
2525
</nav>

docs.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</a>
1919
<span class="page-language-switch"></span>
2020
<a class="common-header-nav-item theme-link" href="/theme.html"></a>
21-
<a class="common-header-nav-item demo-link" href="/demo.html"></a>
21+
<a class="common-header-nav-item demo-link" href="/demoHome.html"></a>
2222
<a class="common-header-nav-item docs-link" target="_blank" href="https://www.yuque.com/rs385i"></a>
2323
<div id="viser-nav"></div>
2424
</nav>

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h1 class="home-title">Viser</h1>
1818
</a>
1919
<span class="page-language-switch"></span>
2020
<a class="common-header-nav-item theme-link" href="/theme.html"></a>
21-
<a class="common-header-nav-item demo-link" href="/demo.html"></a>
21+
<a class="common-header-nav-item demo-link" href="/demoHome.html"></a>
2222
<a class="common-header-nav-item docs-link" target="_blank" href="https://www.yuque.com/rs385i"></a>
2323
<div id="viser-nav"></div>
2424
</nav>

pages/demo/examples/index.ts

+164
Large diffs are not rendered by default.

pages/styles/header.scss

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@
2525
background: $primary;
2626
width: 200px;
2727
box-sizing: border-box;
28-
28+
&:hover{
29+
color:white;
30+
}
2931
&::after {
3032
content: ' ';
3133
display: block;

pages/theme/index.scss

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
@import '../styles/icon.scss';
33
@import '../styles/header.scss';
44
@import '../styles/main.scss';
5+
@import "~antd/dist/antd.css";
56

67
.theme-content {
78
height: 100%;

theme.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
</a>
1919
<span class="page-language-switch"></span>
2020
<a class="common-header-nav-item theme-link" href="/theme.html"></a>
21-
<a class="common-header-nav-item demo-link" href="/demo.html"></a>
21+
<a class="common-header-nav-item demo-link" href="/demoHome.html"></a>
2222
<a class="common-header-nav-item docs-link" target="_blank" href="https://www.yuque.com/rs385i"></a>
2323
<div id="viser-nav"></div>
2424
</nav>

types.d.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
declare module '@alife/next';
2-
declare module 'cross-fetch';
2+
declare module 'cross-fetch';
3+
declare module 'antd';

0 commit comments

Comments
 (0)