Skip to content

Commit

Permalink
style(frontend): Improve loading state in profile card
Browse files Browse the repository at this point in the history
- Added loading and disabled states to the profile card in 'profile.vue'.
- The card now reflects the loading state to provide a better user experience.
  • Loading branch information
sajjadth committed Nov 27, 2023
1 parent c479933 commit 189a745
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion frontend/pages/account/profile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
<!-- Main container with centered content -->
<v-container class="h-100 d-flex flex-column align-center justify-center">
<!-- Card for displaying user profile information -->
<v-card id="profile-card" rounded="xl">
<v-card
:loading="store.loading"
:disabled="store.loading"
id="profile-card"
rounded="xl"
>
<!-- Card title with avatar icon -->
<v-card-title class="text-center">
<v-avatar size="150">
Expand Down

0 comments on commit 189a745

Please sign in to comment.