Skip to content

Commit

Permalink
🚨 chore: Remove linter warnings
Browse files Browse the repository at this point in the history
Signed-off-by: sqrtthree <[email protected]>
  • Loading branch information
linhe0x0 committed Aug 9, 2019
1 parent c4e5072 commit 46257c3
Show file tree
Hide file tree
Showing 10 changed files with 208 additions and 127 deletions.
3 changes: 1 addition & 2 deletions Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
<Content custom />
</div>
</div>
<footer class="home__footer" v-html="footer">
</footer>
<footer class="home__footer" v-html="footer"></footer>
</div>
</template>

Expand Down
11 changes: 5 additions & 6 deletions Layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
</div>
<div class="col-md-10">
<div class="custom__layout" v-if="$page.frontmatter.layout">
<component :is="$page.frontmatter.layout"/>
<component :is="$page.frontmatter.layout" />
</div>
<Home v-else-if="$page.frontmatter.home"/>
<Home v-else-if="$page.frontmatter.home" />
<Page v-else></Page>
</div>
</div>
<div v-else>
<div class="custom__layout" v-if="$page.frontmatter.layout">
<component :is="$page.frontmatter.layout"/>
<component :is="$page.frontmatter.layout" />
</div>
<Home v-else-if="$page.frontmatter.home"/>
<Home v-else-if="$page.frontmatter.home" />
<Page v-else></Page>
</div>
</div>
Expand Down Expand Up @@ -97,6 +97,5 @@ export default {
}
</script>

