'use client'; import React, { useEffect } from 'react'; import StoreHomePage from '@/app/page'; export default function CatalogoPage() { useEffect(() => { // Al acceder directamente por URL /catalogo, realizar desplazamiento suave a la colección const timer = setTimeout(() => { const el = document.getElementById('catalogo-coleccion'); if (el) { el.scrollIntoView({ behavior: 'smooth', block: 'start' }); } }, 150); return () => clearTimeout(timer); }, []); return ; }