-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0f7f351
commit c2cd0ac
Showing
6 changed files
with
272 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
apps/timsexperiments/src/components/home/hero/PointerControl.astro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
import { Pointer } from 'lucide-react'; | ||
--- | ||
|
||
<div | ||
id="cube-pointer-controls" | ||
class="flex h-full w-full translate-x-2 translate-y-12 items-center justify-center opacity-0 transition-opacity duration-700 ease-in-out"> | ||
<Pointer | ||
className="opacity-0 repeat-1 [--animate-slide-end:_400] [--animate-slide-start:_300]" | ||
data-animation="animate-slide-reverse" | ||
/> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { cn } from '@/lib/utils'; | ||
|
||
function Skeleton({ | ||
className, | ||
...props | ||
}: React.HTMLAttributes<HTMLDivElement>) { | ||
return ( | ||
<div | ||
className={cn( | ||
'animate-pulse rounded-md bg-rhino-100 dark:bg-rhino-800', | ||
className | ||
)} | ||
{...props} | ||
/> | ||
); | ||
} | ||
|
||
export { Skeleton }; |
Oops, something went wrong.