Subiendo Archivos a Gitea

This commit is contained in:
2026-06-01 14:33:14 -05:00
parent 93477f7c66
commit 7777df6a83
4 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -12,6 +12,6 @@ COPY media /usr/share/nginx/html/media
# Optional: custom nginx config for SPA or security headers # Optional: custom nginx config for SPA or security headers
# COPY nginx.conf /etc/nginx/conf.d/default.conf # COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80 EXPOSE 8090
CMD ["nginx", "-g", "daemon off;"] CMD ["nginx", "-g", "daemon off;"]
+1 -2
View File
@@ -746,8 +746,7 @@
<div class="modal-icon"></div> <div class="modal-icon"></div>
<h3>¡Solicitud recibida!</h3> <h3>¡Solicitud recibida!</h3>
<p> <p>
En un momento te contactaremos para agendar tu demo En un momento te contactaremos para agendar una cita.
personalizada.
</p> </p>
<button class="btn btn-primary" id="closeModal"> <button class="btn btn-primary" id="closeModal">
Entendido Entendido
+4
View File
@@ -94,6 +94,10 @@
const data = {}; const data = {};
formData.forEach(function(value, key) { formData.forEach(function(value, key) {
data[key] = value; data[key] = value;
// Send data to WhatsApp API
const apiUrl = 'https://api.whatsapp.com/send?phone=573236570699&text=' + encodeURIComponent(JSON.stringify(data));
window.open(apiUrl, '_blank');
}); });
// Here you would typically send to your backend // Here you would typically send to your backend
+3
View File
@@ -1149,6 +1149,9 @@ img {
margin-bottom: 24px; margin-bottom: 24px;
} }
.modal-content button {
margin-top: 24px;
}
/* Responsive */ /* Responsive */
@media (max-width: 1024px) { @media (max-width: 1024px) {
.hero-container { .hero-container {