File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
src/components/home/sections Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ const About: React.FC = () => {
1313 const animatedSection = useRef < HTMLDivElement > ( null ) ;
1414 const parallaxBackground = useRef < HTMLDivElement > ( null ) ;
1515 const scrollChevronContainer = useRef < HTMLDivElement > ( null ) ;
16+ // const contentContainer = useRef<HTMLDivElement>(null);
1617
1718 useGSAP ( ( ) => {
1819 gsap . registerPlugin ( ScrollTrigger ) ;
@@ -37,6 +38,13 @@ const About: React.FC = () => {
3738 end : "bottom top" ,
3839 scrub : true ,
3940 pin : true ,
41+ // onEnter: () => {
42+ // gsap.to(window, {
43+ // duration: 1,
44+ // scrollTo: { y: contentContainer.current, offsetY: -200 },
45+ // ease: "power2.inOut",
46+ // });
47+ // },
4048 } ,
4149 } ) ;
4250
@@ -123,6 +131,7 @@ const About: React.FC = () => {
123131 < span className = "font-semibold" > CAD & 3D Printing</ span > , and{ " " }
124132 < span className = "font-semibold" > homelab projects</ span > .
125133 </ p >
134+ { /* <div ref={contentContainer} className="block" /> */ }
126135 </ div >
127136 </ div >
128137 </ Section >
You can’t perform that action at this time.
0 commit comments