diff --git a/.env b/.env index 0b5fb77..bae8a6f 100644 --- a/.env +++ b/.env @@ -1,4 +1,4 @@ VITE_DEBUG_MODE=false -VITE_EFC_API_URL=https://api.efc-aduanasoft.com/api/v1 -VITE_EFC_MICROSERVICE_URL=https://api.efc-aduanasoft.com/microservice/api/v1 +VITE_EFC_API_URL=http://192.168.1.195:8000/api/v1 +VITE_EFC_MICROSERVICE_URL=http://192.168.1.195:8001/api/v1 diff --git a/src/pages/Datastage.jsx b/src/pages/Datastage.jsx index ef4a985..4642ca7 100644 --- a/src/pages/Datastage.jsx +++ b/src/pages/Datastage.jsx @@ -315,12 +315,14 @@ export default function Datastage() { {/* Lista */} + {/* Responsive: tabla en desktop, tarjetas en móvil/tablet */}

Lista de Datastages

-
+ {/* Tabla para pantallas grandes */} +
@@ -339,20 +341,19 @@ export default function Datastage() { @@ -404,6 +418,82 @@ export default function Datastage() {
{item.id} {item.archivo ? ( - <> - - {(() => { - try { - const url = new URL(item.archivo); - return decodeURIComponent(url.pathname.split('/').pop() || ''); - } catch { - return ''; - } - })()} - + + {(() => { + try { + const url = new URL(item.archivo); + return decodeURIComponent(url.pathname.split('/').pop() || ''); + } catch { + return ''; + } + })()} - + ) : ( Sin archivo )} @@ -381,22 +384,33 @@ export default function Datastage() { {item.created_at ? new Date(item.created_at).toLocaleString() : ''} {item.updated_at ? new Date(item.updated_at).toLocaleString() : ''} - - -
+ {/* Tarjetas para móvil/tablet */} +
+ {datastages.length === 0 ? ( +
No hay datastages disponibles
+ ) : ( + datastages.map(item => ( +
+
+ #{item.id} + + {item.procesado ? 'Procesado' : 'Pendiente'} + +
+
+ {item.archivo ? ( + + {(() => { try { const url = new URL(item.archivo); return decodeURIComponent(url.pathname.split('/').pop() || ''); } catch { return ''; } })()} + + + ) : Sin archivo} +
+
+ Contribuyente: {item.contribuyente} +
+
+ Creado: {item.created_at ? new Date(item.created_at).toLocaleString() : ''} +
+
+ Actualizado: {item.updated_at ? new Date(item.updated_at).toLocaleString() : ''} +
+
+ + + + +
+
+ )) + )} +
{/* Modales */} diff --git a/src/pages/LandingAnimated.jsx b/src/pages/LandingAnimated.jsx index 0326b45..247ce27 100644 --- a/src/pages/LandingAnimated.jsx +++ b/src/pages/LandingAnimated.jsx @@ -526,80 +526,6 @@ export default function LandingAnimated() {
- {/* Testimonios */} -
-
-
-

- Lo que dicen nuestros clientes -

-

- Testimonios reales de agentes aduanales que han transformado su operación -

-
- -
- {[ - { - name: 'Carlos Mendoza', - company: 'Agente Aduanal 1234', - image: '👨‍💼', - testimonial: 'EFC revolucionó nuestra operación. Reducimos 70% el tiempo en procesar pedimentos y eliminamos errores manuales.', - rating: 5 - }, - { - name: 'María González', - company: 'Importadora Global SA', - image: '👩‍💼', - testimonial: 'La plataforma más completa del mercado. El soporte de AduanaSoft es excepcional, entienden perfectamente nuestras necesidades.', - rating: 5 - }, - { - name: 'Roberto Silva', - company: 'Comercio Exterior RSC', - image: '👨‍💻', - testimonial: 'Migramos de sistemas obsoletos a EFC y fue la mejor decisión. Ahora somos más eficientes y competitivos.', - rating: 5 - } - ].map((testimonial, index) => ( -
-
-
{testimonial.image}
-
-

{testimonial.name}

-

{testimonial.company}

-
-
-

"{testimonial.testimonial}"

-
- {[...Array(testimonial.rating)].map((_, i) => ( - - - - ))} -
-
- ))} -
-
-
- {/* Precios */}
@@ -786,19 +712,19 @@ export default function LandingAnimated() { { icon: 'M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z', title: 'Teléfono', - info: '+52 (55) 1234-5678', + info: '656 616 2527', subtitle: 'Lun - Vie, 9:00 AM - 7:00 PM' }, { icon: 'M3 8l7.89 4.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z', title: 'Email', - info: 'contacto@aduanasoft.com', + info: 'info@aduanasoft.com.mx', subtitle: 'Respuesta en menos de 2 horas' }, { icon: 'M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z M15 11a3 3 0 11-6 0 3 3 0 016 0z', title: 'Oficinas', - info: 'Ciudad de México, México', + info: 'Ciudad Juárez, Chihuahua', subtitle: 'Visitas con cita previa' } ].map((contact, idx) => ( @@ -947,23 +873,33 @@ export default function LandingAnimated() { EFC -

- La plataforma líder para agentes aduanales e importadores, desarrollada por - @AduanaSoft con más de 10 años de experiencia. +

+ Uso correcto Aduanasoft®

+
- {['M24 4.557c-.883.392-1.832.656-2.828.775 1.017-.609 1.798-1.574 2.165-2.724-.951.564-2.005.974-3.127 1.195-.897-.957-2.178-1.555-3.594-1.555-3.179 0-5.515 2.966-4.797 6.045-4.091-.205-7.719-2.165-10.148-5.144-1.29 2.213-.669 5.108 1.523 6.574-.806-.026-1.566-.247-2.229-.616-.054 2.281 1.581 4.415 3.949 4.89-.693.188-1.452.232-2.224.084.626 1.956 2.444 3.379 4.6 3.419-2.07 1.623-4.678 2.348-7.29 2.04 2.179 1.397 4.768 2.212 7.548 2.212 9.142 0 14.307-7.721 13.995-14.646.962-.695 1.797-1.562 2.457-2.549z', - 'M22.46 6c-.77.35-1.6.58-2.46.69.88-.53 1.56-1.37 1.88-2.38-.83.5-1.75.85-2.72 1.05C18.37 4.5 17.26 4 16 4c-2.35 0-4.27 1.92-4.27 4.29 0 .34.04.67.11.98C8.28 9.09 5.11 7.38 3 4.79c-.37.63-.58 1.37-.58 2.15 0 1.49.75 2.81 1.91 3.56-.71 0-1.37-.2-1.95-.5v.03c0 2.08 1.48 3.82 3.44 4.21a4.22 4.22 0 0 1-1.93.07 4.28 4.28 0 0 0 4 2.98 8.521 8.521 0 0 1-5.33 1.84c-.34 0-.68-.02-1.02-.06C3.44 20.29 5.7 21 8.12 21 16 21 20.33 14.46 20.33 8.79c0-.19 0-.37-.01-.56.84-.6 1.56-1.36 2.14-2.23z', - 'M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'].map((path, idx) => ( - e.target.style.color = 'white'} - onMouseLeave={(e) => e.target.style.color = '#7A7A7A'}> - - - - - ))} + e.target.style.color = 'white'} onMouseLeave={e => e.target.style.color = '#7A7A7A'} title="Facebook"> + + + e.target.style.color = 'white'} onMouseLeave={e => e.target.style.color = '#7A7A7A'} title="Instagram"> + + + e.target.style.color = 'white'} onMouseLeave={e => e.target.style.color = '#7A7A7A'} title="LinkedIn"> + +
+
+
Correo informes: info@aduanasoft.com.mx
+
Teléfonos:
+ +