Skip to content

Commit 33330ae

Browse files
authored
docs: perfect website (#1)
1 parent 935cece commit 33330ae

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

docs/.vuepress/components/demo/1.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<template>
22
<div class="demo">
3-
<image-shadow :width="280" :src="this.src1"></image-shadow>
4-
<image-shadow :width="280" :src="this.src2"></image-shadow>
5-
<image-shadow :width="280" :shadow-radius="20" :src="this.src3"></image-shadow>
3+
<image-shadow :src="this.src1"></image-shadow>
4+
<image-shadow :src="this.src2"></image-shadow>
5+
<image-shadow :shadow-radius="20" :src="this.src3"></image-shadow>
66
</div>
77
</template>
88

@@ -28,7 +28,7 @@ export default {
2828
.demo {
2929
display: grid;
3030
justify-content: space-around;
31-
grid-template-columns: repeat(auto-fill, 280px);
31+
grid-template-columns: repeat(auto-fill, 300px);
3232
grid-gap: 40px;
3333
}
3434
</style>

docs/.vuepress/components/demo/2.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<template>
22
<div class="demo">
3-
<image-shadow :width="280" :src="this.src1" shadow-hover></image-shadow>
4-
<image-shadow :width="280" :src="this.src2" shadow-hover></image-shadow>
5-
<image-shadow :width="280" :shadow-radius="20" :src="this.src3" shadow-hover></image-shadow>
3+
<image-shadow :src="this.src1" shadow-hover></image-shadow>
4+
<image-shadow :src="this.src2" shadow-hover></image-shadow>
5+
<image-shadow :shadow-radius="20" :src="this.src3" shadow-hover></image-shadow>
66
</div>
77
</template>
88

docs/.vuepress/enhanceApp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import vue from 'vue-highlight.js/lib/languages/vue';
66

77
import 'highlight.js/styles/atom-one-dark-reasonable.css';
88

9-
import DemoCode from './components/demoCode.vue'
9+
import DemoCode from './components/demoCode.vue';
1010

1111
export default ({
1212
Vue,

docs/.vuepress/styles/palette.styl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
$contentWidth = 1200px

docs/changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 🗓 Changelog
1+
# 🔖 Changelog
22

33
## 1.0.0
44

0 commit comments

Comments
 (0)