{description}
diff --git a/packages/client/src/components/projects-gallery/projects-gallery.tsx b/packages/client/src/components/projects-gallery/projects-gallery.tsx index 17491e2..b09d85f 100644 --- a/packages/client/src/components/projects-gallery/projects-gallery.tsx +++ b/packages/client/src/components/projects-gallery/projects-gallery.tsx @@ -7,18 +7,19 @@ import { ROUTES } from '../../router/config'; import cx from 'classnames'; export interface ProjectsGalleryProps { className?: string; - headerHeight?: string; + /** the absolute top of the gallery, for example 100px, we need this because of the special behavior of this gallery */ + topOfGallery?: string; } /** * This component was created using Codux's Default new component template. * To create custom component templates, see https://help.codux.com/kb/en/article/kb16522 */ -export const ProjectsGallery = ({ className, headerHeight }: ProjectsGalleryProps) => { +export const ProjectsGallery = ({ className, topOfGallery }: ProjectsGalleryProps) => { const { data: projects, isLoading } = useProjects(); const rootRef = useRef