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

refactor: eslint/prettier ➡️ biome

This commit is contained in:
2026-02-19 14:02:03 -05:00
parent 4858c8928c
commit c30197ccc5
115 changed files with 2584 additions and 5683 deletions
+21 -13
View File
@@ -10,18 +10,26 @@ const Marquee = ({
reverse?: boolean;
pauseOnHover?: boolean;
repeat?: number;
}) => {
return (
<div className={cn("group flex flex-row [gap:var(--gap)] overflow-hidden [--gap:2rem]", className)} {...rest}>
{Array(repeat)
.fill(0)
.map((_, i) => (
<div key={i} className="motion-safe:animate-marquee flex shrink-0 flex-row justify-around [gap:var(--gap)]">
{children}
</div>
))}
</div>
);
};
}) => (
<div
className={cn(
"group flex flex-row overflow-hidden [--gap:2rem] [gap:var(--gap)]",
className,
)}
{...rest}
>
{Array(repeat)
.fill(0)
.map((_, i) => (
<div
// biome-ignore lint/suspicious/noArrayIndexKey: identical clones for animation; no natural unique key exists
key={i}
className="flex shrink-0 flex-row justify-around [gap:var(--gap)] motion-safe:animate-marquee"
>
{children}
</div>
))}
</div>
);
export { Marquee };