Client - use a link for app name

This commit is contained in:
Sam 2023-07-02 17:19:10 +02:00
parent 0f4ea025f9
commit c062b7a049

View File

@ -2,9 +2,7 @@
<div id="nav"> <div id="nav">
<div class="nav-container"> <div class="nav-container">
<div class="nav-app-name"> <div class="nav-app-name">
<div class="nav-item app-name" @click="$router.push('/')"> <router-link class="nav-item app-name" to="/">FitTrackee</router-link>
FitTrackee
</div>
</div> </div>
<div class="nav-icon-open" :class="{ 'menu-open': isMenuOpen }"> <div class="nav-icon-open" :class="{ 'menu-open': isMenuOpen }">
<i class="fa fa-bars hamburger-icon" @click="openMenu()"></i> <i class="fa fa-bars hamburger-icon" @click="openMenu()"></i>
@ -154,10 +152,6 @@
font-size: 1.2em; font-size: 1.2em;
font-weight: bold; font-weight: bold;
margin-right: 10px; margin-right: 10px;
&:hover {
cursor: pointer;
}
} }
.fa { .fa {