im done for rn gn

This commit is contained in:
kittentm 2026-07-27 10:34:50 +02:00
commit 79922f09a1
Signed by: kitten
GPG key ID: 394B4EABE4405A83
16 changed files with 2283 additions and 0 deletions

37
app/components/header.vue Normal file
View file

@ -0,0 +1,37 @@
<script setup>
defineProps({
userProfile: {
type: Object,
default: null
},
activeTab: {
type: String,
default: 'welcome'
}
})
const emit = defineEmits(['logout', 'navigate'])
</script>
<template>
<aside class="settings-sidebar">
<div class="sidebar-header archivo-black">
MOD PORTAL
</div>
<div v-if="userProfile" class="user-badge">
<span class="user-name">{{ userProfile.username || userProfile.firstName }}</span>
<span class="user-email">{{ userProfile.email }}</span>
</div>
<nav class="sidebar-menu">
<button type="button" class="nav-item" :class="{ 'active-nav': activeTab === 'welcome' }"
@click="emit('navigate', '/')">
<span>Welcome</span>
</button>
<button type="button" class="nav-item logout-btn" @click="emit('logout')">
<span>Sign Out</span>
</button>
</nav>
</aside>
</template>