I am currently working on a project using Bootstrap and I have created this navbar:
<nav className="navbar navbar-expand-sm navbar-light bg-light">
<a className="navbar-brand" href="#">Lead Manager</a>
<button className="navbar-toggler" type="button" data-toggle="collapse"
data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
aria-expanded="false" aria-label="Toggle navigation">
<span className="navbar-toggler-icon"></span>
</button>
<div className="collapse navbar-collapse" id="navbarSupportedContent">
<ul className="navbar-nav my-2 my-lg-0">
<li className="nav-item">
<Link to="/register" className="navbar-link">Register</Link>
</li>
<li className="nav-item">
<Link to="/login" className="navbar-link">Login</Link>
</li>
</ul>
</div>
</nav>
For styling, I am using Bootstrap CDN version 4.4.1:
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootswatch/4.4.1/flatly/bootstrap.min.css" />
My goal is to achieve a layout like this:
https://i.sstatic.net/xvLr4.png
However, despite my efforts, my current result looks like this:
https://i.sstatic.net/cuQIa.pngI'm a bit stuck here, can anyone point out what I might be missing?
Thanks for your help!