diff --git a/app/(pages)/(index-page)/_components/Create/create.tsx b/app/(pages)/(index-page)/_components/Create/create.tsx index 21734fe..20322b4 100644 --- a/app/(pages)/(index-page)/_components/Create/create.tsx +++ b/app/(pages)/(index-page)/_components/Create/create.tsx @@ -1,9 +1,22 @@ +'use client'; + import Image from 'next/image'; import HeartButton from '@app/(pages)/(index-page)/_components/HeartButton/heartButton'; +import { + useParallax, + PARALLAX_SPEEDS, + getParallaxStyle, +} from '@app/(pages)/_hooks/useParallax'; export default function Create() { + const { mousePosition, containerRef } = useParallax(); + const { bigShape, mediumShape, extraTiniTiny } = PARALLAX_SPEEDS; + return ( -