tune index/projects Dots animation fading

This commit is contained in:
2024-12-28 18:25:16 -06:00
parent da6333d39a
commit c4c805c83b
5 changed files with 24 additions and 14 deletions

View File

@@ -4,6 +4,7 @@ import type { FunctionComponent, ReactNode } from "react";
type WrapperProps = {
className?: string;
dotsClassName?: string;
children?: ReactNode;
};
@@ -15,6 +16,7 @@ const DotsDynamic = dynamic(
const AppWrapper: FunctionComponent<WrapperProps> = ({
children,
className,
dotsClassName,
}: WrapperProps) => {
return (
<main
@@ -23,7 +25,7 @@ const AppWrapper: FunctionComponent<WrapperProps> = ({
className,
)}
>
<DotsDynamic />
<DotsDynamic className={dotsClassName} />
{children}
</main>
);