Show user stats nav only when connected to server, remove tooltip, remove icons on stats

This commit is contained in:
advplyr
2022-08-04 17:22:56 -05:00
parent 87e277fad1
commit be6c675ded
3 changed files with 52 additions and 63 deletions
+5 -5
View File
@@ -99,12 +99,12 @@ export default {
text: 'Account',
to: '/account'
})
items.push({
icon: 'equalizer',
text: 'User Stats',
to: '/stats'
})
}
items.push({
icon: 'equalizer',
text: 'User Stats',
to: '/stats'
})
if (this.$platform !== 'ios') {
items.push({
+1 -3
View File
@@ -14,9 +14,7 @@
<div :key="n" class="absolute pointer-events-none left-0 h-px bg-white bg-opacity-10" :style="{ top: n * lineSpacing - lineSpacing / 2 + 'px', width: '360px', marginLeft: '24px' }" />
<div :key="`dot-${n}`" class="absolute z-10" :style="{ left: points[n - 1].x + 'px', bottom: points[n - 1].y + 'px' }">
<ui-tooltip :text="last7DaysOfListening[n - 1].minutesListening" direction="top">
<div class="h-2 w-2 bg-yellow-400 hover:bg-yellow-300 rounded-full transform duration-150 transition-transform hover:scale-125" />
</ui-tooltip>
<div class="h-2 w-2 bg-yellow-400 hover:bg-yellow-300 rounded-full transform duration-150 transition-transform hover:scale-125" />
</div>
</template>