-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a0f5f66
commit 5c94bc6
Showing
9 changed files
with
56 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<template> | ||
<template v-if="accountStore.account"> | ||
<b-container class="py-5 text-white"> | ||
<h1>Settings</h1> | ||
<p class="lead">Personalize your collectible wallet.</p> | ||
</b-container> | ||
<div class="bg-dark py-5 flex-grow-1"> | ||
<b-container> | ||
<b-card v-for="profile of accountStore.profiles" variant="darker" class="mb-5"> | ||
<h3>Domain</h3> | ||
<BaseFormGroup label="URL"> | ||
<b-form-input v-model="profile.domain" /> | ||
</BaseFormGroup> | ||
<h3>Theme</h3> | ||
{{ profile.theme }} | ||
</b-card> | ||
</b-container> | ||
</div> | ||
</template> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import { mapStores } from 'pinia'; | ||
import { defineComponent } from 'vue'; | ||
import { useAccountStore } from '@thxnetwork/studio/stores'; | ||
export default defineComponent({ | ||
name: 'Account', | ||
data() { | ||
return { | ||
domain: '', | ||
}; | ||
}, | ||
computed: { | ||
...mapStores(useAccountStore), | ||
}, | ||
async mounted() { | ||
await this.accountStore.get(); | ||
await this.accountStore.getSettings(); | ||
}, | ||
}); | ||
</script> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
type TWidget = { | ||
sub: string; | ||
uuid: string; | ||
poolId: string; | ||
iconImg: string; | ||
|