@@ -65,7 +65,13 @@ export const PinPerspective = ({
6565 href ?: string ;
6666} ) => {
6767 return (
68- < motion . div className = "pointer-events-none w-96 h-80 flex items-center justify-center opacity-0 group-hover/pin:opacity-100 z-[60] transition duration-500" >
68+ // <motion.div className="pointer-events-none w-96 h-80 flex items-center justify-center opacity-0 group-hover/pin:opacity-100 z-[60] transition duration-500">
69+ < motion . div
70+ { ...{
71+ className :
72+ "pointer-events-none w-96 h-80 flex items-center justify-center opacity-0 group-hover/pin:opacity-100 z-[60] transition duration-500"
73+ } }
74+ >
6975 < div className = " w-full h-full -mt-7 flex-none inset-0" >
7076 < div className = "absolute top-0 inset-x-0 flex justify-center" >
7177 < a
@@ -107,7 +113,10 @@ export const PinPerspective = ({
107113 repeat : Infinity ,
108114 delay : 0
109115 } }
110- className = "absolute left-1/2 top-1/2 h-[11.25rem] w-[11.25rem] rounded-[50%] bg-sky-500/[0.08] shadow-[0_8px_16px_rgb(0_0_0/0.4)]"
116+ { ...{
117+ className :
118+ "absolute left-1/2 top-1/2 h-[11.25rem] w-[11.25rem] rounded-[50%] bg-sky-500/[0.08] shadow-[0_8px_16px_rgb(0_0_0/0.4)]"
119+ } }
111120 > </ motion . div >
112121 < motion . div
113122 initial = { {
@@ -127,7 +136,10 @@ export const PinPerspective = ({
127136 repeat : Infinity ,
128137 delay : 2
129138 } }
130- className = "absolute left-1/2 top-1/2 h-[11.25rem] w-[11.25rem] rounded-[50%] bg-sky-500/[0.08] shadow-[0_8px_16px_rgb(0_0_0/0.4)]"
139+ { ...{
140+ className :
141+ "absolute left-1/2 top-1/2 h-[11.25rem] w-[11.25rem] rounded-[50%] bg-sky-500/[0.08] shadow-[0_8px_16px_rgb(0_0_0/0.4)]"
142+ } }
131143 > </ motion . div >
132144 < motion . div
133145 initial = { {
@@ -147,16 +159,39 @@ export const PinPerspective = ({
147159 repeat : Infinity ,
148160 delay : 4
149161 } }
150- className = "absolute left-1/2 top-1/2 h-[11.25rem] w-[11.25rem] rounded-[50%] bg-sky-500/[0.08] shadow-[0_8px_16px_rgb(0_0_0/0.4)]"
162+ { ...{
163+ className :
164+ "absolute left-1/2 top-1/2 h-[11.25rem] w-[11.25rem] rounded-[50%] bg-sky-500/[0.08] shadow-[0_8px_16px_rgb(0_0_0/0.4)]"
165+ } }
151166 > </ motion . div >
152167 </ >
153168 </ div >
154169
155170 < >
156- < motion . div className = "absolute right-1/2 bottom-1/2 bg-gradient-to-b from-transparent to-cyan-500 translate-y-[14px] w-px h-20 group-hover/pin:h-40 blur-[2px]" />
157- < motion . div className = "absolute right-1/2 bottom-1/2 bg-gradient-to-b from-transparent to-cyan-500 translate-y-[14px] w-px h-20 group-hover/pin:h-40 " />
158- < motion . div className = "absolute right-1/2 translate-x-[1.5px] bottom-1/2 bg-cyan-600 translate-y-[14px] w-[4px] h-[4px] rounded-full z-40 blur-[3px]" />
159- < motion . div className = "absolute right-1/2 translate-x-[0.5px] bottom-1/2 bg-cyan-300 translate-y-[14px] w-[2px] h-[2px] rounded-full z-40 " />
171+ < motion . div
172+ { ...{
173+ className :
174+ "absolute right-1/2 bottom-1/2 bg-gradient-to-b from-transparent to-cyan-500 translate-y-[14px] w-px h-20 group-hover/pin:h-40 blur-[2px]"
175+ } }
176+ />
177+ < motion . div
178+ { ...{
179+ className :
180+ "absolute right-1/2 bottom-1/2 bg-gradient-to-b from-transparent to-cyan-500 translate-y-[14px] w-px h-20 group-hover/pin:h-40 "
181+ } }
182+ />
183+ < motion . div
184+ { ...{
185+ className :
186+ "absolute right-1/2 translate-x-[1.5px] bottom-1/2 bg-cyan-600 translate-y-[14px] w-[4px] h-[4px] rounded-full z-40 blur-[3px]"
187+ } }
188+ />
189+ < motion . div
190+ { ...{
191+ className :
192+ "absolute right-1/2 translate-x-[0.5px] bottom-1/2 bg-cyan-300 translate-y-[14px] w-[2px] h-[2px] rounded-full z-40 "
193+ } }
194+ />
160195 </ >
161196 </ div >
162197 </ motion . div >
0 commit comments