account page clean up

This commit is contained in:
Gamebrary 2022-07-10 14:36:16 -07:00
parent a2719e9f93
commit 53604a9bea
2 changed files with 15 additions and 9 deletions

View file

@ -1,13 +1,18 @@
<template lang="html">
<div v-if="provider">
<p>{{ user.displayName }}</p>
<p>Member since {{ dateJoined }}</p>
<p>Last login {{ lastLogin }}</p>
<b-card v-if="provider" style="max-width: 100%; width: 400px;">
<b-media right-align vertical-align="center">
<template #aside>
<b-img
:src="`/logos/companies/${provider.id}.svg`"
width="60"
alt="Provider"
/>
</template>
<h3 class="mt-0 mb-1">{{ user.displayName }}</h3>
<p>
Logged in with <strong>{{ provider.name }}</strong>
</p>
</div>
<p>Logged in {{ lastLogin }} using <strong>{{ provider.name }}</strong>.</p>
</b-media>
</b-card>
</template>
<script>

View file

@ -5,7 +5,8 @@
<provider-card />
<b-button
variant="outline-danger"
class="mt-3"
variant="danger"
v-b-modal:deleteAccount
>
Delete Account