<style src="prismjs/themes/prism-tomorrow.css">
</style>
<style src="prismjs/themes/prism-tomorrow.css"></style>
<style src="./styles/theme.styl" lang="stylus"></style>
187 changes: 116 additions & 71 deletions Page.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,34 @@
<div class="content__footer-container">
<div class="content__footer">
<div v-if="editLink" class="edit-link">
<a :href="editLink" target="_blank" rel="noopener noreferrer">{{ editLinkText }}</a>
<svg viewBox="0 0 33 32" version="1.1" xmlns="http://www.w3.org/2000/svg" height="16" width="16"><g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="github" fill="#000"><path d="M16.3,0 C7.3,0 -3.55271368e-15,7.3 -3.55271368e-15,16.3 C-3.55271368e-15,23.5 4.7,29.6 11.1,31.8 C11.9,31.9 12.2,31.4 12.2,31 L12.2,28.2 C7.7,29.2 6.7,26 6.7,26 C6,24.2 5,23.7 5,23.7 C3.5,22.7 5.1,22.7 5.1,22.7 C6.7,22.8 7.6,24.4 7.6,24.4 C9.1,26.9 11.4,26.2 12.3,25.8 C12.4,24.7 12.9,24 13.3,23.6 C9.7,23.2 5.9,21.8 5.9,15.5 C5.9,13.7 6.5,12.3 7.6,11.1 C7.4,10.7 6.9,9 7.8,6.8 C7.8,6.8 9.2,6.4 12.3,8.5 C13.6,8.1 15,8 16.4,8 C17.8,8 19.2,8.2 20.5,8.5 C23.6,6.4 25,6.8 25,6.8 C25.9,9 25.3,10.7 25.2,11.1 C26.2,12.2 26.9,13.7 26.9,15.5 C26.9,21.8 23.1,23.1 19.5,23.5 C20.1,24 20.6,25 20.6,26.5 L20.6,31 C20.6,31.4 20.9,31.9 21.7,31.8 C28.2,29.6 32.8,23.5 32.8,16.3 C32.6,7.3 25.3,0 16.3,0 L16.3,0 Z" id="Shape"></path></g></g></svg>
<a :href="editLink" target="_blank" rel="noopener noreferrer">
{{ editLinkText }}
</a>
<svg
viewBox="0 0 33 32"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
height="16"
width="16"
>
<g
id="Page-1"
stroke="none"
stroke-width="1"
fill="none"
fill-rule="evenodd"
>
<g id="github" fill="#000">
<path
d="M16.3,0 C7.3,0 -3.55271368e-15,7.3 -3.55271368e-15,16.3 C-3.55271368e-15,23.5 4.7,29.6 11.1,31.8 C11.9,31.9 12.2,31.4 12.2,31 L12.2,28.2 C7.7,29.2 6.7,26 6.7,26 C6,24.2 5,23.7 5,23.7 C3.5,22.7 5.1,22.7 5.1,22.7 C6.7,22.8 7.6,24.4 7.6,24.4 C9.1,26.9 11.4,26.2 12.3,25.8 C12.4,24.7 12.9,24 13.3,23.6 C9.7,23.2 5.9,21.8 5.9,15.5 C5.9,13.7 6.5,12.3 7.6,11.1 C7.4,10.7 6.9,9 7.8,6.8 C7.8,6.8 9.2,6.4 12.3,8.5 C13.6,8.1 15,8 16.4,8 C17.8,8 19.2,8.2 20.5,8.5 C23.6,6.4 25,6.8 25,6.8 C25.9,9 25.3,10.7 25.2,11.1 C26.2,12.2 26.9,13.7 26.9,15.5 C26.9,21.8 23.1,23.1 19.5,23.5 C20.1,24 20.6,25 20.6,26.5 L20.6,31 C20.6,31.4 20.9,31.9 21.7,31.8 C28.2,29.6 32.8,23.5 32.8,16.3 C32.6,7.3 25.3,0 16.3,0 L16.3,0 Z"
id="Shape"
/>
</g>
</g>
</svg>
</div>
<time v-if="lastUpdated" class="last-updated">
<span class="prefix">{{ lastUpdatedText }}: </span>
<span class="prefix">{{ lastUpdatedText }}:</span>
<span class="time">{{ lastUpdated }}</span>
</time>
</div>
Expand Down Expand Up @@ -163,87 +186,109 @@ export default {
</script>

<style lang="stylus">
@import './styles/_variables.styl'
.page__container
min-height: 100vh
padding: 4rem 6rem 0
.curl__container
text-align: center
.content__footer
display: flex
justify-content: space-between
padding: 2em 0
font-size: 14px
color: #999
.edit-link
a
margin-right: .5em
font-weight: 600
color: #000
svg
vertical-align: middle
.page--block-layout
.content__footer-container
margin: 0 -3rem
background-color: #000
.content__footer
@import './styles/_variables.styl';
.page__container {
min-height: 100vh;
padding: 4rem 6rem 0;
.curl__container {
text-align: center;
}
}
.content__footer {
display: flex;
justify-content: space-between;
padding: 2em 0;
font-size: 14px;
color: #999;
.edit-link {
a {
margin-right: 0.5em;
font-weight: 600;
color: #000;
}
svg {
vertical-align: middle;
}
}
}
.page--block-layout {
.content__footer-container {
margin: 0 -3rem;
background-color: #000;
}
.content__footer {
width: 50%;
padding: 0 3rem 2rem
background-color: #fafafa
padding: 0 3rem 2rem;
background-color: #fafafa;
}
}
.content-block
margin: -4rem -6rem 4rem
background-color: $black
.content-block {
margin: -4rem -6rem 4rem;
background-color: $black;
&:last-child
margin-bottom: 0
&:last-child {
margin-bottom: 0;
}
&:after
height: 1px
display: block
content: ''
width: 100%
background-image: linear-gradient(90deg,#eaeaea 50%,#333 50%)
&:after {
height: 1px;
display: block;
content: '';
width: 100%;
background-image: linear-gradient(90deg, #eaeaea 50%, #333 50%);
}
&:last-child:after
display: none
&:last-child:after {
display: none;
}
&__heading
width: 50%
padding: 4rem 3rem 0
overflow: auto
background-color: #fafafa
&__heading {
width: 50%;
padding: 4rem 3rem 0;
overflow: auto;
background-color: #fafafa;
}
&__body
display: flex
&__body {
display: flex;
}
&__cont,
&__examples
width: 50%
padding: 0 3rem 2rem
&__cont, &__examples {
width: 50%;
padding: 0 3rem 2rem;
}
&__cont
background-color: #fafafa
&__cont {
background-color: #fafafa;
}
&__examples
color: $white
&__examples {
color: $white;
.btn
margin: 2em 0
.btn {
margin: 2em 0;
}
p
font-size: 12px
p {
font-size: 12px;
}
// reset style
blockquote
border-left-color: $white
blockquote {
border-left-color: $white;
p
color: #888
p {
color: #888;
}
}
}
}
</style>
3 changes: 1 addition & 2 deletions components/Block/index.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<template>
<div class="content-block">
<div ref="heading-box" class="content-block__heading">
</div>
<div ref="heading-box" class="content-block__heading"></div>
<div class="content-block__body">
<div ref="cont-box" class="content-block__cont">
<slot></slot>
Expand Down
5 changes: 4 additions & 1 deletion components/Button/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
<nav-link :class="classes" v-if="isLink" :to="to"><slot></slot></nav-link>
<button :class="classes" type="button" v-else @click="handleClick">
<span class="btn__loading-wrapper" v-if="loading">
<img src="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNTI2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TQ2MSA2NC40NTI5NDEtMjMuNjIwOTc3IDI5LjczNzI3OCAzMy4zNzIwNjIgNTMuNjAzODQ5IDcxLjAzNzkxNiA3MS4wNTAxOTYgMTEyLjI4NTM0MyAyMS4yNjYzNDkgNTAuMjgwMTUgMzIuMDQ5OTUgMTAzLjcwMjg3MyAzMi4wNDk5NSAxNTguNzgzMzUzUzkwOS4xNTg5NSA2MjAuNTAzMjAzIDg4Ny44OTE1NzggNjcwLjc4MzM1M3oiIHAtaWQ9IjE5MjciIGZpbGw9IiNmZmZmZmYiPjwvcGF0aD48L3N2Zz4="
alt=""
/>
</span>
<slot></slot>
</button>
Expand Down
4 changes: 3 additions & 1 deletion components/CURL/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
<div ref="curl">
<slot></slot>
</div>
<Button :light="lightBtn" :loading="loading" @click="sendRequest">Send request now</Button>
<Button :light="lightBtn" :loading="loading" @click="sendRequest"
>Send request now</Button
>
</div>
</template>

Expand Down
2 changes: 1 addition & 1 deletion components/Example/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default {
@import '../../styles/_variables.styl'
.examples
.custom-block.tip
border-color: $white
Expand Down
4 changes: 3 additions & 1 deletion components/NavLink/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<template>
<a v-if="isExternal" :href="to" target="_blank" rel="noopener noreferrer"><slot></slot></a>
<a v-if="isExternal" :href="to" target="_blank" rel="noopener noreferrer"
><slot></slot
></a>
<router-link :to="to" v-else><slot></slot></router-link>
</template>

Expand Down
Loading

0 comments on commit 46257c3

Please sign in to comment.