repod/src/components/Player/Infos.vue

37 lines
627 B
Vue
Raw Normal View History

2023-08-27 20:20:34 +00:00
<template>
<div>
2023-12-24 09:50:25 +00:00
<a class="episode" :href="player.episode.episodeLink" target="_blank">
2023-08-28 22:47:22 +00:00
<strong>{{ player.episode.episodeName }}</strong>
2023-08-27 20:20:34 +00:00
</a>
2023-12-24 09:50:25 +00:00
<router-link class="podcast" :to="player.podcastUrl">
2023-08-28 22:47:22 +00:00
<i>{{ player.episode.podcastName }}</i>
2023-08-27 20:20:34 +00:00
</router-link>
</div>
</template>
<script>
export default {
name: 'Infos',
computed: {
2023-08-28 22:47:22 +00:00
player() {
return this.$store.state.player
2023-08-27 20:20:34 +00:00
},
},
}
</script>
<style scoped>
div {
display: flex;
flex-direction: column;
justify-content: center;
2023-08-28 16:18:25 +00:00
width: 40%;
2023-08-27 20:20:34 +00:00
}
2023-12-24 09:50:25 +00:00
@media only screen and (max-width: 768px) {
.podcast {
display: none;
}
}
2023-08-27 20:20:34 +00:00
</style>