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://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 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"> <link rel="stylesheet" crossorigin href="/assets/index-B4N2BY33.css">
</head> </head>

View File

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

View File

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