About page
This commit is contained in:
parent
36581c4665
commit
628fc4aeec
4 changed files with 58 additions and 23 deletions
44
src/components/About.vue
Normal file
44
src/components/About.vue
Normal file
|
@ -0,0 +1,44 @@
|
|||
<template>
|
||||
<main class="content">
|
||||
<h1>About</h1>
|
||||
<p>
|
||||
My Spells is an <a href="https://github.com/sharpshark28/my_spells"><i>code</i> open source</a>
|
||||
web-based application to elegently view spells and save them to your local spellbook.
|
||||
</p>
|
||||
|
||||
<h2>License</h2>
|
||||
<p>
|
||||
Open Game License v1.0a Copyright 2000, Wizards of the Coast, Inc.
|
||||
</p>
|
||||
<p>
|
||||
App contains content from the SRD and is restricted and covered by the OGL. You can find the OGL 1.0a at ogl.html in this app's repo, or <a href="http://www.opengamingfoundation.org/ogl.html">online here</a>. When using said data, please make sure to conform appropriately with the proper licenses and whatnot.
|
||||
</p>
|
||||
|
||||
<h2>Credit</h2>
|
||||
<ul>
|
||||
<li>
|
||||
ephe's <a href="https://github.com/ephe/grimoire/">grimoire</a> spell list converted json by vorpalhex and cleaned up to meet OGL license standards <a href="https://github.com/vorpalhex/srd_spells">labeled under srd_spells</a>
|
||||
<li>
|
||||
Built on <a href="https://vuejs.org/">Vue.js</a>
|
||||
and the <a href="http://quasar-framework.org/">Quasar Framework</a>
|
||||
</li>
|
||||
<li>
|
||||
Logo magic wand icon by David from the Noun Project
|
||||
</li>
|
||||
</ul>
|
||||
</main>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data () {
|
||||
return {}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="stylus">
|
||||
main
|
||||
padding: 0 2em
|
||||
max-width: 40rem
|
||||
</style>
|
|
@ -25,11 +25,16 @@
|
|||
</q-tab>
|
||||
<q-tab
|
||||
hidden="true"
|
||||
icon="import_contacts"
|
||||
route="/spell"
|
||||
>
|
||||
Spell
|
||||
</q-tab>
|
||||
<q-tab
|
||||
hidden="true"
|
||||
route="/about"
|
||||
>
|
||||
About
|
||||
</q-tab>
|
||||
</q-tabs>
|
||||
</footer>
|
||||
</template>
|
||||
|
|
|
@ -6,25 +6,18 @@
|
|||
<small>5e Personal Spellbook</small>
|
||||
</q-toolbar-title>
|
||||
|
||||
<button v-on:click="copy">
|
||||
<i>file_download</i>
|
||||
<router-link
|
||||
to="/about"
|
||||
tag="button"
|
||||
>
|
||||
<i>build</i>
|
||||
<q-tooltip
|
||||
anchor="bottom right"
|
||||
self="top right"
|
||||
>
|
||||
Export Selected Spells
|
||||
About
|
||||
</q-tooltip>
|
||||
</button>
|
||||
|
||||
<button v-on:click="paste">
|
||||
<i>cloud_upload</i>
|
||||
<q-tooltip
|
||||
anchor="bottom right"
|
||||
self="top right"
|
||||
>
|
||||
Import Selected Spells
|
||||
</q-tooltip>
|
||||
</button>
|
||||
</router-link>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -36,14 +29,6 @@ export default {
|
|||
return {
|
||||
state
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
copy () {
|
||||
console.log('Copy Chosen!', this.state.chosen)
|
||||
},
|
||||
paste () {
|
||||
console.log('Load Chosen!')
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -24,6 +24,7 @@ export default new VueRouter({
|
|||
{ path: '/', component: load('Index') }, // Default
|
||||
{ path: '/my', component: load('Myspells') },
|
||||
{ path: '/spell/:name', component: load('Spell') },
|
||||
{ path: '/about', component: load('About') },
|
||||
{ path: '*', component: load('Error404') } // Not found
|
||||
]
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue