mirror of
https://github.com/pockethost/pockethost.git
synced 2025-03-30 15:08:30 +00:00
feat: show email in account settings
This commit is contained in:
parent
e87890407a
commit
2b243ef597
@ -2,13 +2,15 @@
|
||||
import { userSubscriptionType } from '$util/stores'
|
||||
import { PLAN_NAMES, SubscriptionType } from 'pockethost/common'
|
||||
import { userStore } from '$util/stores'
|
||||
import { onMount } from 'svelte'
|
||||
import FlounderCard from './FlounderCard.svelte'
|
||||
import Avatar from '$src/routes/Navbar/Avatar.svelte'
|
||||
</script>
|
||||
|
||||
<div class="p-4">
|
||||
<div class="text-2xl m-4">My Account</div>
|
||||
|
||||
<div class="m-4">
|
||||
Your email: <span class="text-success font-bold">{$userStore?.email}</span>
|
||||
</div>
|
||||
<div class="m-4">
|
||||
Your plan: <span class="text-success font-bold"
|
||||
>{PLAN_NAMES[$userSubscriptionType]}</span
|
||||
|
Loading…
x
Reference in New Issue
Block a user