I am facing an issue with the navigation bar in my project. When I use a link to an external source for the navigation bar, it works fine. However, when the internet connection is slow, I notice a brief loading time for the navigation bar which is quite bothersome. To fix this, I attempted to use a CSS file from my project folder but encountered difficulties in implementing it correctly despite trying various code samples. Any assistance would be greatly appreciated. Thank you. I am still working on resolving this problem independently, but some guidance would be very helpful.
function MyNavBar(params) {
//console.log(params["conpanyID"]);
return (
<div>
<head>
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
/>
</head>
1-When using an external link: [1]: https://i.sstatic.net/SO5qB.png 2-When using a CSS file from my project folder: [2]: https://i.sstatic.net/MqHqo.png