Compare commits

...

4 Commits

Author SHA1 Message Date
victorAnumudu 359344772e added space between buttons 2024-04-02 14:56:07 +01:00
ameye 1533465f8d Merge branch 'media-detail-style' of WrenchBoard/Users-Wrench into master 2024-04-02 12:03:37 +00:00
victorAnumudu 66b1ff5f92 updated style 2024-04-02 11:24:45 +01:00
ameye c141ab1ef2 Merge branch 'media-layout' of WrenchBoard/Users-Wrench into master 2024-04-01 20:53:44 +00:00
8 changed files with 169 additions and 157 deletions
+11 -11
View File
@@ -326,17 +326,17 @@ function ActiveJobsMedia(props) {
<p className="w-full text-base text-right text-sky-blue"> <p className="w-full text-base text-right text-sky-blue">
{props?.details && props.details.job_to} {props?.details && props.details.job_to}
</p> </p>
<div className="text-base text-slate-700 dark:text-white tracking-wide"> <div className="text-base tracking-wide">
<p className="font-semibold text-black dark:text-white"> <p className="font-semibold text-black dark:text-white tracking-wider">
Description:{" "} Description:{" "}
</p> </p>
<p className="p-2 ml-8 border border-sky-blue"> <p className="p-2 ml-8 border-b border-sky-blue">
{props?.details && props.details.description} {props?.details && props.details.description}
</p> </p>
</div> </div>
<div className="mt-6 w-full lg:flex gap-8"> <div className="mt-6 w-full lg:flex gap-8">
<div className="w-full text-base dark:text-white tracking-wide"> <div className="w-full text-base tracking-wide">
<p className="font-semibold text-sky-blue dark:text-white"> <p className="font-semibold text-black dark:text-white tracking-wider">
Delivery Detail:{" "} Delivery Detail:{" "}
</p> </p>
<p className="p-2 ml-8"> <p className="p-2 ml-8">
@@ -352,7 +352,7 @@ function ActiveJobsMedia(props) {
{/* job details */} {/* job details */}
<div className="w-full md:w-[200px]"> <div className="w-full md:w-[200px]">
<p className="text-base text-sky-blue">Delivery Detail</p> {/* <p className="text-base text-sky-blue">Delivery Detail</p> */}
{passDue ? ( {passDue ? (
<div className="my-1"> <div className="my-1">
<p className="text-base text-slate-700"> <p className="text-base text-slate-700">
@@ -385,7 +385,7 @@ function ActiveJobsMedia(props) {
<div className="my-1 text-base text-slate-700 tracking-wide flex items-center gap-3"> <div className="my-1 text-base text-slate-700 tracking-wide flex items-center gap-3">
<span className="font-semibold text-black dark:text-white"> <span className="font-semibold text-black dark:text-white">
Price:{" "} Reward:{" "}
</span> </span>
<span className="">{thePrice}</span> <span className="">{thePrice}</span>
</div> </div>
@@ -442,7 +442,7 @@ function ActiveJobsMedia(props) {
</div> </div>
{tab == "message" ? ( {tab == "message" ? (
<textarea <textarea
className="p-4 w-full h-[150px] text-base text-slate-600 dark:text-white bg-white dark:bg-black border border-[#4687ba] outline-none" className="p-4 w-full h-[150px] text-base text-slate-600 dark:text-white bg-white dark:bg-black border-4 border-[#4687ba] outline-none"
// rows="10" // rows="10"
style={{ resize: "none" }} style={{ resize: "none" }}
name="message" name="message"
@@ -451,7 +451,7 @@ function ActiveJobsMedia(props) {
autoFocus autoFocus
/> />
) : ( ) : (
<div className="p-4 mb-2 h-[150px] text-base text-slate-600 border border-[#4687ba]"> <div className="p-4 mb-2 h-[150px] text-base text-slate-600 border-4 border-[#4687ba]">
<div className="files flex"> <div className="files flex">
<label <label
htmlFor="file" htmlFor="file"
@@ -509,8 +509,8 @@ function ActiveJobsMedia(props) {
{/* End of error or success display */} {/* End of error or success display */}
{/* Buttons Sections */} {/* Buttons Sections */}
<div className="py-1 sm:flex sm:justify-end sm:items-center"> <div className="py-1 grid grid-cols-1 xxs:grid-cols-3">
<div className="w-full flex justify-center items-center gap-4"> <div className="w-full col-span-3 col-start-1 xxs:col-span-2 xxs:col-start-2 flex justify-between items-center gap-4">
<button <button
type="button" type="button"
onClick={handleClearAll} onClick={handleClearAll}
@@ -65,7 +65,7 @@ function CurrentTaskAction({jobDetails}) {
<div className="w-full text-sm text-left text-gray-500"> <div className="w-full text-sm text-left text-gray-500">
{jobDetails.job_type == 'MEDIA' ? {jobDetails.job_type == 'MEDIA' ?
<div className="flex justify-center items-center"> <div className="flex justify-center items-center">
<button onClick={popUpHandler} type="button" className="p-1 lg:p-2 border-4 border-slate-300 text-lg lg:text-xl font-medium text-orange-600 rounded-2xl hover:opacity-80 transition-all duration-300"> <button onClick={popUpHandler} type="button" className="btn-gradient text-white p-1 lg:p-2 border-4 border-slate-300 text-lg lg:text-xl font-medium rounded-2xl">
I have completed this task I have completed this task
</button> </button>
</div> </div>
@@ -588,7 +588,8 @@ function AddFundDollars(props) {
</div> </div>
</div> </div>
<div className="modal-footer-wrapper flex justify-end items-center gap-2"> <div className="modal-footer-wrapper grid grid-cols-1 xxs:grid-cols-3">
<div className="w-full col-span-1 xxs:col-span-2 xxs:col-start-2 flex justify-between items-center">
<button <button
className="custom-btn bg-[#f5a430] text-black text-base" className="custom-btn bg-[#f5a430] text-black text-base"
onClick={handleClose} onClick={handleClose}
@@ -609,6 +610,7 @@ function AddFundDollars(props) {
)} )}
</button> </button>
</div> </div>
</div>
</Form> </Form>
); );
}} }}
@@ -620,7 +622,8 @@ function AddFundDollars(props) {
</div> </div>
{selectedOption == "previous" && ( {selectedOption == "previous" && (
<div className="modal-footer-wrapper flex justify-end items-center gap-2"> <div className="modal-footer-wrapper grid grid-cols-1 xxs:grid-cols-3">
<div className="w-full col-span-1 xxs:col-span-2 xxs:col-start-2 flex justify-between items-center">
<button <button
className="custom-btn bg-[#f5a430] text-black text-base" className="custom-btn bg-[#f5a430] text-black text-base"
onClick={props.onClose} onClick={props.onClose}
@@ -640,6 +643,7 @@ function AddFundDollars(props) {
)} )}
</button> </button>
</div> </div>
</div>
)} )}
</> </>
); );
+3 -1
View File
@@ -171,7 +171,8 @@ function AddFundPop({
{countryWallet == "NG" && <div className="h-[19rem]"></div>} {countryWallet == "NG" && <div className="h-[19rem]"></div>}
{countryWallet == "NG" && ( {countryWallet == "NG" && (
<div className="modal-footer-wrapper flex justify-end items-center py-4 gap-4"> <div className="modal-footer-wrapper grid grid-cols-1 xxs:grid-cols-3">
<div className="w-full col-span-1 xxs:col-span-2 xxs:col-start-2 flex justify-between items-center">
<button <button
className="custom-btn bg-[#f5a430] text-black text-base" className="custom-btn bg-[#f5a430] text-black text-base"
onClick={onClose} onClick={onClose}
@@ -193,6 +194,7 @@ function AddFundPop({
)} )}
</button> </button>
</div> </div>
</div>
)} )}
</div> </div>
); );
@@ -424,7 +424,8 @@ function ConfirmAddFund({
</div> </div>
</div> </div>
<div className="modal-footer-wrapper flex justify-end items-center gap-4"> <div className="modal-footer-wrapper grid grid-cols-1 xxs:grid-cols-3">
<div className="w-full col-span-1 xxs:col-span-2 xxs:col-start-2 flex justify-between items-center">
<button <button
className="custom-btn bg-[#f5a430] text-black text-base" className="custom-btn bg-[#f5a430] text-black text-base"
onClick={getBack} onClick={getBack}
@@ -454,6 +455,7 @@ function ConfirmAddFund({
/> />
)} )}
</div> </div>
</div>
</> </>
); );
} }
@@ -387,7 +387,8 @@ function ConfirmNairaWithdraw({
> >
{requestStatus.message && requestStatus.message} {requestStatus.message && requestStatus.message}
</p> </p>
<div className="modal-footer-wrapper flex justify-end items-center gap-2"> <div className="modal-footer-wrapper grid grid-cols-1 xxs:grid-cols-3">
<div className="w-full col-span-1 xxs:col-span-2 xxs:col-start-2 flex justify-between items-center">
{!completeNairaWithdraw.show && ( {!completeNairaWithdraw.show && (
<button <button
type="button" type="button"
@@ -419,6 +420,7 @@ function ConfirmNairaWithdraw({
)} )}
</button> </button>
</div> </div>
</div>
</> </>
)} )}
@@ -794,7 +794,8 @@ function NairaWithdraw({
</div> </div>
<div className="modal-footer-wrapper flex justify-end items-center gap-2 py-4"> <div className="modal-footer-wrapper grid grid-cols-1 xxs:grid-cols-3">
<div className="w-full col-span-1 xxs:col-span-2 xxs:col-start-2 flex justify-between items-center">
<button <button
type="button" type="button"
onClick={action} onClick={action}
@@ -819,6 +820,7 @@ function NairaWithdraw({
)} )}
</button> </button>
</div> </div>
</div>
</Form> </Form>
) )
}} }}
+5 -5
View File
@@ -110,7 +110,7 @@ export default function MediaHeader({ logoutModalHandler, sidebarHandler, backpa
<> <>
<div className="header-wrapper backdrop-blur-sm bg-[#efedfe5e]/60 dark:bg-transparent w-full h-full flex items-center xl:px-0 md:px-10 px-5"> <div className="header-wrapper backdrop-blur-sm bg-[#efedfe5e]/60 dark:bg-transparent w-full h-full flex items-center xl:px-0 md:px-10 px-5">
<div className="flex justify-between items-center w-full"> <div className="flex justify-between items-center w-full">
<button {/* <button
className="xl:hidden block mr-10" className="xl:hidden block mr-10"
type="button" type="button"
onClick={sidebarHandler} onClick={sidebarHandler}
@@ -157,12 +157,12 @@ export default function MediaHeader({ logoutModalHandler, sidebarHandler, backpa
</linearGradient> </linearGradient>
</defs> </defs>
</svg> </svg>
</button> </button> */}
<div className="search-bar xl:hidden justify-center items-center w-[376px]">
{/* Home */} {/* Home */}
{/* <div className="search-bar xl:hidden justify-center items-center w-[376px]">
<HomeButton /> <HomeButton />
</div> </div> */}
{/* Back BTN AND TITLE */} {/* Back BTN AND TITLE */}
<div className="pl-4 w-full flex justify-start gap-3 items-center"> <div className="pl-4 w-full flex justify-start gap-3 items-center">
@@ -199,7 +199,7 @@ export default function MediaHeader({ logoutModalHandler, sidebarHandler, backpa
)} )}
</div> </div>
<h1 className="text-base md:text-[20px] font-bold text-dark-gray dark:text-white tracking-wide"> <h1 className="text-base md:text-[20px] font-bold text-dark-gray dark:text-white tracking-wide line-clamp-1">
{title && title} {title && title}
</h1> </h1>
</div> </div>