Skip to content

Commit

Permalink
Merge pull request #15 from IT4Change/fix-flickering-in-topbar
Browse files Browse the repository at this point in the history
feat(frontend): switch TopBar from DefaultLayout to PageShell
  • Loading branch information
Elweyn authored Nov 24, 2023
2 parents 9ea29c9 + 14664a4 commit 2b162f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions src/components/PageShell.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<template>
<v-app>
<TopMenu />
<slot />
</v-app>
</template>

<script lang="ts" setup>
import TopMenu from '#components/menu/TopMenu.vue'
</script>
3 changes: 0 additions & 3 deletions src/layouts/DefaultLayout.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<template>
<TopMenu />
<v-main class="bg-grey-lighten-3">
<v-container>
<v-row>
Expand All @@ -22,7 +21,5 @@
<script lang="ts" setup>
import { useSlots } from 'vue'
import TopMenu from '#components/menu/TopMenu.vue'
const slots = useSlots()
</script>

0 comments on commit 2b162f8

Please sign in to comment.