Refactor: Login and profile page

This commit is contained in:
Kamigen
2024-06-26 15:01:34 -04:00
parent 5d3429afb2
commit aa4af266c0
4 changed files with 150 additions and 443 deletions

View File

@@ -39,14 +39,15 @@
<v-icon class="mx-2">mdi-bell-outline</v-icon>
<span class="flex items-center mx-2">
<span class="text-black text-base font-sans font-medium mr-3">
{{ currentUserName }}
</span>
<!-- TODO: Link to /profile if logged -->
<img src="/images/usersmedia/anonyme/profilepictures/profileAnonymeSquare.png"
class="rounded-circle h-10 w-10"
alt="Logo"/>
alt="Logo"/>
</span>
</div>
@@ -57,7 +58,7 @@
<script setup>
import {ref, onMounted, onUnmounted} from 'vue';
import {onMounted, onUnmounted, ref} from 'vue';
import {useRouter} from 'vue-router';
import SiteMenu from "@/views/main/SiteMenu.vue";