Skip to content

Commit

Permalink
minor changes #7
Browse files Browse the repository at this point in the history
  • Loading branch information
ukorvl committed Aug 6, 2023
1 parent 35ccf4d commit faa7b10
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions components/Teachers/Teacher.tsx
Original file line number Diff line number Diff line change
@@ -1,30 +1,13 @@
import {Variants, m, useScroll, useTransform} from 'framer-motion';
import {m, useScroll, useTransform} from 'framer-motion';
import {useRef} from 'react';
import teachersListConfig from './teachersListConfig';
import clsx from 'clsx';
import teachersListConfig from './teachersListConfig';

/**
* Props.
*/
type TeacherBlockProps = (typeof teachersListConfig)[number];

const cardVariants: Variants = {
offscreen: {
rotate: -10,
transition: {
type: 'spring',
duration: 0.8,
},
},
onscreen: {
rotate: 0,
transition: {
type: 'spring',
duration: 0.8,
},
},
};

const nameCn = clsx('text-7xl');
const textCn = clsx('text-3xl', 'mt-4');

Expand Down

0 comments on commit faa7b10

Please sign in to comment.