1
0
Fork 0

About page

This commit is contained in:
sharpshark28 2017-05-25 08:03:54 -05:00
parent 36581c4665
commit 628fc4aeec
4 changed files with 58 additions and 23 deletions

44
src/components/About.vue Normal file
View 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>

View file

@ -25,11 +25,16 @@
</q-tab> </q-tab>
<q-tab <q-tab
hidden="true" hidden="true"
icon="import_contacts"
route="/spell" route="/spell"
> >
Spell Spell
</q-tab> </q-tab>
<q-tab
hidden="true"
route="/about"
>
About
</q-tab>
</q-tabs> </q-tabs>
</footer> </footer>
</template> </template>

View file

@ -6,25 +6,18 @@
<small>5e Personal Spellbook</small> <small>5e Personal Spellbook</small>
</q-toolbar-title> </q-toolbar-title>
<button v-on:click="copy"> <router-link
<i>file_download</i> to="/about"
tag="button"
>
<i>build</i>
<q-tooltip <q-tooltip
anchor="bottom right" anchor="bottom right"
self="top right" self="top right"
> >
Export Selected Spells About
</q-tooltip> </q-tooltip>
</button> </router-link>
<button v-on:click="paste">
<i>cloud_upload</i>
<q-tooltip
anchor="bottom right"
self="top right"
>
Import Selected Spells
</q-tooltip>
</button>
</div> </div>
</template> </template>
@ -36,14 +29,6 @@ export default {
return { return {
state state
} }
},
methods: {
copy () {
console.log('Copy Chosen!', this.state.chosen)
},
paste () {
console.log('Load Chosen!')
}
} }
} }
</script> </script>

View file

@ -24,6 +24,7 @@ export default new VueRouter({
{ path: '/', component: load('Index') }, // Default { path: '/', component: load('Index') }, // Default
{ path: '/my', component: load('Myspells') }, { path: '/my', component: load('Myspells') },
{ path: '/spell/:name', component: load('Spell') }, { path: '/spell/:name', component: load('Spell') },
{ path: '/about', component: load('About') },
{ path: '*', component: load('Error404') } // Not found { path: '*', component: load('Error404') } // Not found
] ]
}) })