// script>
Espera a que se cargue el contenido del DOM
document.addEventListener('DOMContentLoaded', function () {
// Selecciona el elemento de texto
var textElement = document.getElementById('myText');
// Verifica si el ancho de la pantalla es mayor a 1024 píxeles
if (window.innerWidth > 1024) {
// Crea un nuevo elemento de enlace (a)
var linkElement = document.createElement('a');
linkElement.href = 'https://krugerworldwide.com/marketplace/';
linkElement.style.textDecoration = 'none'; // Opcional: quita subrayado del enlace si no lo necesitas
// Crea un nuevo elemento de imagen
var imgElement = document.createElement('img');
imgElement.src = 'https://krugerworldwide.com/wp-content/uploads/2025/02/why-marketplace.svg';
imgElement.alt = 'Logo Kruger';
imgElement.style.width = '160px'; // Ajusta el tamaño según tus necesidades
imgElement.style.margin = '0 0 -12px 0'; // Ajusta el margin-top
// Inserta la imagen dentro del enlace
linkElement.appendChild(imgElement);
// Reemplaza el elemento de texto con el enlace que contiene la imagen
textElement.replaceWith(linkElement);
}
});
/script>
<...>
More than software
deve/opers
Find the perfect candidate for your team. Connect with top developers and choose the right fit for your projects.