fix(ecommerce): corrige origen de bodega Bogotá→Cali y activa redes/Cambios/FAQ
Build and Push Medusa / Escaneo de Secretos (Gitleaks) (push) Successful in 30s
Build and Push Frontend / Escaneo de Secretos (Gitleaks) (push) Successful in 21s
Build and Push Medusa / Construir y publicar Medusa (push) Successful in 19m40s
Build and Push Frontend / Construir y Subir Imagen (push) Successful in 9m12s
Build and Push Medusa / Escaneo de Secretos (Gitleaks) (push) Successful in 30s
Build and Push Frontend / Escaneo de Secretos (Gitleaks) (push) Successful in 21s
Build and Push Medusa / Construir y publicar Medusa (push) Successful in 19m40s
Build and Push Frontend / Construir y Subir Imagen (push) Successful in 9m12s
- ENVIOCLICK_ORIGIN_DANE_CODE en configmap.yaml estaba cargado con el código DANE de Bogotá (11001000) por error; corregido a Santiago de Cali, Valle del Cauca (76001000). Toda cotización real de envío hecha antes de esta fecha se calculó desde el origen equivocado. - Corregido también el fallback stale en medusa-config.ts (originDaneCode) que seguía apuntando a Bogotá. - Actualizado el texto de /envios y /contacto (misma dirección física, Cra 100 #42-65, solo cambia la ciudad). - Footer: Instagram y Facebook reales enlazados (verificados en vivo contra los perfiles antes de linkear), y "Preguntas frecuentes" / "Cambios" ya apuntan a contenido real en vez de /catalog. - Nuevas páginas /cambios (5 días hábiles, envío de devolución a cargo de ARI Shopping) y /preguntas-frecuentes. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_012Y4df3Z7odr9Cg8F2nw6uV
This commit is contained in:
1 parent
3efab94e2b
commit
76b7d827c5
7 files changed
+154
-18
No files matched your search
@@ -1,19 +1,25 @@
|
||||
import Link from "next/link";
|
||||
import { Facebook, Instagram, MessageCircle } from "lucide-react";
|
||||
|
||||
// "Envíos" y "Contacto" ya tienen paginas reales (app/envios,
|
||||
// app/contacto -- contenido real: transportadoras de EnvioClick,
|
||||
// WhatsApp/correo reales). "Preguntas frecuentes" y "Cambios" todavia
|
||||
// no tienen contenido real decidido -- quedan apuntando a /catalog
|
||||
// (no rotas, pero tampoco resueltas) hasta que se defina que van a
|
||||
// decir.
|
||||
// Las 4 paginas de "Ayuda" ya tienen contenido real (app/envios,
|
||||
// app/cambios, app/preguntas-frecuentes, app/contacto).
|
||||
const HELP_LINKS = [
|
||||
{ label: "Preguntas frecuentes", href: "/catalog" },
|
||||
{ label: "Preguntas frecuentes", href: "/preguntas-frecuentes" },
|
||||
{ label: "Envíos", href: "/envios" },
|
||||
{ label: "Cambios", href: "/catalog" },
|
||||
{ label: "Cambios", href: "/cambios" },
|
||||
{ label: "Contacto", href: "/contacto" },
|
||||
];
|
||||
|
||||
// Cuentas reales confirmadas por el usuario (Instagram verificado en
|
||||
// vivo antes de linkearlo -- la primera cuenta sugerida, @arishopping,
|
||||
// no era la real). El link de WhatsApp usa el mismo numero real ya
|
||||
// confirmado en /contacto y en el fallback del checkout.
|
||||
const SOCIAL_LINKS = [
|
||||
{ label: "Instagram", href: "https://www.instagram.com/ari_shopping1/", Icon: Instagram },
|
||||
{ label: "Facebook", href: "https://www.facebook.com/share/1Dkmvko6HF/", Icon: Facebook },
|
||||
{ label: "WhatsApp", href: "https://wa.me/573016138155", Icon: MessageCircle },
|
||||
];
|
||||
|
||||
const SHOP_LINKS = [
|
||||
{ label: "Novedades", href: "/catalog" },
|
||||
{ label: "Juguetes", href: "/catalog" },
|
||||
@@ -22,7 +28,7 @@ const SHOP_LINKS = [
|
||||
];
|
||||
|
||||
export function Footer() {
|
||||
return <footer className="bg-ari-marino text-white"><div className="mx-auto grid max-w-7xl gap-10 px-4 py-14 sm:grid-cols-2 lg:grid-cols-4"><div><div className="flex flex-col items-start gap-3"><img src="/images/brand/logo-ari.svg" alt="ARI shopping" className="h-11 w-auto" width={200} height={64} />{/* eslint-disable-line @next/next/no-img-element -- vector propio, next/image no optimiza SVG sin habilitar dangerouslyAllowSVG */}<p className="text-xs text-white/60">Tesoros para cada aventura.</p></div><div className="mt-5 flex gap-3"><Instagram /><Facebook /><MessageCircle /></div></div><FooterColumn title="Compra" links={SHOP_LINKS} /><FooterColumn title="Ayuda" links={HELP_LINKS} /><div><h3 className="font-black">Newsletter</h3><p className="mt-3 text-sm leading-6 text-white/60">Recibe lanzamientos y promociones especiales.</p><div className="mt-4 flex rounded-full bg-white p-1"><input className="min-w-0 flex-1 bg-transparent px-4 text-sm text-slate-950 outline-none" placeholder="Tu correo" /><button className="rounded-full bg-ari-coral px-4 text-sm font-black text-white">Unirme</button></div></div></div><div className="border-t border-white/10 py-5 text-center text-xs text-white/50">© 2026 ARI Shopping · Frontend headless v4.1 · GitOps</div></footer>;
|
||||
return <footer className="bg-ari-marino text-white"><div className="mx-auto grid max-w-7xl gap-10 px-4 py-14 sm:grid-cols-2 lg:grid-cols-4"><div><div className="flex flex-col items-start gap-3"><img src="/images/brand/logo-ari.svg" alt="ARI shopping" className="h-11 w-auto" width={200} height={64} />{/* eslint-disable-line @next/next/no-img-element -- vector propio, next/image no optimiza SVG sin habilitar dangerouslyAllowSVG */}<p className="text-xs text-white/60">Tesoros para cada aventura.</p></div><div className="mt-5 flex gap-3">{SOCIAL_LINKS.map(({ label, href, Icon }) => <a key={label} href={href} target="_blank" rel="noopener noreferrer" aria-label={label} className="text-white/80 transition hover:text-ari-coral-claro"><Icon /></a>)}</div></div><FooterColumn title="Compra" links={SHOP_LINKS} /><FooterColumn title="Ayuda" links={HELP_LINKS} /><div><h3 className="font-black">Newsletter</h3><p className="mt-3 text-sm leading-6 text-white/60">Recibe lanzamientos y promociones especiales.</p><div className="mt-4 flex rounded-full bg-white p-1"><input className="min-w-0 flex-1 bg-transparent px-4 text-sm text-slate-950 outline-none" placeholder="Tu correo" /><button className="rounded-full bg-ari-coral px-4 text-sm font-black text-white">Unirme</button></div></div></div><div className="border-t border-white/10 py-5 text-center text-xs text-white/50">© 2026 ARI Shopping · Frontend headless v4.1 · GitOps</div></footer>;
|
||||
}
|
||||
|
||||
function FooterColumn({ title, links }: { title: string; links: { label: string; href: string }[] }) {
|
||||
|
||||
Reference in new issue
Block a user