Skip to content

Commit

Permalink
chore: add infinite loop and fade in effect to Trusted by section and…
Browse files Browse the repository at this point in the history
… dependencies section (#1)

* add: infinite loop and fade in effect to Trusted by section

Signed-off-by: sahadat-sk <[email protected]>

* add: infinite loop and fade in effect to dependencies section

Signed-off-by: sahadat-sk <[email protected]>

---------

Signed-off-by: sahadat-sk <[email protected]>
  • Loading branch information
sahadat-sk authored Mar 13, 2024
1 parent e811942 commit 395ef69
Show file tree
Hide file tree
Showing 2 changed files with 647 additions and 135 deletions.
68 changes: 50 additions & 18 deletions components/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ export default function Hero() {
<div className="absolute left-1/2 transform -translate-x-1/2 bottom-0 pointer-events-none -z-1 " aria-hidden="true">
<svg width="1360" height="578" viewBox="0 0 1360 578" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="illustration-01">
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="illustration-01">
<stop stopColor="#FFF" offset="0%" />
<stop stopColor="#f5f5f5" offset="50%" />
<stop stopColor="#EAEAEA" offset="100%" />
</linearGradient>
</defs>
<g fill="url(#illustration-01)" fillRule="evenodd">
<circle cx="1232" cy="128" r="128" opacity={0.85} />
<circle cx="155" cy="443" r="64" opacity={0.85}/>
<circle cx="155" cy="443" r="64" opacity={0.85} />
</g>
</svg>
</div>
Expand All @@ -36,7 +36,7 @@ export default function Hero() {
<p className="text-2xl text-accent-200 mb-4 " data-aos="zoom-y-out" data-aos-delay="150">
2 minutes to 90% test coverage!
</p>
<h1 className="lg:text-6xl text-5xl text-secondary-300 font-extrabold leading-tighter tracking-tighter mb-4 " data-aos="zoom-y-out">AI Generated Tests <br/>
<h1 className="lg:text-6xl text-5xl text-secondary-300 font-extrabold leading-tighter tracking-tighter mb-4 " data-aos="zoom-y-out">AI Generated Tests <br />
<span className="bg-clip-text text-transparent bg-gradient-to-r from-gradient-500 to-gradient-200">that actually work!</span></h1>
<div className="max-w-3xl mx-auto">
<p className="text-xl lg:text-left text-center text-accent-200 mb-8" data-aos="zoom-y-out" data-aos-delay="150">
Expand Down Expand Up @@ -74,50 +74,82 @@ export default function Hero() {

{/*Trusted by users section*/}
<div className="max-w-6xl mx-auto px-4 sm:px-6">
<div className="py-12 md:py-10">
<div className="py-12 md:py-10 overflow-hidden [mask-image:_linear-gradient(to_right,transparent_0,_black_128px,_black_calc(100%-200px),transparent_100%)] ">

{/* Section header */}
<div className="max-w-3xl mx-auto text-center ">
<div className="h5 text-gray-500">Trusted by</div>
</div>

<div className="relative flex overflow-x-auto no-scrollbar ">
<div className="py-4 md:py-12 animate-marquee2 whitespace-nowrap flex items-center">
<span className="mx-4 flex-none">
<img className="relative w-32 md:w- md:w-40" src="/images/users/pixis.png" alt="Pixis Testimonial" />
<div className="relative inline-flex flex-nowrap no-scrollbar ">
<div className="py-4 md:py-12 animate-marquee whitespace-nowrap flex items-center w-max">
<span className="mx-4 flex-none">
<img className="relative w-32 md:w- md:w-40" src="/images/users/pixis.png" alt="Pixis Testimonial" />
</span>
<span className="mx-4 flex-none">
<img className="relative w-32 md:w-40" src="/images/users/InstaAstro-Logo.svg" alt="Instaastro Testimonial" />
</span>
<span className="mx-2 flex-none">
<img className="relative w-32 md:pt-2 md:w-40" src="/images/users/Amazon-Logo.png" alt="Amazon" />
</span>
<span className="mx-4 flex-none">
<img className="relative w-32 md:pb-3 md:w-40" src="/images/users/reliance-retail-logo.png" alt="Reliance Testimonial" />
</span>
<span className="mx-4 flex-none">
<img className="relative w-32 md:w-40" src="/images/users/Whatfix_Logo_RGB_Color.png" alt="Whatfix Testimonial" />
</span>
<span className="mx-4 flex-none">
<img className="relative w-32 md:w-40" src="/images/users/Logo_for_Maruti_Suzuki.svg" alt="Pixis Testimonial" />
</span>
<span className="mx-4 flex-none">
<img className="relative w-32 md:w-40" src="/images/users/Nutanix_Logo.svg" alt="Pixis Testimonial" />
</span>
<span className="mx-4 flex-none">
<img className="relative w-32 md:w-40" src="/images/users/LambdaTest-320-180.png" alt="Lambdatest Testimonial" />
</span>
<span className="mx-4 flex-none">
<img className="relative w-32 md:w-40" src="/images/users/leadsquare.png" alt="Leadsquare Testimonial" />
</span>
<span className="mx-4 flex-none">
<img className="relative w-32 md:w-40" src="/images/users/edureka_logo.png" alt="Edureka Testimonial" />
</span>
</div>
<div className="py-4 md:py-12 animate-marquee whitespace-nowrap flex items-center w-max" aria-hidden="true">
<span className="mx-4 flex-none">
<img className="relative w-32 md:w- md:w-40" src="/images/users/pixis.png" alt="Pixis Testimonial" />
</span>
<span className="mx-4 flex-none">
<img className="relative w-32 md:w-40" src="/images/users/InstaAstro-Logo.svg" alt="Instaastro Testimonial" />
<img className="relative w-32 md:w-40" src="/images/users/InstaAstro-Logo.svg" alt="Instaastro Testimonial" />
</span>
<span className="mx-2 flex-none">
<img className="relative w-32 md:pt-2 md:w-40" src="/images/users/Amazon-Logo.png" alt="Amazon" />
<img className="relative w-32 md:pt-2 md:w-40" src="/images/users/Amazon-Logo.png" alt="Amazon" />
</span>
<span className="mx-4 flex-none">
<img className="relative w-32 md:pb-3 md:w-40" src="/images/users/reliance-retail-logo.png" alt="Reliance Testimonial" />
<img className="relative w-32 md:pb-3 md:w-40" src="/images/users/reliance-retail-logo.png" alt="Reliance Testimonial" />
</span>
<span className="mx-4 flex-none">
<img className="relative w-32 md:w-40" src="/images/users/Whatfix_Logo_RGB_Color.png" alt="Whatfix Testimonial" />
<img className="relative w-32 md:w-40" src="/images/users/Whatfix_Logo_RGB_Color.png" alt="Whatfix Testimonial" />
</span>
<span className="mx-4 flex-none">
<img className="relative w-32 md:w-40" src="/images/users/Logo_for_Maruti_Suzuki.svg" alt="Pixis Testimonial" />
<img className="relative w-32 md:w-40" src="/images/users/Logo_for_Maruti_Suzuki.svg" alt="Pixis Testimonial" />
</span>
<span className="mx-4 flex-none">
<img className="relative w-32 md:w-40" src="/images/users/Nutanix_Logo.svg" alt="Pixis Testimonial" />
<img className="relative w-32 md:w-40" src="/images/users/Nutanix_Logo.svg" alt="Pixis Testimonial" />
</span>
<span className="mx-4 flex-none">
<img className="relative w-32 md:w-40" src="/images/users/LambdaTest-320-180.png" alt="Lambdatest Testimonial" />
<img className="relative w-32 md:w-40" src="/images/users/LambdaTest-320-180.png" alt="Lambdatest Testimonial" />
</span>
<span className="mx-4 flex-none">
<img className="relative w-32 md:w-40" src="/images/users/leadsquare.png" alt="Leadsquare Testimonial" />
<img className="relative w-32 md:w-40" src="/images/users/leadsquare.png" alt="Leadsquare Testimonial" />
</span>
<span className="mx-4 flex-none">
<img className="relative w-32 md:w-40" src="/images/users/edureka_logo.png" alt="Edureka Testimonial" />
</span>
</div>
</div>
</div>

</div>
</div>
</section>
)
}
}
Loading

0 comments on commit 395ef69

Please sign in to comment.