Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
PistonCube authored Feb 29, 2024
1 parent ae53b70 commit 307c2c9
Showing 1 changed file with 1 addition and 40 deletions.
41 changes: 1 addition & 40 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
<p>PistonCubeBOT is is a project Created by PistonCube with help from Gabry<br>
is a bot that plans to be on all anarchy minecraft servers (premium and no premium) Premium for now disabled</p>
<br>
<h4>Remember that you can play the best anarchy minecraft server (2b2t.com.ar)</h2>
<div>

<br>
Expand All @@ -83,45 +82,7 @@ <h3>You can join the official PistonCubeBOT Discord server.</h3>

<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous"></script>
<script src="./js/js.js"></script>

<!-- Overlay (fondo oscuro) y pop-up -->
<div class="overlay" id="overlay"></div>
<div class="popup" id="popup">
<img src="https://www.2b2t.com.ar/assets/logo.png?v=45d4249ad7" height="50" width="500"><br>
</br>
<p>Remember that you can play the best anarchy minecraft server (2b2t.com.ar)</p>
<br>
<iframe style="width:728px;height:90px;max-width:100%;border:none;display:block;margin:auto" src="https://es.namemc.com/server/2b2t.com.ar/embed" width="728" height="90"></iframe>
<br>
<button id="okButton">Join</button>
<button id="cerrarButton">Close</button>
</div>

<script>
// Función para mostrar el pop-up
function mostrarPopUp() {
document.getElementById("overlay").style.display = "block";
document.getElementById("popup").style.display = "block";
}

// Función para ocultar el pop-up
function ocultarPopUp() {
document.getElementById("overlay").style.display = "none";
document.getElementById("popup").style.display = "none";
}

// Mostrar el pop-up después de 5 segundos
setTimeout(mostrarPopUp, 2000);

// Asignar el evento clic al botón "OK" para redirigir a discord.com
document.getElementById("okButton").addEventListener("click", function () {
window.location.href = "https://www.2b2t.com.ar/discord";
});

// Asignar el evento clic al botón "Cerrar" para ocultar el pop-up
document.getElementById("cerrarButton").addEventListener("click", ocultarPopUp);
</script>


<script>
discordInvite.init({
inviteCode: 'eKeeZPq6SJ',
Expand Down

0 comments on commit 307c2c9

Please sign in to comment.