Skip to content

Commit

Permalink
Merge branch 'master' into minor-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
NirmalNaveen20 authored May 22, 2023
2 parents b06a5bc + fcdbc13 commit 5e0c98e
Show file tree
Hide file tree
Showing 36 changed files with 18 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ socket/node_modules

npm-debug.log*
yarn-debug.log*
yarn-error.log*
yarn-error.log*
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ RoyalLands is designed to be user-friendly, with a clean and intuitive interface

Property agents can use the agent dashboard to add new property listings, update existing listings, and manage requests from potential renters. The dashboard also includes analytics and insights about the performance of their listings.


## Installation

To install RoyalLands, follow these steps
Expand Down Expand Up @@ -43,7 +44,6 @@ The key features of the RoyalLands web application include:




## Screenshots

![App Screenshot](https://public-images-view.s3.amazonaws.com/Screenshot+2023-05-22+at+8.53.18+PM.png)
Expand All @@ -61,4 +61,4 @@ The key features of the RoyalLands web application include:

## Support

If you have any questions or suggestions, please feel free to contact us at [email protected]
If you have any questions or suggestions, please feel free to contact us at [email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Diff not rendered.
Diff not rendered.
2 changes: 1 addition & 1 deletion frontend/src/components/Events/EventCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const EventCard = ({ active, data }) => {
<Link to={`/product/${data._id}?isEvent=true`}>
<div className={`${styles.button} text-[#fff]`}>See Details</div>
</Link>
<div className={`${styles.button} text-[#fff] ml-5`} onClick={() => addToCartHandler(data)}>Add to cart</div>
{/* <div className={`${styles.button} text-[#fff] ml-5`} onClick={() => addToCartHandler(data)}>Add to cart</div> */}
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/Layout/AdminHeader.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import { AiOutlineGift } from 'react-icons/ai'
import { AiOutlineGift, AiOutlineHome } from 'react-icons/ai'
import { BiMessageSquareDetail } from 'react-icons/bi'
import { FiPackage, FiShoppingBag } from 'react-icons/fi'
import { MdOutlineLocalOffer } from 'react-icons/md'
Expand All @@ -23,7 +23,7 @@ const AdminHeader = () => {
<div className="flex items-center">
<div className="flex items-center mr-4">
<Link to="/dashboard/cupouns" className="800px:block hidden">
<AiOutlineGift
<AiOutlineHome
color="#555"
size={30}
className="mx-5 cursor-pointer"
Expand Down
16 changes: 8 additions & 8 deletions frontend/src/components/Profile/ProfileContent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const ProfileContent = ({ active }) => {
})
.then((response) => {
dispatch(loadUser());
toast.success("avatar updated successfully!");
toast.success("Profile updated successfully!");
})
.catch((error) => {
toast.error(error);
Expand Down Expand Up @@ -215,14 +215,14 @@ const AllOrders = () => {
minWidth: 130,
flex: 0.7,
cellClassName: (params) => {
return params.getValue(params.id, "status") === "Delivered"
return params.getValue(params.id, "status") === "Booking Completed"
? "greenColor"
: "redColor";
},
},
{
field: "itemsQty",
headerName: "Items Qty",
headerName: "Days",
type: "number",
minWidth: 130,
flex: 0.7,
Expand Down Expand Up @@ -302,14 +302,14 @@ const AllRefundOrders = () => {
minWidth: 130,
flex: 0.7,
cellClassName: (params) => {
return params.getValue(params.id, "status") === "Delivered"
return params.getValue(params.id, "status") === "Booking Completed"
? "greenColor"
: "redColor";
},
},
{
field: "itemsQty",
headerName: "Items Qty",
headerName: "Days",
type: "number",
minWidth: 130,
flex: 0.7,
Expand Down Expand Up @@ -387,14 +387,14 @@ const TrackOrder = () => {
minWidth: 130,
flex: 0.7,
cellClassName: (params) => {
return params.getValue(params.id, "status") === "Delivered"
return params.getValue(params.id, "status") === "Booking Completed"
? "greenColor"
: "redColor";
},
},
{
field: "itemsQty",
headerName: "Items Qty",
headerName: "Days",
type: "number",
minWidth: 130,
flex: 0.7,
Expand Down Expand Up @@ -627,7 +627,7 @@ const Address = () => {
))}
</select>
</div>

<div className="w-full pb-2">
<label className="block pb-2">Choose your City</label>
<select
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/Shop/OrderDetails.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const OrderDetails = () => {
</div>
<br />
<br />
<h4 className="pt-3 text-[20px] font-[600]">Refund Status:</h4>
<h4 className="pt-3 text-[20px] font-[600]">Booking Status:</h4>
{data?.status !== "Processing refund" && data?.status !== "Refund Success" && (
<select
value={status}
Expand All @@ -155,8 +155,8 @@ const OrderDetails = () => {
.slice(
[
"Processing",
"Booking Received",
"Booking Pending Approval",
"Shipping",
"Booking Declined",
"Booking Ready for Check-in",
"Booking Completed",
Expand Down
5 changes: 2 additions & 3 deletions frontend/src/components/UserOrderDetails.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const UserOrderDetails = () => {
/>
</div>
<h2 className="text-[30px] font-[500] font-Poppins text-center">
Give a Review
Give a Review For Agent
</h2>
<br />
<div className="w-full flex">
Expand Down Expand Up @@ -174,7 +174,6 @@ const UserOrderDetails = () => {
<label className="block text-[20px] font-[500]">
Write a comment
<span className="ml-1 font-[400] text-[16px] text-[#00000052]">
(optional)
</span>
</label>
<textarea
Expand All @@ -184,7 +183,7 @@ const UserOrderDetails = () => {
rows="5"
value={comment}
onChange={(e) => setComment(e.target.value)}
placeholder="How was your product? write your expresion about it!"
placeholder="How was your experience with the rental? write your expresion about it!"
className="mt-2 w-[95%] border p-2 outline-none"
></textarea>
</div>
Expand Down

0 comments on commit 5e0c98e

Please sign in to comment.