|
6 | 6 | <div id="logo"> |
7 | 7 | <router-link to="/"> |
8 | 8 | <div class="flex justify-center items-center"> |
9 | | - <img src="../../assets/logo.png" class="h-10"> |
10 | | - <h1 class="text-purple-matcha text-2xl font-bold ml-2">Matcha</h1> |
| 9 | + <img src="../../assets/logo.png" class="h-6"> |
| 10 | + <h1 class="invisible lg:visible text-purple-matcha text-xl ml-2">Matcha</h1> |
11 | 11 | </div> |
12 | 12 | </router-link> |
13 | 13 | </div> |
|
25 | 25 | <router-link to="/accounts/signin" class="navigation-button-logged-in sm:hover:bg-white-matcha sm:hover:text-purple-matcha sm:text-purple-matcha sm:bg-white-matcha sm:py-2 sm:px-8 sm:rounded-md">Sign In</router-link> |
26 | 26 | <router-link to="/accounts/signup" class="navigation-button-logged-in sm:hover:bg-purple-matcha sm:hover:text-white-matcha sm:text-white-matcha sm:py-2 sm:px-8">Get Started</router-link> |
27 | 27 | </div> |
28 | | - <router-link v-if="loggedIn && currentRoute !== 'Browse'" to="/browse" class="navigation-button-logged-in">Browse</router-link> |
29 | | - <router-link v-if="loggedIn && currentRoute !== 'Search'" to="/search" class="navigation-button-logged-in">Search</router-link> |
30 | | - <router-link v-if="loggedIn" to="/" class="navigation-button-logged-in">Matches</router-link> |
31 | | - <router-link v-if="loggedIn && currentRoute !== 'Settings'" to="/settings" class="navigation-button-logged-in">Settings</router-link> |
| 28 | + <router-link v-if="loggedIn" to="/browse" v-bind:class="{'navigation-button-logged-in': true, 'bg-purple-matcha': currentRoute === 'Browse', 'text-white-matcha': currentRoute === 'Browse'}">Browse</router-link> |
| 29 | + <router-link v-if="loggedIn" to="/search" v-bind:class="{'navigation-button-logged-in': true, 'bg-purple-matcha': currentRoute === 'Search', 'text-white-matcha': currentRoute === 'Search'}">Search</router-link> |
| 30 | + <router-link v-if="loggedIn" to="/matches" v-bind:class="{'navigation-button-logged-in': true, 'bg-purple-matcha': currentRoute === 'Matches', 'text-white-matcha': currentRoute === 'Matches'}" class="navigation-button-logged-in">Matches</router-link> |
| 31 | + <router-link v-if="loggedIn" to="/settings" v-bind:class="{'navigation-button-logged-in': true, 'bg-purple-matcha': currentRoute === 'Settings', 'text-white-matcha': currentRoute === 'Settings'}">Settings</router-link> |
| 32 | + <router-link v-if="loggedIn" to="/history" v-bind:class="{'navigation-button-logged-in': true, 'bg-purple-matcha': currentRoute === 'History', 'text-white-matcha': currentRoute === 'History'}">History</router-link> |
32 | 33 | <router-link v-if="loggedIn" v-on:click.native="logout()" to="/" class="navigation-button-logged-in">Exit</router-link> |
33 | 34 | </div> |
34 | 35 | </nav> |
|
0 commit comments