Skip to content

Iyov/DigDev.cl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

124 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DigDev Solutions

License: MIT Version PWA

Sitio web profesional - Líderes en desarrollo de software para la industria minera en Chile

🚀 Inicio Rápido

# Instalar dependencias
npm install

# Generar CSS
npm run build:css

# Iniciar servidor local
python -m http.server 8000

Abrir: http://localhost:8000

✨ Características

  • PWA 100/100 - Instalable y funciona offline
  • WCAG 2.1 AA - Accesibilidad completa
  • PageSpeed 90+ - Rendimiento optimizado
  • CSP Score A - Seguridad máxima
  • Multilenguaje - Español e Inglés
  • Modo Claro/Oscuro - Tema personalizable
  • Google Analytics 4 - Tracking completo
  • SEO Optimizado - Rich snippets y structured data

🛠️ Tecnologías

  • HTML5 + CSS3
  • JavaScript ES6+
  • Tailwind CSS 3.4+
  • Service Worker (PWA)
  • Google Analytics 4
  • Font Awesome 6.5.1

📁 Estructura

DigDev.cl/
├── css/                    # Estilos
│   ├── index.min.css       # CSS personalizado (generado)
│   ├── tailwind.min.css    # Tailwind compilado
│   └── tailwind-input.css  # Input de Tailwind
├── js/                     # JavaScript
│   ├── index.js            # Fuente (no minificado)
│   └── index.min.js        # Bundled / minificado (generado)
├── img/                    # Imágenes y logos
├── webfonts/               # Font Awesome
├── docs/
│   └── CHANGELOG.md        # Historial de cambios
├── .htaccess               # Configuración Apache
├── .gitignore              # Archivos a ignorar
├── .env.example            # Ejemplo de variables
├── package.json            # Dependencias npm
├── tailwind.config.js      # Config de Tailwind
├── config.js               # Configuración del proyecto
├── sw.js                   # Service Worker
├── manifest.json           # PWA Manifest
├── index.html              # Página principal
├── webmail.html            # Redirección a webmail
├── README.md               # Este archivo
├── CONTRIBUTING.md         # Guía de desarrollo
├── SECURITY.md             # Política de seguridad
└── LICENSE                 # Licencia MIT

🔧 Scripts

📈 Analytics & GTM

  • GTM loader moved to js/gtm-loader.js (production: js/gtm-loader.min.js).
  • Configure GA4 Measurement ID in config.js (CONFIG.gaId) or add data-ga-id on the loader script tag.
  • The loader exposes window.initGTM(options) and window.dataLayerPush(eventName, payload).

🔧 Scripts

# Tailwind / CSS
npm run build:css        # Generar Tailwind CSS (css/tailwind.min.css)

# Minificación (CSS + JS)
npm run minify:css       # Minificar `css/index.css` → `css/index.min.css`
npm run minify:js        # Minificar `js/index.js` → `js/index.min.js`
npm run minify           # Ejecuta minify:css + minify:js (prepara assets para producción)

# Desarrollo — vigilancia automática
npm run watch:css        # Watch: tailwind build
npm run watch:assets     # Vigila `css/index.css` y `js/index.js` y regenera los archivos `.min.*`
npm run dev              # Alias para `watch:assets`

# Nota: `npm install` ejecuta `prepare` y genera los `.min.*` automáticamente

📦 Deployment

Pre-Deployment

  1. Configurar producción:

    // En js/index.js y sw.js
    const DEV_MODE = false;
  2. Configurar Google Analytics en index.html:

    <!-- Reemplazar G-XXXXXXXXXX con tu ID -->
  3. Generar assets (minificados):

    npm run minify        # genera css/index.min.css y js/index.min.js
    # o durante desarrollo
    npm run dev
  4. Verificar asset versioning / cache-busting (?v=) en index.html y sw.js (ej.: ?v=2026-02-17_1)

Subir al Servidor

Incluir:

  • index.html, 404.html, webmail.html
  • css/, js/, img/, webfonts/
  • sw.js, manifest.json
  • robots.txt, sitemap.xml, .htaccess

NO incluir:

  • node_modules/
  • .env*, .git/
  • *.log, .vscode/

📊 Métricas

Categoría Score Estado
Performance 90-95
Accessibility 95-98
Best Practices 95-100
SEO 95-100
PWA 100

📚 Documentación

🤝 Contribuir

Ver CONTRIBUTING.md para instrucciones detalladas.

📄 Licencia

MIT License - ver LICENSE

📞 Contacto

DigDev Solutions
Email: colivares@digdev.cl
Webmail: https://digdev.cl/webmail (redirige a http://201.148.104.213/webmail/ — efectivo 2026-02-17 18:00)
WhatsApp: +56 9 9989 6880
Website: https://digdev.cl


© 2026 DigDev Solutions. Todos los derechos reservados.

About

DigDev Solutions Website

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors