From e50c0ad5136777855773bbf3df6fa17a029b6f73 Mon Sep 17 00:00:00 2001 From: codebox283 <87943295+codebox283@users.noreply.github.com> Date: Tue, 25 Feb 2025 10:28:46 +0530 Subject: [PATCH] landing page changes --- components/Companies/partners.tsx | 53 ++++++++-- components/Features/features-bento.tsx | 136 +++++++++++++++++++++---- components/Hero/hero2.tsx | 108 ++++++++++---------- components/footer.tsx | 4 +- 4 files changed, 219 insertions(+), 82 deletions(-) diff --git a/components/Companies/partners.tsx b/components/Companies/partners.tsx index 393cca3..74f115f 100644 --- a/components/Companies/partners.tsx +++ b/components/Companies/partners.tsx @@ -3,24 +3,55 @@ import { cn } from "@/lib/utils"; import { Marquee } from "@/components/ui/marquee"; -const images = [ - "https://www.zarla.com/images/starbucks-logo-2400x2400-20220513.png?crop=1:1,smart&width=150&dpr=2", - "https://www.zarla.com/images/apple-logo-2400x2400-20220512-3.png?crop=1:1,smart&width=150&dpr=2", - "https://www.zarla.com/images/google-logo-2400x2400-20220519.png?crop=1:1,smart&width=150&dpr=2", - "https://www.zarla.com/images/mercedes-benz-logo-2400x2400-20220513-2.png?crop=1:1,smart&width=150&dpr=2", - "https://www.zarla.com/images/walmart-logo-2400x2400-20223105.png?crop=1:1,smart&width=150&dpr=2", - "https://www.zarla.com/images/pepsi-logo-2400x2400-20220513-1.png?crop=1:1,smart&width=150&dpr=2", +const supportedBy = [ + { name: "Microsoft", logo: "https://upload.wikimedia.org/wikipedia/commons/4/44/Microsoft_logo.svg" }, + { name: "NVIDIA", logo: "https://www.nvidia.com/content/dam/en-zz/Solutions/about-nvidia/logo-and-brand/02-nvidia-logo-color-grn-500x200-4c25-p@2x.png" }, + { name: "Google for Startups", logo: "https://media.licdn.com/dms/image/v2/C560BAQFlPW0-1gr2pQ/company-logo_200_200/company-logo_200_200/0/1630602785941/launchpad_program_logo?e=2147483647&v=beta&t=Ppi0tawv2zHK00xSgrnOG7jNpmf7vejp37sMZDYEb5U" }, +]; + +const partners = [ + "https://hoonartek.com/wp-content/uploads/2025/01/Hoonartek-V25.svg", + "https://rpatech.b-cdn.net/wp-content/uploads/2025/01/colored.png", + "https://www.open-infotech.com/content/images/2024/08/Group-26082-1.svg", + "https://thecompetenza.com/wp-content/uploads/2023/04/comppp111.png", + "https://www.tftus.com/wp-content/uploads/2021/01/logo-1.png", + "https://everydayseries.ai/wp-content/uploads/2024/03/GIF-From-Online-1-300x169.gif", +]; + +const customers = [ + "https://everydayseries.ai/wp-content/uploads/2024/03/trippyone-350x138.jpeg", + "https://everydayseries.ai/wp-content/uploads/2024/03/inxtinct-350x230.png", + "https://everydayseries.ai/wp-content/uploads/2024/03/qurious_tech_logo.jpeg", + "https://everydayseries.ai/wp-content/uploads/2024/03/moodit-icon-350x102.png", + "https://everydayseries.ai/wp-content/uploads/2024/03/CE-full-for-web.png", + "https://everydayseries.ai/wp-content/uploads/2024/03/logo_transparent-e1710074057580-350x230.png", ]; export function Partners() { return ( -
+
+ + // Supported By +
+

Supported By

+
+ {supportedBy.map((support, index) => ( +
+
{support.name}
+

{support.name}

+
+ ))} +
+
+ + // Partners

Partners

+

Following are the partners for Advanced Nonlinear Technologies

- {images.map((img, index) => ( + {partners.map((img, index) => (
+ // Customers

Customers

+

Our customers are our strengths and we provide AI solutions through our platform to them

- {images.map((img, index) => ( + {customers.map((img, index) => ( { const [isHovered, setIsHovered] = useState(false); + const [animationState, setAnimationState] = useState('idle'); + + // Control animation cycle + useEffect(() => { + if (isHovered) { + const animationSequence = async () => { + setAnimationState('drag'); + setTimeout(() => setAnimationState('drop'), 1500); + setTimeout(() => setAnimationState('complete'), 2000); + setTimeout(() => setAnimationState('drag'), 3500); + }; + + animationSequence(); + const interval = setInterval(animationSequence, 4000); + return () => clearInterval(interval); + } else { + setAnimationState('idle'); + } + }, [isHovered]); return ( {
- + + {/* Drag and drop animation container */} +
+ {/* Drop zone */} + + + Drop here + + + + {/* File being dragged */} + + {/* File icon */} +
+
+
+ WORKFLOW +
+
+ + Drag me + +
+ + {/* Success checkmark that appears after drop */} + + + + + +
); }; @@ -176,7 +253,7 @@ const SkeletonThree = () => { className="flex flex-col space-y-4" animate={{ y: isHovered ? -10 : 0 }} > -
+ {/*
{ > $0 -
+
*/} + + {/* Graph container */} -
+ > + {/* Growing graph line */} + + + + + + + + {/*
{ > $499 -
+
*/}
diff --git a/components/Hero/hero2.tsx b/components/Hero/hero2.tsx index f744b60..1e1c125 100644 --- a/components/Hero/hero2.tsx +++ b/components/Hero/hero2.tsx @@ -67,50 +67,53 @@ const HeroCarousel = () => { return (
-
- {/* Slides */} -
- {slides.map((slide, index) => ( -
- {/* Background Image */} -
- {/* Overlay */} -
- - {/* Content */} -
-
-

- {slide.title} -

-

- {slide.description} -

- - {slide.buttonText} - +
+ {/* Slides */} +
+ {slides.map((slide, index) => ( +
index + ? '-translate-x-full opacity-0' // Slide left for previous slides + : 'translate-x-full opacity-0' // Slide right for next slides + }`} + > + {/* Background Image */} +
+ {/* Overlay */} +
+ + {/* Content */} +
+
+

+ {slide.title} +

+

+ {slide.description} +

+ + {slide.buttonText} + +
-
- ))} -
+ ))} +
- {/* Navigation Buttons */} - {/* */} - {/* Slide Indicators */} -
- {slides.map((_, index) => ( -
-
); }; diff --git a/components/footer.tsx b/components/footer.tsx index be2ca0b..c8e7a2e 100644 --- a/components/footer.tsx +++ b/components/footer.tsx @@ -5,7 +5,7 @@ import { motion } from 'framer-motion'; const companyLinks = [ { text: "About", url: "/about" }, { text: "Careers", url: "/careers" }, - { text: "Blog", url: "/blog" }, + { text: "Blogs", url: "/blogs" }, { text: "Status", url: "/status" }, { text: "Privacy", url: "/privacy" }, { text: "Partner with us", url: "/partner" } @@ -26,7 +26,7 @@ const communityLinks = [ const learnLinks = [ { text: "Webinars", url: "/webinars" }, { text: "Leadership", url: "/leadership" }, - { text: "Demos", url: "/demos" }, + { text: "Demo", url: "/demo" }, { text: "Videos", url: "/videos" }, { text: "Guides", url: "/guides" }, { text: "Articles", url: "/articles" },