Update Header.vue

This commit is contained in:
Vyacheslav 2024-08-23 14:52:01 +03:00
parent d92b81d5a1
commit 96e23c4b8c

View file

@ -9,11 +9,6 @@ const authStore = useAuthStore()
<header class="header"> <header class="header">
<div class="header-container"> <div class="header-container">
<div class="container"> <div class="container">
<h1 class="">{{ getTitle() }}</h1>
</div>
</div>
</header>
<h1>{{ getTitle() }}</h1> <h1>{{ getTitle() }}</h1>
<div v-if="authStore.isAuthorized"> <div v-if="authStore.isAuthorized">
<button type="button"> <button type="button">
@ -26,6 +21,11 @@ const authStore = useAuthStore()
Войти Войти
</button> </button>
</div> </div>
</div>
</div>
</header>
</template> </template>
<style scoped></style> <style scoped></style>