<a href="#" className="btn btn-brand me-2">Get Started</a>
I have this button which I want to link to another page
const Signup = () => {.....}
export default Signup;
This is the function builder and export skeletal code for a component which will be the signup/login page for an app. It’s the one I wish to link to via the button above.
function App() {
return (
<div>
<Navbar />
<Hero />
<About />
<Pricing />
<Footer />
</div>
);
}
Here’s my app.js’ function with the different components of my welcome page. Right now, I want the welcome page to act separate, but a couple of buttons on the welcome page should lead to the signup page.
Thanks!