Add user icon with dropdown menu to BottomNav

This commit is contained in:
rafaeldpsilva
2025-10-03 11:16:50 +01:00
parent e2cf2bc782
commit 544c1a3a4f
3 changed files with 326 additions and 3 deletions

View File

@@ -13,6 +13,7 @@
class="absolute bottom-0 left-0 right-0 bg-white md:bg-transparent border-t md:border-t-0 border-gray-200 md:shadow-none shadow-lg"
:class="getNavigationClasses()"
>
<UserIcon />
<div class="flex justify-center md:pb-4 pb-2">
<ul
class="flex space-x-4 md:space-x-8 md:bg-white md:rounded-lg md:shadow-md px-6 py-3 w-full md:w-auto justify-around md:justify-center"
@@ -126,9 +127,10 @@
</template>
<script setup lang="ts">
import { computed, onMounted } from 'vue'
import { onMounted } from 'vue'
import { useSettingsStore } from '@/stores/settings'
import UserIcon from './UserIcon.vue'
const settingsStore = useSettingsStore()
// Compute navigation classes based on settings