diff --git a/frontendbasejump/src/app/components/NavBar.tsx b/frontendbasejump/src/app/components/NavBar.tsx new file mode 100644 index 00000000..bea5c5c8 --- /dev/null +++ b/frontendbasejump/src/app/components/NavBar.tsx @@ -0,0 +1,47 @@ +'use client'; + +import Link from 'next/link'; +import { useEffect, useState } from 'react'; + +export default function NavBar() { + const [scrolled, setScrolled] = useState(false); + + useEffect(() => { + const handleScroll = () => { + const isScrolled = window.scrollY > 20; + if (isScrolled !== scrolled) { + setScrolled(isScrolled); + } + }; + + document.addEventListener('scroll', handleScroll, { passive: true }); + return () => { + document.removeEventListener('scroll', handleScroll); + }; + }, [scrolled]); + + return ( + + ); +} \ No newline at end of file diff --git a/frontendbasejump/src/app/page.tsx b/frontendbasejump/src/app/page.tsx index 75b342d1..d47d8b8f 100644 --- a/frontendbasejump/src/app/page.tsx +++ b/frontendbasejump/src/app/page.tsx @@ -1,11 +1,224 @@ import Link from 'next/link'; +import NavBar from './components/NavBar'; -export default async function Index() { - +export default function Index() { return ( -
+ The intelligent platform that transforms how you interact with data, automate workflows, and make decisions. +
+{useCase.description}
+{plan.description}
++ Join thousands of satisfied users who have revolutionized their processes with Kortix Suna. +
+ + Start Your Free Trial + +