fix things

This commit is contained in:
Troplo 2021-01-21 03:33:49 +11:00
parent 4d414d28dd
commit 4a173a4474
2 changed files with 5 additions and 2 deletions

View file

@ -62,7 +62,7 @@
</div> </div>
<div class="column is-5"> <div class="column is-5">
<h1 class="title">Preview Image</h1> <h1 class="title">Preview Image</h1>
<img :src="'https://cdn.kaverti.com/marketplace/previews/' + preview + '.png'" v-if="preview"> <img :src="'https://cdn.kaverti.com/marketplace/preview/' + preview + '.png'" v-if="preview">
<h1 class="subtitle" v-if="!preview">Press preview to preview the hat as if it were uploaded on the Marketplace.</h1> <h1 class="subtitle" v-if="!preview">Press preview to preview the hat as if it were uploaded on the Marketplace.</h1>
<h1 class="subtitle">Please validate to make sure all information is correct, your item will automatically be approved.</h1> <h1 class="subtitle">Please validate to make sure all information is correct, your item will automatically be approved.</h1>
</div> </div>

View file

@ -1,6 +1,6 @@
<template> <template>
<main> <main>
<div class="columns is-centered"> <div class="columns is-centered" v-if="$store.state.user.username">
<div class="column is-4 is-vcentered has-text-centered"> <div class="column is-4 is-vcentered has-text-centered">
<h1 class="title has-text-centered">{{$store.state.user.username}}</h1> <h1 class="title has-text-centered">{{$store.state.user.username}}</h1>
<div class="box"> <div class="box">
@ -19,6 +19,9 @@
</div> </div>
</div> </div>
</div> </div>
<div v-if="!$store.state.user.username">
This route requires authentication
</div>
</main> </main>
</template> </template>