Skip to content

Commit

Permalink
pingo doce; ir para o home
Browse files Browse the repository at this point in the history
  • Loading branch information
luckspt committed Dec 5, 2021
1 parent 347e5ee commit b66a099
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 12 deletions.
Binary file removed src/assets/audio/jorgejesus.mp3
Binary file not shown.
Binary file added src/assets/audio/pingo_doce.mp3
Binary file not shown.
1 change: 1 addition & 0 deletions src/components/NavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export default Vue.extend({
},
goHome() {
if (this.$route.name !== 'Chat') this.$router.push({ name: 'Chat' });
this.$emit('goHome');
},
goHelp() {
if (this.$route.name !== 'Help') this.$router.push({ name: 'Help', params: { p: this.$route.name as string } });
Expand Down
2 changes: 1 addition & 1 deletion src/components/dialogs/Soundboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ export default Vue.extend({
lastVol: 75,
selected: null as Som | null,
songs: [
{ nome: 'Amanha hablamos ok?', path: 'jorgejesus.mp3', duracao: 2000 },
{ nome: 'Amogus', path: 'amogus.mp3', duracao: 4000 },
{ nome: 'Anúncio LOL', path: 'anuncio_lol.mp3', duracao: 103000 },
{ nome: 'Astronaut in the Ocean', path: 'astronaut_ocean.mp3', duracao: 13000 },
Expand All @@ -168,6 +167,7 @@ export default Vue.extend({
{ nome: 'Não é não', path: 'nao_e_nao.mp3', duracao: 1000 },
{ nome: 'Olha tanta luz', path: 'olha_tanta_luz.mp3', duracao: 2000 },
{ nome: 'Polozhenie - Zedline', path: 'polozhenie.mp3', duracao: 67000 },
{ nome: 'Pingo doce', path: 'pingo_doce.mp3', duracao: 60000 },
{ nome: 'Shape of you', path: 'shape_of_you.mp3', duracao: 235000 },
{ nome: 'Shooting Stars', path: 'shooting_stars.mp3', duracao: 6000 },
{ nome: 'Super idol', path: 'super_idol.mp3', duracao: 14000 },
Expand Down
18 changes: 7 additions & 11 deletions src/containers/ChatContainer.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<NavBar style="height:66px;" class="mb-2"/>
<NavBar style="height:66px;" class="mb-2" @goHome="recenteSeleccionado = null"/>

<div class="grid px-3" style="height:100%;">
<vs-row justify="center" align="center" >
Expand Down Expand Up @@ -249,16 +249,12 @@
</vs-row>
</div>

<transition
name="fade"
mode="out-in">
<router-view
:chat="recenteSeleccionado"
:search="pesquisaMensagem"
@cameraUpdate="forceRerenderTable"
@messageSent="forceRerenderTable"
@callEnd="forceRerenderTable"/>
</transition>
<router-view
:chat="recenteSeleccionado"
:search="pesquisaMensagem"
@cameraUpdate="forceRerenderTable"
@messageSent="forceRerenderTable"
@callEnd="forceRerenderTable"/>
</div>
</vs-col>

Expand Down

0 comments on commit b66a099

Please sign in to comment.