develop the hero section of the landing page

This commit is contained in:
fgrreloaded
2025-02-14 11:07:17 +05:30
parent aa2f5d6fe9
commit d12849501a
18 changed files with 11206 additions and 36 deletions

View File

@@ -0,0 +1,22 @@
interface ShinyTextProps {
text: string;
disabled?: boolean;
speed?: number;
className?: string;
}
const ShinyText = ({ text, disabled = false, speed = 5, className = '' }: ShinyTextProps) => {
const animationDuration = `${speed}s`;
return (
<div
className={`shiny-text ${disabled ? 'disabled' : ''} ${className}`}
style={{ animationDuration }}
>
{text}
</div>
);
};
export default ShinyText;