Home Page

- Got a page design from TailwindUI
- Added to the default layout
- Added a header to the home page
This commit is contained in:
2020-11-08 17:21:45 +00:00
parent de3d4d03c3
commit cbdd40cb5a
5 changed files with 694 additions and 111 deletions

View File

@@ -12,6 +12,12 @@ export default {
this.$store.commit('auth/setToken', null)
this.$store.commit('auth/setLoggedIn', false)
},
async login() {
const token = await this.$magic.auth.loginWithMagicLink({
email: this.email,
})
this.$store.commit('auth/setToken', token)
},
},
}
</script>