Skip to content

Commit

Permalink
add seperate header to task template
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrieh committed Jul 4, 2024
1 parent 82ce005 commit 42ffe98
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion layouts/template.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
<template>
<div class="fullwidth">
<TheHeader />
<div class="header">
<TheLogo/>
<div>
{{ userName }}@{{ permission }}
</div>
</div>
<ModalsContainer />
<slot />
</div>
</template>

<script setup lang="ts">
import { ModalsContainer } from "vue-final-modal";
const { connectWallet, isLoggedIn, userName, permission } = useEffectClient();
</script>

<style>
Expand All @@ -16,4 +23,12 @@ import { ModalsContainer } from "vue-final-modal";
max-width: 100%;
padding: 0;
}
.header {
display: flex;
align-items: center;
justify-content: space-between;
margin: 1rem 1rem;
}
</style>

0 comments on commit 42ffe98

Please sign in to comment.