We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abd7aff commit 1ef8d25Copy full SHA for 1ef8d25
public/smc.mp4
225 KB
src/anims/AnimModular.tsx
@@ -1,3 +1,4 @@
1
+import { cn } from '@/lib/utils'
2
import { motion } from 'motion/react'
3
import { useMemo, useState } from 'react'
4
@@ -10,6 +11,15 @@ function useHoverHelp() {
10
11
onHoverEnd: () => setHover(false),
12
}), [setHover, isHover])
13
}
14
+
15
16
17
+function HoverText({ aligen = 'left' }: { aligen?: 'left' | 'right' }) {
18
+ return <div className={cn('flex flex-col', aligen == 'left' ? 'items-start' : 'items-end -translate-x-full')}>
19
+ <div className='uppercase'>LITENODES</div>
20
+ <div className=''></div>
21
+ </div>
22
+}
23
export function AnimModular() {
24
const hoverG1 = useHoverHelp()
25
const hoverG2 = useHoverHelp()
0 commit comments