first commit

This commit is contained in:
brusnitsyn
2026-01-04 23:15:06 +09:00
commit 0ec04cfb4b
104 changed files with 19072 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<script setup>
import {useAuthStore} from "../../Stores/auth.js";
import {NDropdown, NButton} from 'naive-ui'
const authStore = useAuthStore()
const userOptions = [
{
label: 'Выход',
key: 'exit',
},
]
const themeOverride = {
border: null,
borderHover: null,
borderPressed: null,
borderFocus: null,
paddingMedium: null,
rippleColor: null
}
</script>
<template>
<NDropdown :options="userOptions" placement="bottom-end">
<NButton :theme-overrides="themeOverride">
{{ authStore.user?.name }}
</NButton>
</NDropdown>
</template>
<style scoped>
</style>