33 lines
1.2 KiB
Vue
33 lines
1.2 KiB
Vue
<script setup>
|
|
import { ref } from 'vue';
|
|
import { useGlobalStore } from '../store/Global';
|
|
|
|
const globalStore = useGlobalStore();
|
|
|
|
const toggleSidebar = () => {
|
|
globalStore.sidebarOpen = !globalStore.sidebarOpen;
|
|
};
|
|
</script>
|
|
|
|
<template>
|
|
<header class="h-16 !bg-white grid items-center shadow-md
|
|
shadow-client-gray/10 px-4 grid-cols-2a justify-between relative z-20">
|
|
<div class="grid grid-cols-2a justify-start items-center gap-4">
|
|
<Button
|
|
icon="fi fi-rr-menu-burger"
|
|
class="lg:hidden !w-8 !h-8 visible sm:invisible flex items-center"
|
|
pt:icon="mt-[.6rem]"
|
|
variant="outlined"
|
|
@click="toggleSidebar"
|
|
/>
|
|
<figure class="max-sm:w-auto w-auto !h-12 flex justify-center p-1">
|
|
<img class="h-full w-full object-contain m-auto" src="@/images/radicall_logo.png" alt="">
|
|
</figure>
|
|
</div>
|
|
<div class="grid grid-cols-2a justify-start items-center gap-4">
|
|
<Avatar icon="fi fi-rr-user" severity="secondary" class="mr-2 !w-10 !h-10 flex" shape="circle" />
|
|
</div>
|
|
</header>
|
|
</template>
|
|
|