Cleaning Up the App Component
In this lesson we're going to walk through how we can clean up each one of these elements in the navbar and then we're going to be able to move on to styling the cards and the homepage.
Guide Tasks
  • Read Tutorial
  • Watch Guide Video
Video locked
This video is viewable to users with a Bottega Bootcamp license

So let's start on that, there's not really a ton that we're gonna have to do. If I go to the app component right here, you can see that we have this Jordan Hudgens Portfolio and then we have the navigation container.

large

Well we can get rid of both the moment code and what we have here with the title, because we already have that in the nav bar and we are gonna use moment later on in the course, so don't worry, just 'cause we're getting rid of it, doesn't mean that we can't use it later on, we're gonna use it with our blogs.

So let's get rid of that and it's also best practice to make sure that you remove any dependencies that you're not using from a component. So since we're not gonna be using moment directly in the app component anymore, we can remove that. And now if I hit save and come back, you can see that we now have a nice cleaned up navbar and it actually looks pretty much exactly like the finished version.

large

So everything here is looking really good, and now in the next guide we're gonna see how we can walk through the ability to start styling these cool little portfolio item cards.

Resources