We will need a simple navbar component. This will be used to toggle whether we see the "Friends" or "Community" content on our home page.
Just get the html components on the navbar, if you can also add the component in the div with className "navbar". Do not worry about styling yet, we will deal with that later.
We will need a simple navbar component. This will be used to toggle whether we see the "Friends" or "Community" content on our home page.
Just get the html components on the navbar, if you can also add the component in the div with className "navbar". Do not worry about styling yet, we will deal with that later.
It should look like this.
Resources:
Creating a React Component: https://react.dev/learn/your-first-component
Basic HTML https://www.w3schools.com/html/html_basic.asp