|
|
@ -1,6 +1,6 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<div class="bg-gray-200 w-screen h-screen mx-auto py-10 flex flex-col justify-center items-center">
|
|
|
|
<div class="bg-gray-200 w-screen h-screen mx-auto py-10 flex flex-col justify-center items-center">
|
|
|
|
<h1 class="text-2xl uppercase text-red-600 font-black text-center">APL Slapdash</h1>
|
|
|
|
<h1 class="text-2xl uppercase text-red-500 font-black text-center">Slapdash</h1>
|
|
|
|
<h2 class="my-4 text-lg">Welcome to Slapdash!</h2>
|
|
|
|
<h2 class="my-4 text-lg">Welcome to Slapdash!</h2>
|
|
|
|
<p class="my-8">Please enter your token to continue</p>
|
|
|
|
<p class="my-8">Please enter your token to continue</p>
|
|
|
|
<div class="input w-96 flex flex-col justify-center items-center">
|
|
|
|
<div class="input w-96 flex flex-col justify-center items-center">
|
|
|
@ -18,7 +18,7 @@ export default {
|
|
|
|
setup() {
|
|
|
|
setup() {
|
|
|
|
const store = inject('store')
|
|
|
|
const store = inject('store')
|
|
|
|
const disable = ref(false)
|
|
|
|
const disable = ref(false)
|
|
|
|
const token = ref('')
|
|
|
|
const token = ref(store.state.token)
|
|
|
|
const router = useRouter()
|
|
|
|
const router = useRouter()
|
|
|
|
|
|
|
|
|
|
|
|
const doAuth = async () => {
|
|
|
|
const doAuth = async () => {
|
|
|
|