Skip to content

Commit

Permalink
revert mainpage
Browse files Browse the repository at this point in the history
  • Loading branch information
YashSardhara committed Dec 3, 2023
1 parent 61a816d commit ce2f6fa
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/components/navbar/NavBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const NavBar = () => {
<Link className="link-secondary" to="/blog-app/create">Create Blog</Link>
</div>
<div className="col-4 text-center">
<Link className="blog-header-logo text-body-emphasis text-decoration-none" to="/blog-app/main"> Large</Link>
<Link className="blog-header-logo text-body-emphasis text-decoration-none" to="/blog-app/"> Large</Link>
</div>
<div className="col-4 d-flex justify-content-end align-items-center">
<a className="link-secondary" href="#" aria-label="Search">
Expand Down Expand Up @@ -56,11 +56,7 @@ const NavBar = () => {
element={<BlogForm addBlog={addBlog} />}
/>
<Route
path="/blog-app"
element={<BlogList blogs={blogs} />}
/>
<Route
path="/blog-app/main"
path="/blog-app/"
element={<BlogMain blogs={blogs} />}
/>
</Routes>
Expand Down

0 comments on commit ce2f6fa

Please sign in to comment.