added new start page
This commit is contained in:
22
src/pages/NakhodkaLanding.jsx
Normal file
22
src/pages/NakhodkaLanding.jsx
Normal file
@@ -0,0 +1,22 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user