cookie bug fix and family dash style changes made
This commit is contained in:
@@ -18,10 +18,20 @@ export default function ParentWaiting({ className }) {
|
||||
return (
|
||||
<>
|
||||
<div className={`overview-section w-full ${className || ""}`}>
|
||||
<div className="mb-3">
|
||||
<h1 className="text-26 font-bold text-dark-gray dark:text-white">
|
||||
<div className="w-full mb-3 flex justify-between items-center gap-1">
|
||||
<h1 className="text-26 font-bold text-dark-gray dark:text-white">
|
||||
Waiting for Parent to Get Started...
|
||||
</h1>
|
||||
<Link
|
||||
// type="button"
|
||||
// onClick={() => {
|
||||
// navigate("/resources");
|
||||
// }}
|
||||
to='/resources'
|
||||
className="px-4 h-10 flex justify-center items-center btn-gradient text-base rounded-full text-white"
|
||||
>
|
||||
More Task
|
||||
</Link>
|
||||
</div>
|
||||
{/* <div className="overview-section-wrapper py-2 min-h-[450px] lg:flex lg:space-x-2 flex-1 lg:gap-8"> */}
|
||||
<div className="overview-section-wrapper py-2 min-h-[400px] lg:grid grid-cols-2 gap-4">
|
||||
|
||||
@@ -85,12 +85,17 @@ export default function ParentWaitingTable() {
|
||||
:
|
||||
familySuggestList && familySuggestList.length != 0?
|
||||
<ul>
|
||||
{currentList.map((item)=>(
|
||||
{currentList.map((item)=>{
|
||||
// Image
|
||||
let Image = require(`../../assets/images/family/${
|
||||
item.banner || "default.jpg"
|
||||
}`);
|
||||
return (
|
||||
<li key={item.uid} className="content-item py-2 border-b dark:border-[#5356fb29] border-light-purple hover:border-purple">
|
||||
<div className="w-full flex justify-between items-center">
|
||||
<div className="account-name flex space-x-4 items-center">
|
||||
<div className="icon w-14 h-14 flex justify-center items-center">
|
||||
<img src={transaction1} alt="" className="" />
|
||||
<img src={Image} alt="" className="" />
|
||||
</div>
|
||||
<div className="">
|
||||
<p className="text-xl font-bold text-dark-gray dark:text-white mb-2 capitalize line-clamp-1">
|
||||
@@ -111,7 +116,8 @@ export default function ParentWaitingTable() {
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
))}
|
||||
)
|
||||
})}
|
||||
</ul>
|
||||
:
|
||||
<p className="w-full flex items-center justify-center text-xl text-dark-gray dark:text-white">No List Found!</p>
|
||||
|
||||
Reference in New Issue
Block a user