repod/src/components/Player/Infos.vue

31 lines
511 B
Vue
Raw Normal View History

2023-08-27 20:20:34 +00:00
<template>
<div>
2023-08-28 22:47:22 +00:00
<a :href="player.episode.episodeLink" target="_blank">
<strong>{{ player.episode.episodeName }}</strong>
2023-08-27 20:20:34 +00:00
</a>
2023-08-28 22:47:22 +00:00
<router-link :to="player.podcastUrl">
<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
}
</style>