a bunch of bug fixes and improvements

This commit is contained in:
Zoe
2023-04-28 00:28:37 -05:00
parent a7c91b382a
commit b88b3207b3
27 changed files with 494 additions and 184 deletions

View File

@@ -1,3 +1,31 @@
<template>
<p>hey</p>
</template>
<div class="bg-[var(--primary-bg)] h-full">
<Popup
:opened="true"
:openedBy="'userInfo'"
/>
<Popup
:opened="true"
:openedBy="'emojiPicker'"
/>
</div>
</template>
<script lang="ts">
import { useEmojiPickerStore } from '~/stores/emojiPickerStore';
export default {
data() {
return {
emojiPickerData: storeToRefs(useEmojiPickerStore()).emojiPickerData,
emojiPickerStyles: {
top: storeToRefs(useEmojiPickerStore()).emojiPickerData.value.top + 'px',
right: storeToRefs(useEmojiPickerStore()).emojiPickerData.value.right + 'px',
}
};
},
mounted() {
useEmojiPickerStore().openEmojiPicker({ opened: true, type: 'userInfo', right: 0, top: 0 });
}
};
</script>