diff --git a/apps/web/src/components/landing-sections/Hero.tsx b/apps/web/src/components/landing-sections/Hero.tsx index 414875cb..65838aca 100644 --- a/apps/web/src/components/landing-sections/Hero.tsx +++ b/apps/web/src/components/landing-sections/Hero.tsx @@ -38,7 +38,7 @@ const Hero = () => { trackButtonClick("Get Started", "hero"); }; return ( -
+
background { }} className="w-full lg:text-2xl tracking-tight font-light sm:max-w-lg mx-auto lg:max-w-4xl lg:text-balance text-text-secondary" > - Find suitabe OSS repos in seconds. learn the basics, - get the mentorship for OSS opportunities, GSoC, etc, and start making progress from today itself. + Find suitabe OSS repos in seconds. learn the basics, get the + mentorship for OSS opportunities, GSoC, etc, and start making progress + from today itself. void }) => { - const transition = { - duration: 0.1, - ease: "easeInOut", - } - return ( - - {children} - - ) -} +const PrimaryButton = ({ + children, + animate = true, + classname, + onClick, +}: { + children: React.ReactNode; + animate?: boolean; + classname?: string; + onClick?: () => void; +}) => { + const transition = { + duration: 0.1, + ease: "easeInOut", + }; + return ( + + {children} + + ); +}; -export default PrimaryButton +export default PrimaryButton;