Skip to content

Commit

Permalink
feat: added breadcrumb to admin page
Browse files Browse the repository at this point in the history
  • Loading branch information
ymarcon committed Oct 21, 2024
1 parent 57b2fc8 commit f55bb4a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions frontend/src/pages/AdminPage.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<template>
<q-page>
<div class="text-h4 q-pa-md bg-accent text-white text-weight-light">
{{ $t('administration') }}
<div class="q-pa-md bg-accent text-white text-weight-light">
<q-breadcrumbs class="text-h5" active-color="white">
<q-breadcrumbs-el icon="home" to=".."/>
<q-breadcrumbs-el :label="$t('administration')" />
</q-breadcrumbs>
</div>
<q-toolbar v-if="authStore.isAuthenticated" class="bg-warning">
<span>{{ $t(authStore.isAdmin ? 'user.welcome_admin' : 'user.welcome', { name: authStore.profile?.firstName }) }}</span>
Expand Down

0 comments on commit f55bb4a

Please sign in to comment.