mirror of
https://github.com/Xevion/xevion.dev.git
synced 2025-12-10 04:09:20 -06:00
tune index/projects Dots animation fading
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user