Skip to content

Commit

Permalink
feat: add a new step to show off the target handling in corners
Browse files Browse the repository at this point in the history
  • Loading branch information
Outpox committed Aug 17, 2018
1 parent 38cb274 commit 16fd73f
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions demo/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@
<style>
@import "./assets/css/spectre.css";
@import "./assets/css/docs.css";
@import "./assets/css/custom.css";
</style>
10 changes: 10 additions & 0 deletions demo/src/assets/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.docs-brand.docs-brand--pulsar {
right: .85rem;
left: unset;
}
.docs-logo.docs-logo-pulsar h2 {
color: white;
}
.docs-logo.docs-logo-pulsar {
background-color: #292929b3;
}
4 changes: 4 additions & 0 deletions demo/src/components/MyTour.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ export default {
target: '#v-step-0',
content: `Discover <strong>Vue Tour</strong>!`
},
{
target: '#v-step-0-1',
content: `Created by <a href="https://github.com/pulsardev" target="_blank"/>Pulsar</a> and its <a href="https://github.com/pulsardev/vue-tour/graphs/contributors" target="_blank">contributors</a>.`
},
{
target: '#v-step-1',
header: {
Expand Down
6 changes: 6 additions & 0 deletions demo/src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
</a>
</div>

<div class="docs-brand docs-brand--pulsar">
<a href="https://pulsar.surge.sh/" target="_blank" class="docs-logo docs-logo-pulsar" id="v-step-0-1">
<h2>PULSAR</h2>
</a>
</div>

<h1>vue-tour</h1>
<h2>a <u>Lightweight</u>, <u>Simple</u> and <u>Customizable</u> tour plugin for use with Vue.js</h2>

Expand Down

0 comments on commit 16fd73f

Please sign in to comment.