diff --git a/src/app/page.tsx b/src/app/page.tsx index 14a1449..532c69d 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -5,15 +5,13 @@ import Aurora from '@/components/Backgrounds/Aurora'; import { ContainerTextFlip } from "@/components/ui/container-text-flip"; import { ContainerScroll } from "@/components/ui/container-scroll-animation"; import TailwindConnectButton from "@/components/button"; -import TestimonialMarquee from "@/components/mwrap" +import TestimonialMarquee from "@/components/mwrap"; import { NavbarDemo } from "@/components/nav"; import Image from 'next/image'; import { AnimatePresence } from "framer-motion"; import HomePageSkeleton from "@/components/skeletons/homePageSkeleton"; import Footer from "@/components/footer"; - - export default function BackgroundBoxesDemo() { const [scrollY, setScrollY] = useState(0); const [isLoading, setIsLoading] = useState(true); @@ -21,7 +19,6 @@ export default function BackgroundBoxesDemo() { useEffect(() => { setMounted(true); - const handleScroll = () => setScrollY(window.scrollY); window.addEventListener('scroll', handleScroll); return () => window.removeEventListener('scroll', handleScroll); @@ -29,34 +26,29 @@ export default function BackgroundBoxesDemo() { useEffect(() => { if (!mounted) return; - - // Simulate loading time for components const timer = setTimeout(() => { setIsLoading(false); - }, 4000); // Show loader for 4 seconds to see the animation properly - + }, 4000); return () => clearTimeout(timer); }, [mounted]); - // Hide main content after scrolling 100px const mainContentOpacity = scrollY > 100 ? 0 : 1; const mainContentTransform = scrollY > 100 ? 'translateY(-50px)' : 'translateY(0)'; - // Don't render anything until mounted to prevent hydration mismatch if (!mounted) { return null; } return (
- {/* Loading Screen --- UPDATED SECTION */} + {/* Loading Screen */} {isLoading && } - - {/* Aurora as background */} + + {/* Aurora Background */}
- - {/* Main content centered - positioned fixed to stay in center */} + + {/* Hero Section */}
- {/* Hero Section Layout Fix */}
- {/* Button Row */} + {/* Heading + Flip Row */}
-

+

Want help in

- {/* Description Row */} +
Get professional assignment writing services from verified experts. 100% AI-free, plagiarism-free content.
+
- - {/* Spacer div to replace the br tags */} +
- - {/* ContainerScroll in normal document flow for scrolling */} +

- - - - +

} @@ -129,12 +116,17 @@ export default function BackgroundBoxesDemo() { draggable={false} />
-
+ {/* 3 Steps Section */}
-
HOW IT WORKS
-

Just 3 steps to get started

+
+ HOW IT WORKS +
+

+ Just 3 steps to get started +

+
{/* Step 1 */}
@@ -142,35 +134,43 @@ export default function BackgroundBoxesDemo() {
-

1. Upload Your Data

-

Simply upload your data to our secure platform. We support various file formats and data types to ensure a seamless integration with your existing systems.

+

1. Upload Your Data

+

+ Simply upload your data to our secure platform. We support various file formats and data types to ensure seamless integration with your existing systems. +

+ {/* Step 2 */}
-

2. Click Start

-

Our advanced AI algorithms automatically process and analyze your data, extracting valuable insights and patterns that would be difficult to identify manually.

+

2. Click Start

+

+ Our advanced AI algorithms automatically process and analyze your data, extracting valuable insights and patterns that would be difficult to identify manually. +

+ {/* Step 3 */}
-

3. Get Actionable Insights

-

Receive clear, actionable insights and recommendations based on the AI analysis. Use these insights to make data-driven decisions and improve your business strategies.

+

3. Get Actionable Insights

+

+ Receive clear, actionable insights and recommendations based on the AI analysis. Use these insights to make data-driven decisions and improve your business strategies. +

- {/* End 3 Steps Section */} - + +
); -} \ No newline at end of file +}