fixed issue with sidebar not loading profile info on view switch and updated sidebar styling

This commit is contained in:
Keep Creating Online
2025-02-05 22:29:28 -05:00
parent 22ab53d338
commit 6f05fd8ca3
7 changed files with 144 additions and 93 deletions

View File

@@ -84,10 +84,14 @@
<!-- Login Button -->
<button
id="loginButton"
style="background-color: #fe0032"
style="background-color: #1e293b"
class="inline-flex items-center justify-center w-12 h-12 rounded-full text-white text-sm font-bold leading-none hover:bg-[#e6002c] focus:outline-none focus:ring-2 focus:ring-black focus:ring-offset-2"
>
login
<img
src="assets/svg/default-profile.svg"
alt="Profile Icon"
class="w-9 h-9"
/>
</button>
<!-- Upload Button (hidden by default) -->
@@ -107,7 +111,7 @@
<div class="w-10 h-10 rounded-full overflow-hidden">
<img
id="profileAvatar"
src="assets/jpg/default-profile.jpg"
src="assets/svg/default-profile.svg"
alt="Profile"
class="w-full h-full object-cover"
/>