File tree Expand file tree Collapse file tree 3 files changed +23
-0
lines changed
Expand file tree Collapse file tree 3 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 1111 </div >
1212 </router-link >
1313 </div >
14+ <NavBarBell v-if =" loggedIn" class =" md:invisible" ></NavBarBell >
1415 <div id =" burger" class =" md:hidden" >
1516 <button type =" button" class =" block text-gray-800 focus:outline-none" v-on:click =" isOpen = !isOpen" >
1617 <svg class =" w-8 h-8 text-purple-matcha fill-current" viewBox =" 0 0 24 24" >
2021 </button >
2122 </div >
2223 </div >
24+ <NavBarBell v-if =" loggedIn" class =" invisible md:visible" ></NavBarBell >
2325 <div id =" links" v-on:click =" isOpen = !isOpen" v-bind:class =" isOpen ? 'block' : 'hidden'" class =" px-2 pb-5 text-center md:p-0 md:block md:flex md:items-center" >
2426 <div v-if =" !loggedIn" class =" md:flex md:bg-purple-matcha md:border-2 md:border-purple-matcha md:rounded-lg" >
2527 <router-link to =" /accounts/signin" class =" navigation-button-logged-in md:hover:bg-white-matcha md:hover:text-purple-matcha md:text-purple-matcha md:bg-white-matcha md:py-2 md:px-8 md:rounded-md mx-0" >Sign In</router-link >
3840<script >
3941/* eslint-disable indent */
4042
43+ import { logOut } from ' @/auth/logOut' ;
44+ import NavBarBell from ' @/components/shared/NavBarBell.vue' ;
45+
4146export default {
4247 name: ' Navigation' ,
4348 props: [' currentRoute' ],
49+ components: {
50+ NavBarBell,
51+ },
4452 data () {
4553 return {
4654 isOpen: false ,
Original file line number Diff line number Diff line change 1+ <template >
2+ <!-- eslint-disable max-len -->
3+ <div class =" ml-auto mr-8 cursor-pointer relative pr-1" >
4+ <img src =" ../../assets/bell.png" class =" w-5" >
5+ <div v-if =" notify" class =" w-3 h-3 bg-purple-matcha rounded-full absolute right-0 bottom-0 ml-2 pl-1" ></div >
6+ </div >
7+ </template >
8+
9+ <script >
10+ export default {
11+ data : () => ({
12+ notify: false ,
13+ }),
14+ };
15+ </script >
You can’t perform that action at this time.
0 commit comments