Skip to content

Commit

Permalink
💚 Ventanita de vuelta
Browse files Browse the repository at this point in the history
  • Loading branch information
1cgonza committed Nov 1, 2024
1 parent 0815876 commit 167f909
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pages/proyectos/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -63,19 +63,19 @@ if (!pagina) return Astro.redirect('/404');
</div>
</main>

<!-- <div id="videoFondo">
<div id="videoFondo">
<img id="ventanita" src="" alt="Es una ventanita de EnFlujo" />
</div> -->
</div>
</Plantilla>

<!-- <script>
<script>
const ventanita = document.getElementById('ventanita') as HTMLImageElement;
const ws = new WebSocket(`wss://ventanita.enflujo.com/ventanita`);

ws.onmessage = (evento) => {
ventanita.src = `data:image/jpeg;base64,${evento.data}`;
};
</script> -->
</script>

<style lang="scss">
@import '@/scss/_constantes.scss';
Expand Down

0 comments on commit 167f909

Please sign in to comment.