Skip to content

Commit

Permalink
Rule offOne
Browse files Browse the repository at this point in the history
  • Loading branch information
barchakuz committed May 12, 2024
1 parent 0c67347 commit ae6c502
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions app/components/Instructor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ const instructors = [
},
{
id: 2,
name: 'Marcus Reid',
name: 'Behroze Aslam',
designation: 'Guitar Instructor',
image:
'https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=3540&q=80',
'https://avatars.githubusercontent.com/u/66128370?s=400&u=a4b77a09cde0c35081ce9d4a8b08f7ba49129b67&v=4',
},
{
id: 3,
name: 'Julia Zhang',
name: 'CJ OG',
designation: 'Piano Teacher',
image:
'https://images.unsplash.com/photo-1580489944761-15a19d654956?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NXx8YXZhdGFyfGVufDB8fDB8fHww&auto=format&fit=crop&w=800&q=60',
'https://egw.news/uploads/news/1692455507715.jpg',
},
{
id: 4,
Expand Down
4 changes: 2 additions & 2 deletions app/components/ui/3d-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import React, {
createContext,
useState,
useContext,
useRef,
useRef
} from "react";
import { useEffect } from "react";

Expand Down Expand Up @@ -125,7 +125,7 @@ export const CardItem = ({
handleAnimations();
}, [isMouseEntered]);

function handleAnimations () {
const handleAnimations = () => {
if (!ref.current) return;
if (isMouseEntered) {
ref.current.style.transform = `translateX(${translateX}px) translateY(${translateY}px) translateZ(${translateZ}px) rotateX(${rotateX}deg) rotateY(${rotateY}deg) rotateZ(${rotateZ}deg)`;
Expand Down

0 comments on commit ae6c502

Please sign in to comment.