Skip to content

Commit

Permalink
fix: #416
Browse files Browse the repository at this point in the history
  • Loading branch information
khansadaoudi committed Nov 29, 2024
1 parent 30ddc36 commit 221913d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/layouts/AppLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@
<div v-if="$q.platform.is.mobile">
<q-btn-dropdown flat label="More">
<q-list>
<q-item
v-if="isLoggedIn"
v-close-popup
clickable
to="/home"
>
<q-item-section>
<q-item-label>Home</q-item-label>
</q-item-section>
</q-item>
<q-item
v-close-popup
clickable
Expand Down Expand Up @@ -46,6 +56,16 @@
</q-btn-dropdown>
</div>
<div v-else>
<q-btn
v-if="isLoggedIn"
no-caps
flat
size="md"
label="Home"
color="primary"
to="/home"
>
</q-btn>
<q-btn
no-caps
flat
Expand Down
1 change: 1 addition & 0 deletions src/router/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const routes: RouteRecordRaw[] = [
path: '/', component: () => import('src/layouts/AppLayout.vue'),
children: [
{ path: '', component: () => { return import('src/pages/Index.vue'); } },
{ path: '/home', component:() => { return import('src/pages/Index.vue') } },
{ path: '/projects', component: () => import('src/pages/ProjectsHub.vue') },
{
path: '/projects/:projectname',
Expand Down

0 comments on commit 221913d

Please sign in to comment.