mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-05-25 04:17:13 +00:00
Update layout
This commit is contained in:
24
src/components/Blog.js
Normal file
24
src/components/Blog.js
Normal 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;
|
||||
Reference in New Issue
Block a user