tiptap/examples/Components/Navigation/index.vue

44 lines
1017 B
Vue
Raw Normal View History

2018-08-22 20:10:44 +08:00
<template>
2018-11-09 05:03:10 +08:00
<div class="navigation">
2018-08-22 21:42:03 +08:00
2019-07-24 02:26:45 +08:00
<div>
<h1 class="navigation__logo">
tiptap
</h1>
<github-button
class="navigation__count"
href="https://github.com/scrumpy/tiptap"
data-show-count="true"
aria-label="Star scrumpy/tiptap on GitHub"
/>
</div>
2018-08-22 21:42:03 +08:00
2018-11-09 05:03:10 +08:00
<div>
2020-07-13 22:43:55 +08:00
<a class="navigation__link" href="https://tiptap.dev/docs" target="_blank">
2019-04-25 00:33:59 +08:00
Documentation
</a>
2018-12-11 17:44:19 +08:00
<a class="navigation__link" href="https://github.com/scrumpy/tiptap/blob/master/CONTRIBUTING.md" target="_blank">
2018-11-09 05:03:10 +08:00
Contribute
</a>
2018-12-11 17:44:19 +08:00
<a class="navigation__github-link" href="https://github.com/scrumpy/tiptap" target="_blank">
2018-11-09 05:03:10 +08:00
<icon class="navigation__icon" name="github" />
</a>
</div>
2018-08-22 21:42:16 +08:00
2018-11-09 05:03:10 +08:00
</div>
2018-08-22 20:10:44 +08:00
</template>
2018-08-22 21:42:03 +08:00
<script>
import Icon from 'Components/Icon'
2019-07-24 02:26:45 +08:00
import GithubButton from 'vue-github-button'
2018-08-22 21:42:03 +08:00
export default {
2018-11-09 05:03:10 +08:00
components: {
Icon,
2019-07-24 02:26:45 +08:00
GithubButton,
2018-11-09 05:03:10 +08:00
},
2018-08-22 21:42:03 +08:00
}
</script>
2018-11-09 05:03:10 +08:00
<style lang="scss" src="./style.scss" scoped></style>