-
-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9e3c9fe
commit 9e07294
Showing
19 changed files
with
1,797 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
<template> | ||
<div class="center example-nav"> | ||
<vs-navbar center-collapsed v-model="active"> | ||
<template #left> | ||
<img src="/logo2.png" alt=""> | ||
</template> | ||
<vs-navbar-group> | ||
Docs | ||
<template #items> | ||
<vs-navbar-item :active="active == 'guide'" id="guide"> | ||
Guide | ||
</vs-navbar-item> | ||
<vs-navbar-item :active="active == 'docs'" id="docs"> | ||
Documents | ||
</vs-navbar-item> | ||
<vs-navbar-item :active="active == 'components'" id="components"> | ||
Components | ||
</vs-navbar-item> | ||
</template> | ||
</vs-navbar-group> | ||
|
||
<vs-navbar-group> | ||
Ecosystem | ||
|
||
<template #items> | ||
<h5 class="title"> | ||
Social | ||
</h5> | ||
|
||
<vs-navbar-item :active="active == 'Github'" id="Github"> | ||
Github | ||
</vs-navbar-item> | ||
<vs-navbar-item :active="active == 'Discord'" id="Discord"> | ||
Discord | ||
</vs-navbar-item> | ||
<vs-navbar-item :active="active == 'Twitter'" id="Twitter"> | ||
</vs-navbar-item> | ||
<vs-navbar-item :active="active == 'Medium'" id="Medium"> | ||
Medium | ||
</vs-navbar-item> | ||
</template> | ||
</vs-navbar-group> | ||
|
||
<vs-navbar-item :active="active == 'License'" id="License"> | ||
License | ||
</vs-navbar-item> | ||
|
||
<template #right> | ||
<vs-button flat >Login</vs-button> | ||
<vs-button>Get Started</vs-button> | ||
</template> | ||
</vs-navbar> | ||
<div class="square"> | ||
<div class="child"> | ||
child 1 | ||
</div> | ||
<div class="child"> | ||
child 2 | ||
</div> | ||
<div class="child"> | ||
child 3 | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
<script> | ||
export default { | ||
data:() => ({ | ||
active: 'guide' | ||
}) | ||
} | ||
</script> | ||
<style lang="stylus"> | ||
.title | ||
text-align left | ||
margin 0px | ||
width 100% | ||
padding 5px 6px | ||
.square | ||
height 400px | ||
position relative | ||
overflow auto | ||
width 100% | ||
.child | ||
height 400px | ||
display flex | ||
align-items center | ||
justify-content center | ||
width 100% | ||
.example-nav | ||
background rgb(240,240,240) !important | ||
padding 0px !important | ||
position relative | ||
img | ||
max-height 25px | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<template> | ||
<div class="center example-nav"> | ||
<vs-navbar target-scroll="#hide-scroll-content" hide-scroll center-collapsed v-model="active"> | ||
<template #left> | ||
<img src="/logo2.png" alt=""> | ||
</template> | ||
<vs-navbar-item :active="active == 'guide'" id="guide"> | ||
Guide | ||
</vs-navbar-item> | ||
<vs-navbar-item :active="active == 'docs'" id="docs"> | ||
Documents | ||
</vs-navbar-item> | ||
<vs-navbar-item :active="active == 'components'" id="components"> | ||
Components | ||
</vs-navbar-item> | ||
<vs-navbar-item :active="active == 'license'" id="license"> | ||
license | ||
</vs-navbar-item> | ||
<template #right> | ||
<vs-button flat >Login</vs-button> | ||
<vs-button>Get Started</vs-button> | ||
</template> | ||
</vs-navbar> | ||
<div id="hide-scroll-content" class="square"> | ||
<div class="child"> | ||
child 1 | ||
</div> | ||
<div class="child"> | ||
child 2 | ||
</div> | ||
<div class="child"> | ||
child 3 | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
<script> | ||
export default { | ||
data:() => ({ | ||
active: 'guide' | ||
}) | ||
} | ||
</script> | ||
<style lang="stylus"> | ||
.square | ||
height 400px | ||
position relative | ||
overflow auto | ||
width 100% | ||
.child | ||
height 400px | ||
display flex | ||
align-items center | ||
justify-content center | ||
width 100% | ||
.example-nav | ||
background rgb(240,240,240) !important | ||
padding 0px !important | ||
position relative | ||
overflow hidden | ||
img | ||
max-height 25px | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 63 additions & 0 deletions
63
packages/docs/.vuepress/components/Navbar/paddingScroll.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<template> | ||
<div class="center example-nav"> | ||
<vs-navbar target-scroll="#padding-scroll-content" padding-scroll center-collapsed v-model="active"> | ||
<template #left> | ||
<img src="/logo2.png" alt=""> | ||
</template> | ||
<vs-navbar-item :active="active == 'guide'" id="guide"> | ||
Guide | ||
</vs-navbar-item> | ||
<vs-navbar-item :active="active == 'docs'" id="docs"> | ||
Documents | ||
</vs-navbar-item> | ||
<vs-navbar-item :active="active == 'components'" id="components"> | ||
Components | ||
</vs-navbar-item> | ||
<vs-navbar-item :active="active == 'license'" id="license"> | ||
license | ||
</vs-navbar-item> | ||
<template #right> | ||
<vs-button flat >Login</vs-button> | ||
<vs-button>Get Started</vs-button> | ||
</template> | ||
</vs-navbar> | ||
<div id="padding-scroll-content" class="square"> | ||
<div class="child"> | ||
child 1 | ||
</div> | ||
<div class="child"> | ||
child 2 | ||
</div> | ||
<div class="child"> | ||
child 3 | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
<script> | ||
export default { | ||
data:() => ({ | ||
active: 'guide' | ||
}) | ||
} | ||
</script> | ||
<style lang="stylus"> | ||
.square | ||
height 400px | ||
position relative | ||
overflow auto | ||
width 100% | ||
.child | ||
height 400px | ||
display flex | ||
align-items center | ||
justify-content center | ||
width 100% | ||
.example-nav | ||
background rgb(240,240,240) !important | ||
padding 0px !important | ||
position relative | ||
overflow hidden | ||
img | ||
max-height 25px | ||
</style> |
Oops, something went wrong.