This commit is contained in:
everythingonblack
2025-08-17 20:33:57 +07:00
parent 9e23588ec6
commit cd5fb36279
10 changed files with 48 additions and 58 deletions

View File

@@ -43,7 +43,7 @@ const AcademySection = ({setSelectedProduct, setShowedModal, courseSectionRef, s
const { ref, inView } = useInView();
return (
<section id="academy" className={`services pt-5 ${styles.academySection} ${styles.revealSection} ${inView ? styles.isVisible : ''}`} ref={(el) => {
<section id="academy" style={{scrollMarginTop: '65px' }} className={`services pt-5 ${styles.academySection} ${styles.revealSection} ${inView ? styles.isVisible : ''}`} ref={(el) => {
if (typeof courseSectionRef === 'function') courseSectionRef(el);
if (ref) ref.current = el;
}}>