Feat: Ajustes de seguridad

This commit is contained in:
2026-01-30 11:18:56 -03:00
parent 32cf2ba74a
commit 8f6f8d4500
10 changed files with 179 additions and 207 deletions

View File

@@ -1,6 +1,9 @@
server {
listen 80;
server_name localhost;
# Seguridad: Limitar tamaño de subida para prevenir DoS
client_max_body_size 20M;
location / {
root /usr/share/nginx/html;

View File

@@ -8,6 +8,8 @@
--animate-fade-in-up: fade-in-up 0.5s ease-out;
--animate-glow: glow 2s infinite alternate;
--animate-fade-in: fade-in 0.3s ease-out forwards;
--animate-scale-up: scale-up 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
@keyframes fade-in-up {
from {
@@ -52,16 +54,22 @@
transform: scale(1);
}
}
.animate-fade-in {
animation: fade-in 0.3s ease-out forwards;
}
.animate-scale-up {
animation: scale-up 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
}
/* Clases de utilidad personalizadas (fuera de @theme) */
.animate-fade-in {
animation: var(--animate-fade-in);
}
.animate-scale-up {
animation: var(--animate-scale-up);
}
.animate-fade-in-up {
animation: var(--animate-fade-in-up);
}
:root {
background-color: var(--color-dark-bg);
color: white;

View File

@@ -8,4 +8,7 @@ export default defineConfig({
react(),
tailwindcss(),
],
build: {
sourcemap: false, // Seguridad: Ocultar código fuente en producción
},
})