¡Claro! A continuación te presento un ejemplo completo de un archivo index.html que muestra una página en construcción, incluyendo una imagen SVG incorporada directamente en el código HTML.
Puedes personalizar el mensaje y la imagen según tus necesidades:
html Copy code
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<title>Página en Construcción</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
text-align: center;
padding-top: 10%;
}
.container {
max-width: 600px;
margin: auto;
background-color: #ffffff;
padding: 30px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
h1 {
color: #333333;
}
p {
color: #666666;
}
svg {
width: 200px;
height: auto;
margin: 20px 0;
}
</style>
</head>
<body>
<div class="container">
<!-- Imagen SVG incorporada directamente -->
<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
<circle cx="100" cy="100" r="90" stroke="#ddd" stroke-width="8" fill="#f9f9f9" />
<circle cx="100" cy="100" r="70" stroke="#4CAF50" stroke-width="8" fill="none" />
<line x1="100" y1="30" x2="100" y2="60" stroke="#4CAF50" stroke-width="8" />
<line x1="100" y1="140" x2="100" y2="170" stroke="#4CAF50" stroke-width="8" />
<line x1="30" y1="100" x2="60" y2="100" stroke="#4CAF50" stroke-width="8" />
<line x1="140" y1="100" x2="170" y2="100" stroke="#4CAF50" stroke-width="8" />
<line x1="58" y1="58" x2="75" y2="75" stroke="#4CAF50" stroke-width="8" />
<line x1="125" y1="75" x2="142" y2="58" stroke="#4CAF50" stroke-width="8" />
<line x1="58" y1="142" x2="75" y2="125" stroke="#4CAF50" stroke-width="8" />
<line x1="142" y1="125" x2="125" y2="142" stroke="#4CAF50" stroke-width="8" />
</svg>
<h1>¡Página en Construcción!</h1>
<p>Estamos trabajando arduamente para traerte una experiencia mejor. Por favor, vuelve más tarde.</p>
</div>
</body>
</html>
🔧 Notas:
La imagen SVG es una "herramienta de construcción" simple hecha con formas geométricas.
Puedes reemplazar el contenido del <svg> por cualquier otro ícono o gráfico SVG que prefieras.
El diseño es responsive y se verá bien en dispositivos móviles gracias al uso de márgenes automáticos y centrado.
✅ Si deseas usar una imagen SVG externa (por ejemplo desde un archivo), puedes reemplazar el bloque <svg>...</svg> por:
html Copy code
<img src="construccion.svg" alt="En construcción" style="width: 200px;">
¿Quieres que te proporcione una versión con animación también?