23 lines
718 B
JavaScript
23 lines
718 B
JavaScript
import { useNavigate } from "react-router-dom";
|
|
import "../styles/NakhodkaLanding.css";
|
|
import Hero from "../components/landing/Hero";
|
|
import StepsSection from "../components/landing/StepsSection";
|
|
import FinalCta from "../components/landing/FinalCta";
|
|
import Footer from "../components/landing/Footer";
|
|
|
|
export default function NakhodkaLanding() {
|
|
const navigate = useNavigate();
|
|
|
|
const goToFeed = () => navigate("/feed");
|
|
const goToFeedWithAuth = () => navigate("/feed", { state: { openAuth: true } });
|
|
|
|
return (
|
|
<div className="nk-page">
|
|
<Hero onCtaClick={goToFeed} onLoginClick={goToFeedWithAuth} />
|
|
<StepsSection />
|
|
<FinalCta onClick={goToFeed} />
|
|
<Footer />
|
|
</div>
|
|
);
|
|
}
|