-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
53965ff
commit 2a057cd
Showing
9 changed files
with
119 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<template> | ||
<div class="player-card hide-on-desktop"> | ||
<ul class="nav nav-pills nav-fill"> | ||
<li class="nav-item"> | ||
<router-link to="/" class="nav-link text-white fw-bold" aria-current="page"> | ||
<span class="fs-5 bi me-1" | ||
:class="{ 'bi-house-door-fill': path == '/', 'bi-house-door': path != '/' }"></span> | ||
</router-link> | ||
</li> | ||
<li class="nav-item"> | ||
<router-link to="/search" class="nav-link text-white fw-bold" aria-current="page"> | ||
<span class="fs-5 bi me-1" | ||
:class="{ 'bi bi-compass-fill': path.startsWith('/search'), 'bi bi-compass': !path.startsWith('/search') }"></span> | ||
</router-link> | ||
</li> | ||
<li class="nav-item"> | ||
<router-link to="/artists" class="nav-link text-white fw-bold" aria-current="page"> | ||
<span class="fs-5 bi me-1" | ||
:class="{ 'bi-person-fill': path == '/artists', 'bi-person': path != '/artists' }"></span> | ||
</router-link> | ||
</li> | ||
<li class="nav-item"> | ||
<router-link to="/albums" class="nav-link text-white fw-bold" aria-current="page"> | ||
<span class="fs-5 bi me-1" | ||
:class="{ 'bi-vinyl-fill': path == '/albums', 'bi-vinyl': path != '/albums' }"></span> | ||
</router-link> | ||
</li> | ||
<li class="nav-item"> | ||
<router-link to="/playlists" class="nav-link text-white fw-bold" aria-current="page"> | ||
<span class="fs-5 bi me-1" | ||
:class="{ 'bi-cassette-fill': path == '/playlists', 'bi-cassette': path != '/playlists' }"></span> | ||
</router-link> | ||
</li> | ||
<li class="nav-item"> | ||
<router-link to="/profile" class="nav-link text-white fw-bold" aria-current="page"> | ||
<span class="fs-5 bi bi-person-circle me-1"></span> | ||
</router-link> | ||
</li> | ||
</ul> | ||
</div> | ||
</template> | ||
|
||
<script setup> | ||
import { ref } from 'vue'; | ||
import { computed } from 'vue'; | ||
import { useRouter } from 'vue-router' | ||
const router = useRouter(); | ||
const search_field = ref(null); | ||
const path = computed(() => { | ||
return router.currentRoute.value.path; | ||
}) | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters