create helpcomponent

This commit is contained in:
Madara0330E
2024-02-21 21:19:08 +03:00
parent e390e8dcf7
commit fc1d7f552d
7 changed files with 57 additions and 5 deletions

View File

@@ -126,7 +126,7 @@ export default {
<nav>
<a href="#" @click="$router.push({ name: 'home' })" :class="{ 'header__nav--now' : $route.name === 'home' }">Главная</a>
<a v-if="authtoken !== ''" href="#" @click="$router.push({ name: 'profile' })" :class="{ 'header__nav--now' : $route.name === 'profile' }">Профиль</a>
<a href="#">Помощь</a>
<a href="#" @click="$router.push({ name: 'help' })" :class="{ 'header__nav--now' : $route.name === 'help' }">Помощь</a>
<a href="#" @click="$router.push({ name: 'about' })" :class="{ 'header__nav--now' : $route.name === 'about' }">О нас</a>
</nav>
</div>