Update layout

This commit is contained in:
MD. Ariful Alam
2021-08-23 01:36:41 +06:00
parent 3924ed3288
commit 29da6b59a9
8 changed files with 70 additions and 42 deletions

24
src/components/Blog.js Normal file
View File

@@ -0,0 +1,24 @@
import { useSelector } from "react-redux";
import { skeleton } from "../helpers/utils";
const { Fragment } = require("react")
const Blog = () => {
const loading = useSelector(state => state.loading);
return (
<div className="card shadow-lg compact side bg-base-100">
<div className="flex-row items-center space-x-4 card-body">
<div className="flex-1">
<div className="section-title">
<h5 className="card-title">
{loading ? skeleton({width: 'w-20', height: 'h-8'}) : 'Blog'}
</h5>
</div>
</div>
</div>
</div>
)
}
export default Blog;