This commit is contained in:
omkieit 2024-09-11 22:52:23 +05:30
parent 21fa153c25
commit a7727d10b7
4 changed files with 5 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@ -42,7 +42,7 @@
<!-- <script src="https://stackpath.bootstrapcdn.com/bootstrap/5.1.3/js/bootstrap.bundle.min.js"></script> -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0/dist/js/bootstrap.bundle.min.js"></script>
<script type="module" crossorigin src="/assets/index-CxbocabY.js"></script>
<script type="module" crossorigin src="/assets/index-CCiNHmF-.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-B4N2BY33.css">
</head>

View File

@ -1,7 +1,5 @@
import { useState } from 'react';
import "../addproperty.css"
import 'primeicons/primeicons.css';
const Addproperty = () => {
const [activeTab, setActiveTab] = useState('billing');

View File

@ -5,7 +5,6 @@ import { useSelector } from "react-redux";
import profilepic from "../img/samplepic.jpg";
import Addproperty from "./Addproperty";
import "../dashboard.css";
import 'primeicons/primeicons.css';
const Dashboard = () => {
const { user } = useSelector((state) => ({ ...state.auth }));
@ -105,21 +104,21 @@ const Dashboard = () => {
className={`btn mt-3 ${activeTab === "addProperty" ? "active" : ""}`}
onClick={() => setActiveTab("addProperty")}
>
<span className="pi pi-home" style={{ color: "#F74B02" }} />
<span className="fa fa-home" style={{ color: "#F74B02" }} />
<span>Add Property</span>
</button>
<button
className={`btn mt-3 ${activeTab === "activeProperties" ? "active" : ""}`}
onClick={() => setActiveTab("activeProperties")}
>
<span className="pi pi-home" style={{ color: "#F74B02" }} />
<span className="fa fa-home" style={{ color: "#F74B02" }} />
<span>Active Properties</span>
</button>
<button
className={`btn mt-3 ${activeTab === "closedProperties" ? "active" : ""}`}
onClick={() => setActiveTab("closedProperties")}
>
<span className="pi pi-home" style={{ color: "#F74B02" }} />
<span className="fa fa-home" style={{ color: "#F74B02" }} />
<span>Closed Properties</span>
</button>
{/* <span className="other mt-4">Other Information</span>