Explorar o código

feat(station card): Accessibility/hover titles for current song & users

Owen Diffey %!s(int64=5) %!d(string=hai) anos
pai
achega
c1806a8210
Modificáronse 1 ficheiros con 11 adicións e 1 borrados
  1. 11 1
      frontend/components/pages/Home.vue

+ 11 - 1
frontend/components/pages/Home.vue

@@ -141,12 +141,22 @@
 							<span
 								v-if="station.currentSong.title"
 								class="songTitle"
+								:title="
+									'Now Playing: ' + station.currentSong.title
+								"
 								>{{ station.currentSong.title }}</span
 							>
 							<span v-else class="songTitle"
 								>No Songs Playing</span
 							>
-							<div class="right">
+							<div
+								class="right"
+								:title="
+									'There are currently ' +
+										station.userCount +
+										' users listening'
+								"
+							>
 								<i class="material-icons">people</i>
 								<span class="currentUsers">{{
 									station.userCount