add new default color and fix bugs

This commit is contained in:
F4ilji
2025-04-05 18:36:32 +05:00
parent 8aeef476ae
commit f0f9a6fbd2
94 changed files with 317 additions and 318 deletions
@@ -1,7 +1,7 @@
<!-- NavLink.vue -->
<template>
<div class="flex items-center gap-x-10 gap-y-4 flex-wrap">
<PersonAvatarBlock v-if="person.data.details.photo" :photo="person.data.details.photo" />
<PersonAvatarBlock v-if="person.data?.details.photo" :photo="person.data.details.photo" />
<div class="grow">
<h1 class="text-2xl font-medium text-gray-800 dark:text-neutral-200">
{{ person.data.name }}
@@ -113,7 +113,7 @@ export default {
computed: {
linkClass() {
return {
'translate-x-2 text-[#135aae]': this.isActive,
'translate-x-2 text-primary-light': this.isActive,
'bg-transperant text-gray-600 hover:text-gray-900': !this.isActive
};
}