Skip to content

Commit 1ef8d25

Browse files
committed
[prod] update video
1 parent abd7aff commit 1ef8d25

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

public/smc.mp4

225 KB
Binary file not shown.

src/anims/AnimModular.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { cn } from '@/lib/utils'
12
import { motion } from 'motion/react'
23
import { useMemo, useState } from 'react'
34

@@ -10,6 +11,15 @@ function useHoverHelp() {
1011
onHoverEnd: () => setHover(false),
1112
}), [setHover, isHover])
1213
}
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+
}
1323
export function AnimModular() {
1424
const hoverG1 = useHoverHelp()
1525
const hoverG2 = useHoverHelp()

0 commit comments

Comments
 (0)