Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
JaberHPranto committed Sep 15, 2021
1 parent 2037075 commit 7aada85
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/src/components/Blog/Blog.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function Blog() {
const history = useHistory()

function handleCreateBlog(){
history.push("/blog/new")
history.push("/newblog")
}
return (
<>
Expand Down
4 changes: 2 additions & 2 deletions client/src/pages/MainPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ function MainPage() {
<Route path="/payment" component={PaymentScreen} />
</Container>
{/* Blog Routes */}
<Route path="/blog/new" component={NewBlog} />
<Route path="/blog" exact component={Blog} />
<Route path="/blog/:id" exact component={BlogDetails} />
<Route path="/newblog" component={NewBlog} />
<Route path="/blog/:id" component={BlogDetails} />
</main>
<Footer />
</Router>
Expand Down
1 change: 1 addition & 0 deletions client/src/styles/blog.css
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@
}
.writeTags {
font-size: 1.2rem;
font-family: "nunito";
}
.writeSubmit {
position: absolute;
Expand Down
2 changes: 2 additions & 0 deletions client/src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ dropdown {
justify-content: space-between;
align-items: center;
font-size: 1.2rem;
margin-left: 5px;
font-family: "nunito" !important;
}

.dropdown-body {
Expand Down

0 comments on commit 7aada85

Please sign in to comment.