Skip to content

Commit

Permalink
update alert message and enhance radio station link display
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinmichels committed Dec 9, 2024
1 parent e218bd9 commit 3312ddc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const gameOver = () => {
isGameOver.value = true
// wait a moment before showing alert
setTimeout(() => {
alert('Good try! The write answer was ' + secretCountry.name)
alert('Good try! The mystery country was ' + secretCountry.name)
}, 200)
}
Expand Down
13 changes: 3 additions & 10 deletions frontend/src/components/Radio.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@
<td>Station Name</td>
<td>
<span v-if="isGameOver">
{{ radioStations[selectedStationIdx].channel_name }}
<a v-if="isGameOver" :href="stationLink" target="_blank">
{{ radioStations[selectedStationIdx].channel_name }}
</a>
</span>
<span v-else>????</span>
</td>
Expand All @@ -67,15 +69,6 @@
<span v-else>????</span>
</td>
</tr>
<tr>
<td>Link</td>
<td>
<a v-if="isGameOver" :href="stationLink" target="_blank">
radio.garden
</a>
<span v-else>????</span>
</td>
</tr>
</tbody>
</table>
</div>
Expand Down

0 comments on commit 3312ddc

Please sign in to comment.