mirror of
https://github.com/PhaseII-eAmusement-Network/PhaseWeb3-Vue.git
synced 2026-08-28 20:14:18 -05:00
26 lines
442 B
Vue
26 lines
442 B
Vue
<script setup>
|
|
import { defineProps } from "vue";
|
|
|
|
defineProps({
|
|
musicData: {
|
|
type: Object,
|
|
required: true,
|
|
},
|
|
gameId: {
|
|
type: String,
|
|
required: true,
|
|
},
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<div class="flex mt-3">
|
|
<a
|
|
class="bg-slate-700 p-2 rounded-xl hover:text-slate-300"
|
|
:href="`/games/${gameId}/song/${musicData.id}`"
|
|
>
|
|
{{ musicData.name }} - {{ musicData.artist }}
|
|
</a>
|
|
</div>
|
|
</template>
|