Skip to content

Commit

Permalink
Added margin bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
PiyushSharma99 committed May 1, 2023
1 parent b668c02 commit 81342c0
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 177 deletions.
3 changes: 1 addition & 2 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { createBrowserRouter, RouterProvider} from 'react-router-dom'
import Home from './pages/Home';
import Blogs from './pages/old/Blogs';
import BlogDetails from './pages/BlogDetails';
import AddBlog from './pages/AddBlog';
import EditBlog from './pages/EditBlog';
Expand All @@ -19,7 +18,7 @@ const router = createBrowserRouter([
children: [

{path:'/', element:<Home/>},
{path:'/blogs', element:<Blogs/>},

{path:'/blog-details/:id', element:<BlogDetails/>},
{path:'/add-blog', element:<AddBlog />},
{path:'/edit-blog/:id', element:<EditBlog/>},
Expand Down
4 changes: 2 additions & 2 deletions src/pages/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const Home = () => {
const colors = ["Primary", "Secondary", "Danger", "Warning", "Info"];
return (
<>
<h2 style={{ justifyContent: "center", textAlign: "center" }}>
<h2 style={{ justifyContent: "center", textAlign: "center",marginBottom: '25px' }}>
Blog Posts
</h2>

Expand All @@ -28,7 +28,7 @@ const Home = () => {
justifyContent: "center",
position: 'relative',
top: '50%',
left: '20%',
left: '25%',
marginBottom: '25px',

className:'mb-2'}}
Expand Down
33 changes: 0 additions & 33 deletions src/pages/old/Blogs.js

This file was deleted.

9 changes: 0 additions & 9 deletions src/pages/old/OldBlogDetails.js

This file was deleted.

9 changes: 0 additions & 9 deletions src/pages/old/OldEditBlog.js

This file was deleted.

17 changes: 0 additions & 17 deletions src/pages/old/OldHome.js

This file was deleted.

105 changes: 0 additions & 105 deletions src/pages/old/OldNewBlog.js

This file was deleted.

0 comments on commit 81342c0

Please sign in to comment.