diff --git a/src/app/exhibits/page.tsx b/src/app/exhibits/page.tsx index bb7300ff..9ce51e54 100644 --- a/src/app/exhibits/page.tsx +++ b/src/app/exhibits/page.tsx @@ -8,6 +8,7 @@ import { fetchAllCategories } from '../../supabase/category/queries'; import Exhibit from '../../components/userComponents/Exhibit/Exhibit'; import BackButton from '../../components/userComponents/BackButton/page'; import { useWebDeviceDetection } from '../../context/WindowWidthContext/WindowWidthContext'; +import Footer from '../../components/userComponents/Footer/Footer'; /** * @returns exhibit page @@ -39,7 +40,7 @@ function App() { const y = element.getBoundingClientRect().top + window.scrollY + yOffset; // check on this offset later - window.scrollTo({ top: y, behavior: 'instant' }); + window.scrollTo({ top: y, behavior: 'smooth' }); } }, 1000); } @@ -80,11 +81,11 @@ function App() { image={exhibit.image || ''} key={exhibit.id} id={exhibit.id} - web={false} /> ))} +