I want to customize the layout of my navigation bar using Bootstrap 5. Specifically, I would like the logo text to be on the left, the search bar in the middle, and the user links on the right.
How can I achieve this using Bootstrap 5?
<!-- NAVIGATION BAR - FIXED -->
<nav class="navbar navbar-expand-sm navbar-dark bg-dark sticky-top">
<div class="container-fluid">
<!-- Logo text. -->
<a class="navbar-brand" href="javascript:void(0)"><h1>Logo text.</h1></a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#mynavbar">
<span class="navbar-toggler-icon"></span>
</button>
<!-- Search form -->
<div class="collapse navbar-collapse" id="mynavbar">
<form class="d-flex">
<input class="form-control me-2" type="text" placeholder="Search">
<button class="btn btn-primary" type="button">Search</button>
</form>
<!-- User links -->
<ul class="navbar-nav me-auto">
<li class="nav-item">
<a class="nav-link" href="javascript:void(0)">Link 1</a>
</li>
<li class="nav-item">
<a class="nav-link" href="javascript:void(0)">Link 2</a>
</li>
<li class="nav-item">
<a class="nav-link" href="javascript:void(0)">Link 3</a>
</li>
</ul>
</div>
</div>
</nav>