1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-06-19 12:15:27 -04:00

fix various hover styles

This commit is contained in:
2025-05-07 11:50:34 -04:00
parent a6f2db1e82
commit 236b55fef5
7 changed files with 10 additions and 20 deletions
+1 -10
View File
@@ -3,8 +3,6 @@ import type { ComponentPropsWithoutRef } from "react";
// https://magicui.design/docs/components/marquee
const Marquee = ({
reverse = false,
pauseOnHover = false,
repeat = 3,
className,
children,
@@ -19,14 +17,7 @@ const Marquee = ({
{Array(repeat)
.fill(0)
.map((_, i) => (
<div
key={i}
className={cn(
"motion-safe:animate-marquee flex shrink-0 flex-row justify-around [gap:var(--gap)]",
pauseOnHover && "group-hover:[animation-play-state:paused]",
reverse && "[animation-direction:reverse]"
)}
>
<div key={i} className="motion-safe:animate-marquee flex shrink-0 flex-row justify-around [gap:var(--gap)]">
{children}
</div>
))}