Skip to content

Commit

Permalink
#43 Remove likes, change feed->following, rotate icon
Browse files Browse the repository at this point in the history
  • Loading branch information
SandraBergstrom committed Jul 4, 2023
1 parent 1a10c93 commit 2aeea27
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 18 deletions.
10 changes: 0 additions & 10 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,6 @@ function App() {
/>
)}
/>
<Route
exact
path="/liked"
render={() => (
<PostsPage
message="No results found. Adjust the search keyword or like a post."
filter={`likes__owner__traveler=${traveler_id}&ordering=-likes__created_at&`}
/>
)}
/>
<Route
exact
path="/bucketlist"
Expand Down
10 changes: 2 additions & 8 deletions src/components/NavBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,8 @@ const NavBar = () => {
className={styles.NavLink}
activeClassName={styles.Active}
>
<i className="fa-sharp fa-regular fa-images"></i>Feed
</NavLink>
<NavLink
to="/liked"
className={styles.NavLink}
activeClassName={styles.Active}
>
<i className="fa-solid fa-heart"></i>Liked
<i className={`fa-solid fa-shoe-prints ${styles.RotatedIcon}`}></i>
Following
</NavLink>
<NavLink
to="/bucketlist"
Expand Down
4 changes: 4 additions & 0 deletions src/styles/NavBar.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@
text-decoration: none;
font-weight: 500;
}

.RotatedIcon {
transform: rotate(-45deg)
}

0 comments on commit 2aeea27

Please sign in to comment.