Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1249685c41 | |||
| 50f675e82b | |||
| a0584a26fe | |||
| 0d3025c4d0 | |||
| ed24fea513 | |||
| e6d83be4d9 | |||
| 36e3154933 | |||
| 5d59ff1b30 |
+2
-2
@@ -79,7 +79,7 @@ REACT_APP_ANDROID_APP='https://play.google.com/store/apps/details?id=com.wrenchb
|
|||||||
REACT_APP_APPLE_APP='https://itunes.apple.com/us/app/wrenchboard/id1435718367?ls=1&mt=8'
|
REACT_APP_APPLE_APP='https://itunes.apple.com/us/app/wrenchboard/id1435718367?ls=1&mt=8'
|
||||||
|
|
||||||
# Displays the new family dashboard with boxes
|
# Displays the new family dashboard with boxes
|
||||||
REACT_APP_SHOW_NEW_FAMILY_DASH=0
|
REACT_APP_SHOW_NEW_FAMILY_DASH=1
|
||||||
|
|
||||||
# Displays the account dashboard
|
# Displays the account dashboard
|
||||||
REACT_APP_SHOW_ACCOUNT_DASH=0
|
REACT_APP_SHOW_ACCOUNT_DASH=1
|
||||||
@@ -85,7 +85,7 @@ const TopBanner = ({ image, title = "", desc = "", btn, link_path, key }) => {
|
|||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex justify-between w-full px-2 items-center">
|
<div className="flex justify-between w-full px-2 items-center">
|
||||||
<Link to={link_path} className="text-slate-300 font-semibold">
|
<Link to={link_path} className="text-slate-300 font-semibold text-sm">
|
||||||
{btn}
|
{btn}
|
||||||
</Link>
|
</Link>
|
||||||
<button className="flex items-center justify-center gap-2">
|
<button className="flex items-center justify-center gap-2">
|
||||||
@@ -125,7 +125,7 @@ const LowerBanner = ({ image, title = "", desc = "", btn, link_path, key }) => {
|
|||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex justify-between w-full px-2 items-center">
|
<div className="flex justify-between w-full px-2 items-center">
|
||||||
<Link to={link_path} className="text-slate-300 font-semibold">
|
<Link to={link_path} className="text-slate-300 font-semibold text-sm">
|
||||||
{btn}
|
{btn}
|
||||||
</Link>
|
</Link>
|
||||||
<button className="flex items-center justify-center gap-2">
|
<button className="flex items-center justify-center gap-2">
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ export default function JobOwnerDashboard({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={`w-full min-h-[100px] flex lg:p-8 p-4 justify-between items-center gap-2 rounded-2xl overflow-hidden bg-sky-blue ${
|
className={`w-full h-[75px] flex p-4 justify-between items-center gap-2 rounded-2xl overflow-hidden bg-sky-blue ${
|
||||||
className || ""
|
className || ""
|
||||||
}`}
|
}`}
|
||||||
style={{
|
style={{
|
||||||
@@ -28,12 +28,12 @@ export default function JobOwnerDashboard({
|
|||||||
<div className="h-full flex w-full justify-between mb-5 lg:mb-0">
|
<div className="h-full flex w-full justify-between mb-5 lg:mb-0">
|
||||||
{/* heading */}
|
{/* heading */}
|
||||||
<div className="flex gap-8">
|
<div className="flex gap-8">
|
||||||
<h1 className="lg:text-2xl text-xl font-medium text-white tracking-wide">
|
<h1 className="text-base ng font-medium text-white tracking-wide">
|
||||||
Welcome
|
Welcome
|
||||||
</h1>
|
</h1>
|
||||||
{/* user */}
|
{/* user */}
|
||||||
<div>
|
<div>
|
||||||
<p className="text-3xl tracking-wide font-bold antise text-white">
|
<p className="text-base tracking-wide font-bold antise text-white">
|
||||||
{`${firstname} ${lastname}`}
|
{`${firstname} ${lastname}`}
|
||||||
</p>
|
</p>
|
||||||
<p className="text-sm tracking-wide text-white">@{userEmail}</p>
|
<p className="text-sm tracking-wide text-white">@{userEmail}</p>
|
||||||
@@ -72,7 +72,7 @@ export default function JobOwnerDashboard({
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
<span className="text-[18px] font-thin tracking-wide text-white flex items-end">
|
<span className="text-base font-thin tracking-wide text-white flex items-end">
|
||||||
Last Login : {loginDate}
|
Last Login : {loginDate}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ export default function JobOwnerDashboard({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={`w-full min-h-[100px] flex lg:p-8 p-4 justify-between items-center gap-2 rounded-2xl overflow-hidden bg-sky-blue ${
|
className={`w-full h-[75px] flex p-4 justify-between items-center gap-2 rounded-2xl overflow-hidden bg-sky-blue ${
|
||||||
className || ""
|
className || ""
|
||||||
}`}
|
}`}
|
||||||
style={{
|
style={{
|
||||||
@@ -28,12 +28,12 @@ export default function JobOwnerDashboard({
|
|||||||
<div className="h-full flex w-full justify-between mb-5 lg:mb-0">
|
<div className="h-full flex w-full justify-between mb-5 lg:mb-0">
|
||||||
{/* heading */}
|
{/* heading */}
|
||||||
<div className="flex gap-8">
|
<div className="flex gap-8">
|
||||||
<h1 className="lg:text-2xl text-xl font-medium text-white tracking-wide">
|
<h1 className="text-base ng font-medium text-white tracking-wide">
|
||||||
Welcome
|
Welcome
|
||||||
</h1>
|
</h1>
|
||||||
{/* user */}
|
{/* user */}
|
||||||
<div>
|
<div>
|
||||||
<p className="text-3xl tracking-wide font-bold antise text-white">
|
<p className="text-base tracking-wide font-bold antise text-white">
|
||||||
{`${firstname} ${lastname}`}
|
{`${firstname} ${lastname}`}
|
||||||
</p>
|
</p>
|
||||||
<p className="text-sm tracking-wide text-white">@{userEmail}</p>
|
<p className="text-sm tracking-wide text-white">@{userEmail}</p>
|
||||||
@@ -72,7 +72,7 @@ export default function JobOwnerDashboard({
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
<span className="text-[18px] font-thin tracking-wide text-white flex items-end">
|
<span className="text-base font-thin tracking-wide text-white flex items-end">
|
||||||
Last Login : {loginDate}
|
Last Login : {loginDate}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ export default function JobOwnerDashboard({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={`w-full min-h-[100px] flex lg:p-8 p-4 justify-between items-center gap-2 rounded-2xl overflow-hidden bg-sky-blue ${
|
className={`w-full h-[75px] flex p-4 justify-between items-center gap-2 rounded-2xl overflow-hidden bg-sky-blue ${
|
||||||
className || ""
|
className || ""
|
||||||
}`}
|
}`}
|
||||||
style={{
|
style={{
|
||||||
@@ -28,12 +28,12 @@ export default function JobOwnerDashboard({
|
|||||||
<div className="h-full flex w-full justify-between mb-5 lg:mb-0">
|
<div className="h-full flex w-full justify-between mb-5 lg:mb-0">
|
||||||
{/* heading */}
|
{/* heading */}
|
||||||
<div className="flex gap-8">
|
<div className="flex gap-8">
|
||||||
<h1 className="lg:text-2xl text-xl font-medium text-white tracking-wide">
|
<h1 className="text-base font-medium text-white tracking-wide">
|
||||||
Welcome
|
Welcome
|
||||||
</h1>
|
</h1>
|
||||||
{/* user */}
|
{/* user */}
|
||||||
<div>
|
<div>
|
||||||
<p className="text-3xl tracking-wide font-bold antise text-white">
|
<p className="text-base tracking-wide font-bold antise text-white">
|
||||||
{`${firstname} ${lastname}`}
|
{`${firstname} ${lastname}`}
|
||||||
</p>
|
</p>
|
||||||
<p className="text-sm tracking-wide text-white">@{userEmail}</p>
|
<p className="text-sm tracking-wide text-white">@{userEmail}</p>
|
||||||
@@ -72,11 +72,10 @@ export default function JobOwnerDashboard({
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
<span className="text-[18px] font-thin tracking-wide text-white flex items-end">
|
<span className="text-base font-thin tracking-wide text-white flex items-end">
|
||||||
Last Login : {loginDate}
|
Last Login : {loginDate}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ export default function JobOwnerDashboard({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={`w-full min-h-[100px] flex lg:p-8 p-4 justify-between items-center gap-2 rounded-2xl overflow-hidden bg-sky-blue ${
|
className={`w-full h-[75px] flex p-4 justify-between items-center gap-2 rounded-2xl overflow-hidden bg-sky-blue ${
|
||||||
className || ""
|
className || ""
|
||||||
}`}
|
}`}
|
||||||
style={{
|
style={{
|
||||||
@@ -28,12 +28,12 @@ export default function JobOwnerDashboard({
|
|||||||
<div className="h-full flex w-full justify-between mb-5 lg:mb-0">
|
<div className="h-full flex w-full justify-between mb-5 lg:mb-0">
|
||||||
{/* heading */}
|
{/* heading */}
|
||||||
<div className="flex gap-8">
|
<div className="flex gap-8">
|
||||||
<h1 className="lg:text-2xl text-xl font-medium text-white tracking-wide">
|
<h1 className="text-base ng font-medium text-white tracking-wide">
|
||||||
Welcome
|
Welcome
|
||||||
</h1>
|
</h1>
|
||||||
{/* user */}
|
{/* user */}
|
||||||
<div>
|
<div>
|
||||||
<p className="text-3xl tracking-wide font-bold antise text-white">
|
<p className="text-base tracking-wide font-bold antise text-white">
|
||||||
{`${firstname} ${lastname}`}
|
{`${firstname} ${lastname}`}
|
||||||
</p>
|
</p>
|
||||||
<p className="text-sm tracking-wide text-white">@{userEmail}</p>
|
<p className="text-sm tracking-wide text-white">@{userEmail}</p>
|
||||||
@@ -72,7 +72,7 @@ export default function JobOwnerDashboard({
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
<span className="text-[18px] font-thin tracking-wide text-white flex items-end">
|
<span className="text-base font-thin tracking-wide text-white flex items-end">
|
||||||
Last Login : {loginDate}
|
Last Login : {loginDate}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -87,21 +87,20 @@ export default function FamilyDash({ familyOffers, MyActiveJobList }) {
|
|||||||
<Link key={item} to={`/${action}`} className={`rounded-xl bg-white dark:bg-dark-white shadow-md flex justify-center items-center transition-all duration-300 hover:shadow-sm`}>
|
<Link key={item} to={`/${action}`} className={`rounded-xl bg-white dark:bg-dark-white shadow-md flex justify-center items-center transition-all duration-300 hover:shadow-sm`}>
|
||||||
<div className="h-full w-full">
|
<div className="h-full w-full">
|
||||||
<img className="w-full h-[12rem] object-cover object-left rounded-t-xl" src={content.banner.image} alt='banner image' />
|
<img className="w-full h-[12rem] object-cover object-left rounded-t-xl" src={content.banner.image} alt='banner image' />
|
||||||
<div className="h-[7rem] flex flex-col justify-between">
|
<div className="flex flex-col justify-between">
|
||||||
<div className="px-2 py-1 border-b border-slate-300 h-[5.4rem] overflow-hidden flex flex-col gap-2">
|
<div className="px-2 py-2 border-b border-transparent min-h-[5.4rem] flex flex-col gap-1">
|
||||||
<h1 className="text-lg text-[#083e21] dark:text-white font-bold tracking-wide">{content.banner.text}</h1>
|
<h1 className="text-lg text-[#083e21] dark:text-white font-bold tracking-wide">{content.banner.text}</h1>
|
||||||
<p className="text-sm text-black dark:text-white">{content.banner.description}</p>
|
<p className="text-sm text-black dark:text-white">{content.banner.description}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="px-2 py-1 flex justify-between items-center">
|
{/* <div className="px-2 py-1 flex justify-between items-center">
|
||||||
<span className="text-slate-400 dark:text-slate-200 text-sm">6w ago</span>
|
<span className="text-slate-400 dark:text-slate-200 text-sm">6w ago</span>
|
||||||
{/* Dots */}
|
|
||||||
<div className="flex justify-center gap-1">
|
<div className="flex justify-center gap-1">
|
||||||
<div className="w-1 h-1 bg-slate-400 rounded-full"></div>
|
<div className="w-1 h-1 bg-slate-400 rounded-full"></div>
|
||||||
<div className="w-1 h-1 bg-slate-400 rounded-full"></div>
|
<div className="w-1 h-1 bg-slate-400 rounded-full"></div>
|
||||||
<div className="w-1 h-1 bg-slate-400 rounded-full"></div>
|
<div className="w-1 h-1 bg-slate-400 rounded-full"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> */}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Link>
|
</Link>
|
||||||
@@ -120,21 +119,20 @@ export default function FamilyDash({ familyOffers, MyActiveJobList }) {
|
|||||||
<Link key={item.uid} to={item?.action} className={`rounded-xl bg-white dark:bg-dark-white shadow-md flex justify-center items-center transition-all duration-300 hover:shadow-sm`}>
|
<Link key={item.uid} to={item?.action} className={`rounded-xl bg-white dark:bg-dark-white shadow-md flex justify-center items-center transition-all duration-300 hover:shadow-sm`}>
|
||||||
<div className="h-full w-full">
|
<div className="h-full w-full">
|
||||||
<img className="w-full h-[12rem] object-cover rounded-t-xl" src={item?.banner} alt='banner image' />
|
<img className="w-full h-[12rem] object-cover rounded-t-xl" src={item?.banner} alt='banner image' />
|
||||||
<div className="h-[7rem] flex flex-col justify-between">
|
<div className="flex flex-col justify-between">
|
||||||
<div className="px-2 py-1 border-b border-slate-300 h-[5.4rem] overflow-hidden flex flex-col gap-2">
|
<div className="px-2 py-2 border-b border-transparent min-h-[5.4rem] flex flex-col gap-1">
|
||||||
<h1 className="text-lg text-[#083e21] dark:text-white font-bold tracking-wide">{item?.content}</h1>
|
<h1 className="text-lg text-[#083e21] dark:text-white font-bold tracking-wide">{item?.content}</h1>
|
||||||
{/* <p className="text-sm text-black dark:text-white">{'Description'}</p> */}
|
{/* <p className="text-sm text-black dark:text-white">{'Description'}</p> */}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="px-2 py-1 flex justify-between items-center">
|
{/* <div className="px-2 py-1 flex justify-between items-center">
|
||||||
<span className="text-slate-400 dark:text-slate-200 text-sm">6w ago</span>
|
<span className="text-slate-400 dark:text-slate-200 text-sm">6w ago</span>
|
||||||
{/* Dots */}
|
|
||||||
<div className="flex justify-center gap-1">
|
<div className="flex justify-center gap-1">
|
||||||
<div className="w-1 h-1 bg-slate-400 rounded-full"></div>
|
<div className="w-1 h-1 bg-slate-400 rounded-full"></div>
|
||||||
<div className="w-1 h-1 bg-slate-400 rounded-full"></div>
|
<div className="w-1 h-1 bg-slate-400 rounded-full"></div>
|
||||||
<div className="w-1 h-1 bg-slate-400 rounded-full"></div>
|
<div className="w-1 h-1 bg-slate-400 rounded-full"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> */}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Link>
|
</Link>
|
||||||
|
|||||||
Reference in New Issue
Block a user