Skip to content

Commit

Permalink
adición de boton volver a inicio
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando Acevedo Colman committed Jun 14, 2024
1 parent e345350 commit 72dde08
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@

<!-- Mostrar la IP del usuario -->
<p id="user-ip" class="mb-4 xl:mb-6 font-sans font-normal text-lg leading-6 text-gray-700"></p>

<p class="mb-4 xl:mb-6 font-sans font-normal text-lg leading-6 text-gray-700">Ingresa tu IP:</p>
<input type="text" id="ip-address" class="mb-6 xl:mb-8 font-sans font-normal text-lg leading-6 text-gray-700 p-2 border rounded" placeholder="Ingresa tu IP aquí">

<a id="analyze-button" class="inline-block py-5 px-10 text-xl leading-6 text-white font-medium tracking-tighter font-heading bg-gradient-to-r from-blue-600 to-purple-600 hover:from-blue-700 hover:to-purple-700 focus:ring-2 focus:ring-blue-600 focus:ring-opacity-50 rounded-xl shadow-xl transition transform hover:-translate-y-1 cursor-pointer">Analizar IP</a>
Expand Down
7 changes: 7 additions & 0 deletions src/pages/resultados.astro
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@
<div id="openPorts"></div>
</div>
</div>
<!-- Botón Volver a Inicio -->
<div class="flex justify-center mt-4">
<a href="/" class="inline-block py-5 px-10 text-xl leading-6 text-white font-medium tracking-tighter font-heading bg-gradient-to-r from-blue-600 to-purple-600 hover:from-blue-700 hover:to-purple-700 focus:ring-2 focus:ring-blue-600 focus:ring-opacity-50 rounded-xl shadow-xl transition transform hover:-translate-y-1 cursor-pointer">
Volver a Inicio
</a>
</div>

</section>

<script>
Expand Down

0 comments on commit 72dde08

Please sign in to comment.