Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
chore: remove old code
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrikBird committed Jun 19, 2022
1 parent 06f0c48 commit b8c4344
Showing 1 changed file with 4 additions and 37 deletions.
41 changes: 4 additions & 37 deletions src/components/NavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ const btnText = computed(() => (mainStore.user.isObserver ? 'Observer' : 'Voter'
<akar-icons:sun />
</span>
</button>
<button data-test="toggleObserverBtn" class="btn btn-info btn-outline ml-5" @click="mainStore.toggleObserver">
<button
data-test="toggleObserverBtn"
class="btn btn-info btn-outline ml-5"
@click="mainStore.toggleObserver">
{{ btnText }}
</button>
<button
Expand All @@ -37,41 +40,5 @@ const btnText = computed(() => (mainStore.user.isObserver ? 'Observer' : 'Voter'
Logout
</button>
</div>
<!-- <div class="hidden px-2 mx-2 navbar-center lg:flex">
<div class="flex items-stretch justify-end">
<a class="btn btn-ghost btn-sm rounded-btn"> Home </a>
<a class="btn btn-ghost btn-sm rounded-btn"> Portfolio </a>
<a class="btn btn-ghost btn-sm rounded-btn"> About </a>
<a class="btn btn-ghost btn-sm rounded-btn"> Contact </a>
</div>
</div>
<div class="navbar-end">
<button class="btn btn-square btn-ghost">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
class="inline-block w-6 h-6 stroke-current">
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9"></path>
</svg>
</button>
<button class="btn btn-square btn-ghost">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
class="inline-block w-6 h-6 stroke-current">
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"></path>
</svg>
</button>
</div> -->
</div>
</template>

0 comments on commit b8c4344

Please sign in to comment.