This commit is contained in:
omkieit 2024-11-16 10:19:36 +05:30
parent c6284f52f2
commit f76471acd4
7 changed files with 102 additions and 25 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 464 KiB

View File

@ -54,7 +54,7 @@
<!-- Custom styles for this template--> <!-- Custom styles for this template-->
<link href="css/sb-admin-2.min.css" rel="stylesheet"> <link href="css/sb-admin-2.min.css" rel="stylesheet">
<script type="module" crossorigin src="/assets/index-wGi2QxgW.js"></script> <script type="module" crossorigin src="/assets/index-5yOgQru8.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-BH_0_em5.css"> <link rel="stylesheet" crossorigin href="/assets/index-BH_0_em5.css">
</head> </head>

View File

@ -128,6 +128,7 @@ const Addproperty = () => {
LongTermRental: "0", LongTermRental: "0",
FinancingCostClosingCost: "0", FinancingCostClosingCost: "0",
IAB: [{ title: "IAB Title", URL: "Please enter URL" }], IAB: [{ title: "IAB Title", URL: "Please enter URL" }],
files: [{ title: "", file: "" }],
}); });
@ -1088,7 +1089,7 @@ const Addproperty = () => {
className={activeTab === "IAB" ? "active tab" : "tab"} className={activeTab === "IAB" ? "active tab" : "tab"}
> >
<a onClick={() => setActiveTab("IAB")} role="tab"> <a onClick={() => setActiveTab("IAB")} role="tab">
IAB IAB Verified Report
</a> </a>
</li> </li>
</ul> </ul>
@ -4171,6 +4172,80 @@ const Addproperty = () => {
</button> </button>
</div> </div>
<hr
style={{
borderColor: "#fda417", // Set the color of the line
borderWidth: "1px", // Optional: Adjust the thickness of the line
backgroundColor: "#fda417", // Optional: Apply color if using for background
height: "1px", // Optional: Set height to match the border width
}}
/>
<h3
style={{
color: "#fda417",
border: "#fda417",
fontSize: "20px",
fontWeight: "normal",
}}
>
Upload Files{" "}
</h3>
{formData.images.map((image, index) => (
<div key={index} className="row gy-3 align-items-center">
<div className="col-md-4">
<input
type="text"
className="form-control"
value={image.title}
placeholder="Image Title"
onChange={(e) => handleImageTitleChange(index, e)}
/>
</div>
<div className="col-md-4 d-flex align-items-center">
<FileBase64
multiple={false}
onDone={(file) => handleImageChange(file, index)}
/>
<button
type="button"
className="btn btn-danger"
onClick={() => handleDeleteImage(index)}
style={{
marginLeft: "5px",
}}
>
Delete
</button>
</div>
{/* Check if image.file contains valid base64 data */}
{image.file && (
<>
<div className="col-md-12">
<img
src={image.file}
alt="uploaded"
style={{ width: "150px", height: "150px", objectFit: "cover" }}
/>
</div>
</>
)}
</div>
))}
<button
type="button"
className="btn btn-primary"
onClick={handleAddImage}
style={{ backgroundColor: "#fda417", border: "#fda417" }}
>
+ Add Image
</button>
<div className="col-md-4"> <div className="col-md-4">
<button <button
className="btn btn-primary back" className="btn btn-primary back"

View File

@ -30,6 +30,7 @@ const EditProperty = () => {
address: "", address: "",
city: "", city: "",
state: "", state: "",
county:"",
zip: "", zip: "",
propertyTaxInfo: [ propertyTaxInfo: [
{ propertytaxowned: "0", ownedyear: "0", taxassessed: "0", taxyear: "0" }, { propertytaxowned: "0", ownedyear: "0", taxassessed: "0", taxyear: "0" },
@ -146,6 +147,7 @@ const EditProperty = () => {
address: selectedProperty.address || "", address: selectedProperty.address || "",
city: selectedProperty.city || "", city: selectedProperty.city || "",
state: selectedProperty.state || "", state: selectedProperty.state || "",
county: selectedProperty.county || "",
zip: selectedProperty.zip || "", zip: selectedProperty.zip || "",
parcel: selectedProperty.parcel || "", parcel: selectedProperty.parcel || "",
subdivision: selectedProperty.subdivision || "", subdivision: selectedProperty.subdivision || "",
@ -1119,7 +1121,7 @@ const EditProperty = () => {
className={activeTab === "IAB" ? "active tab" : "tab"} className={activeTab === "IAB" ? "active tab" : "tab"}
> >
<a onClick={() => setActiveTab("IAB")} role="tab"> <a onClick={() => setActiveTab("IAB")} role="tab">
IAB IAB Verified Report
</a> </a>
</li> </li>

View File

@ -1,4 +1,4 @@
import logo from "../logo.png"; // import logo from "../logo.png";
import { useSelector, useDispatch } from "react-redux"; import { useSelector, useDispatch } from "react-redux";
import { NavLink } from "react-router-dom"; import { NavLink } from "react-router-dom";
import { setLogout } from "../redux/features/authSlice"; import { setLogout } from "../redux/features/authSlice";
@ -29,7 +29,7 @@ const Navbar = () => {
> >
<div className="container-fluid d-flex align-items-center justify-content-between"> <div className="container-fluid d-flex align-items-center justify-content-between">
<div className="d-flex align-items-center"> <div className="d-flex align-items-center">
<img src={logo} alt="logo" width="75" height="75" className="img-fluid" /> {/* <img src={logo} alt="logo" width="75" height="75" className="img-fluid" /> */}
<p <p
style={{ style={{
display: "inline-block", display: "inline-block",

View File

@ -14,7 +14,7 @@ const Registrationsuccess = () => {
<h1 className="card-title text-center"> <h1 className="card-title text-center">
{" "} {" "}
Thank you for joining the world's most trusted realtor investment and borrowers portal. Thank you for joining the worlds most trusted portal for real estate investments and borrowing.
</h1> </h1>
<h2>We reqest you to kindly <span style={{ fontSize: "2rem", color: "#fda417" }}>check your email inbox </span> and click on the <span style={{ fontSize: "2rem", color: "#fda417" }}>verification link </span>to access the dashboard.</h2> <h2>We reqest you to kindly <span style={{ fontSize: "2rem", color: "#fda417" }}>check your email inbox </span> and click on the <span style={{ fontSize: "2rem", color: "#fda417" }}>verification link </span>to access the dashboard.</h2>