stay_commerce-frontend 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +28 -0
- data/Rakefile +8 -0
- data/app/assets/builds/404error-RVKQJ4S4.digested.jpg +0 -0
- data/app/assets/builds/Facebook-5HJUILVR.digested.svg +3 -0
- data/app/assets/builds/Google-CZ3UPVSC.digested.svg +6 -0
- data/app/assets/builds/application.js +95 -0
- data/app/assets/builds/application.js.map +7 -0
- data/app/assets/builds/beach-KAZW5GM3.digested.jpg +0 -0
- data/app/assets/builds/beach2-3ARC34NS.digested.jpg +0 -0
- data/app/assets/builds/beach3-PSTOH5FV.digested.jpg +0 -0
- data/app/assets/builds/beach4-PWNRPD3S.digested.jpg +0 -0
- data/app/assets/builds/beach5-SBOKKRHF.digested.jpg +0 -0
- data/app/assets/builds/beach6-SXZ5Y5AI.digested.jpg +0 -0
- data/app/assets/builds/beach7-FNBMFVKK.digested.jpg +0 -0
- data/app/assets/builds/beach8-TD7LTRQM.digested.jpg +0 -0
- data/app/assets/builds/bg-image-H7UGUMV2.digested.jpg +0 -0
- data/app/assets/builds/bgimage-DU3PCXKN.digested.jpg +0 -0
- data/app/assets/builds/bundle.css +30914 -0
- data/app/assets/builds/bundle.css.map +7 -0
- data/app/assets/builds/bundle.js +74569 -0
- data/app/assets/builds/bundle.js.map +7 -0
- data/app/assets/builds/hotel1-HGBXPKJK.digested.jpg +0 -0
- data/app/assets/builds/logo_updated-KQWAXLYL.digested.png +0 -0
- data/app/assets/builds/styles.css +6422 -0
- data/app/assets/builds/styles.css.map +7 -0
- data/app/assets/config/manifest.js +2 -0
- data/app/assets/images/favicon.ico +0 -0
- data/app/assets/images/stay_commerce/frontend/beach-666122_1280 (1).jpg +0 -0
- data/app/assets/images/stay_commerce/frontend/beach-666122_1280.jpg +0 -0
- data/app/assets/stylesheets/stay_commerce/frontend/application.css +15 -0
- data/app/controllers/stay_commerce/frontend/application_controller.rb +8 -0
- data/app/controllers/stay_commerce/frontend/welcome_controller.rb +6 -0
- data/app/helpers/stay_commerce/frontend/application_helper.rb +6 -0
- data/app/javascript/Images/404error.jpg +0 -0
- data/app/javascript/Images/Facebook.svg +3 -0
- data/app/javascript/Images/Google.svg +6 -0
- data/app/javascript/Images/beach-2245867_1280.jpg +0 -0
- data/app/javascript/Images/beach.jpg +0 -0
- data/app/javascript/Images/beach2.jpg +0 -0
- data/app/javascript/Images/beach3.jpg +0 -0
- data/app/javascript/Images/beach4.jpg +0 -0
- data/app/javascript/Images/beach5.jpg +0 -0
- data/app/javascript/Images/beach6.jpg +0 -0
- data/app/javascript/Images/beach7.jpg +0 -0
- data/app/javascript/Images/beach8.jpg +0 -0
- data/app/javascript/Images/bg-image.jpg +0 -0
- data/app/javascript/Images/bgimage.jpg +0 -0
- data/app/javascript/Images/blog-1.jpg +0 -0
- data/app/javascript/Images/gallery.png +0 -0
- data/app/javascript/Images/home 5.jpg +0 -0
- data/app/javascript/Images/home1.jpg +0 -0
- data/app/javascript/Images/home2.jpg +0 -0
- data/app/javascript/Images/home3.jpg +0 -0
- data/app/javascript/Images/home6.jpg +0 -0
- data/app/javascript/Images/hotel1.jpg +0 -0
- data/app/javascript/Images/room1.jpg +0 -0
- data/app/javascript/Images/room2.jpg +0 -0
- data/app/javascript/Images/room3.jpg +0 -0
- data/app/javascript/Images/room4.jpg +0 -0
- data/app/javascript/Images/wine-4520213_1280.jpg +0 -0
- data/app/javascript/application.js +1 -0
- data/app/javascript/react/Api/apiConstants.js +47 -0
- data/app/javascript/react/assets/beach-2245867_1280.jpg +0 -0
- data/app/javascript/react/assets/logo.png +0 -0
- data/app/javascript/react/assets/logo_updated.png +0 -0
- data/app/javascript/react/components/AboutUsPage/AboutPage.jsx +41 -0
- data/app/javascript/react/components/AboutusFront/About.jsx +37 -0
- data/app/javascript/react/components/Accommodation/Accommodation.jsx +32 -0
- data/app/javascript/react/components/Accommodation/NormalListing.jsx +50 -0
- data/app/javascript/react/components/Accommodation/SpecialListing.jsx +51 -0
- data/app/javascript/react/components/Accountpage/AccountInfo.jsx +217 -0
- data/app/javascript/react/components/Accountpage/AccountPage.jsx +27 -0
- data/app/javascript/react/components/Accountpage/CommonPage.jsx +24 -0
- data/app/javascript/react/components/AddNewProperty/CommonLayout.jsx +68 -0
- data/app/javascript/react/components/AddNewProperty/Description.jsx +229 -0
- data/app/javascript/react/components/AddNewProperty/Details.jsx +234 -0
- data/app/javascript/react/components/AddNewProperty/Images.jsx +196 -0
- data/app/javascript/react/components/AddNewProperty/Location.jsx +239 -0
- data/app/javascript/react/components/AddNewProperty/Room.jsx +1132 -0
- data/app/javascript/react/components/AvatarDropdown/AvatarDropDown.jsx +142 -0
- data/app/javascript/react/components/BlogDesign/BlogsLatest.jsx +67 -0
- data/app/javascript/react/components/ContactUs/Contact.jsx +89 -0
- data/app/javascript/react/components/FacilitiesSection/Facilities.jsx +66 -0
- data/app/javascript/react/components/FixedNavbar/FixedNav.jsx +88 -0
- data/app/javascript/react/components/ForgetPassword/ForgetPassword.jsx +103 -0
- data/app/javascript/react/components/Gallery/Gallery.jsx +164 -0
- data/app/javascript/react/components/GalleryModalLight/GalleryModalLight.jsx +35 -0
- data/app/javascript/react/components/GallerySlider/GallerySlider.jsx +58 -0
- data/app/javascript/react/components/Headers/PropertyCard.jsx +46 -0
- data/app/javascript/react/components/HeroSectionDesign/BookingForm.jsx +178 -0
- data/app/javascript/react/components/HeroSectionDesign/HeroSection.jsx +29 -0
- data/app/javascript/react/components/HeroSectionDesign/MyPropertiesListing.jsx +104 -0
- data/app/javascript/react/components/HeroSectionDesign/PropertiesPage.jsx +122 -0
- data/app/javascript/react/components/HotelListing/Listing.jsx +48 -0
- data/app/javascript/react/components/Layout/Layout.js +18 -0
- data/app/javascript/react/components/Listing-stay-Detail/AmenitiesFeatures.jsx +58 -0
- data/app/javascript/react/components/Listing-stay-Detail/AmenitiesModal.jsx +250 -0
- data/app/javascript/react/components/Listing-stay-Detail/ApartmentCard.jsx +120 -0
- data/app/javascript/react/components/Listing-stay-Detail/BookingModal.jsx +398 -0
- data/app/javascript/react/components/Listing-stay-Detail/CheckoutForm.jsx +296 -0
- data/app/javascript/react/components/Listing-stay-Detail/ListingStayDetailPage.jsx +512 -0
- data/app/javascript/react/components/Listing-stay-Detail/PropertyDescription.jsx +76 -0
- data/app/javascript/react/components/Listing-stay-Detail/PropertyDetailsCard.jsx +62 -0
- data/app/javascript/react/components/Listing-stay-Detail/Reviews.jsx +132 -0
- data/app/javascript/react/components/Listing-stay-Detail/RoomDescriptionModal.jsx +105 -0
- data/app/javascript/react/components/Listing-stay-Detail/Rules.jsx +23 -0
- data/app/javascript/react/components/ListingImageGallery/ListingImageGallery.jsx +30 -0
- data/app/javascript/react/components/LoginPage/LoginPage.jsx +115 -0
- data/app/javascript/react/components/MobileNav/MobileMenu.jsx +47 -0
- data/app/javascript/react/components/Navbar/Navbar.jsx +25 -0
- data/app/javascript/react/components/Page404/Page404.jsx +30 -0
- data/app/javascript/react/components/PropertyListing/MyProperties.jsx +146 -0
- data/app/javascript/react/components/PropertyListing/StayBooking/BookingDetails.jsx +178 -0
- data/app/javascript/react/components/PropertyListing/StayBooking/MyBooking.jsx +83 -0
- data/app/javascript/react/components/ResetPassword/ResetPassword.jsx +117 -0
- data/app/javascript/react/components/SignupPage/SignupPage.jsx +185 -0
- data/app/javascript/react/components/SmallNavbar/SmallNav.jsx +51 -0
- data/app/javascript/react/components/SocialAuth/SocialAuth.jsx +21 -0
- data/app/javascript/react/components/StayCard/StayCard.jsx +69 -0
- data/app/javascript/react/components/StayCard/StayCard2.jsx +45 -0
- data/app/javascript/react/components/StayCard/StayCard3.jsx +45 -0
- data/app/javascript/react/components/TestimonialSection/Testimonial.jsx +113 -0
- data/app/javascript/react/components/Unauthorized/Unauthorized.jsx +12 -0
- data/app/javascript/react/data/jsons/__countryListing.json +201 -0
- data/app/javascript/react/packs/App.js +26 -0
- data/app/javascript/react/packs/index.jsx +38 -0
- data/app/javascript/react/packs/routes/ParentRoute.jsx +14 -0
- data/app/javascript/react/packs/routes/Route.jsx +163 -0
- data/app/javascript/react/pages/AccommodationList.jsx +21 -0
- data/app/javascript/react/pages/Home.jsx +32 -0
- data/app/javascript/react/redux/slices/AuthSlice/AuthSlice.jsx +100 -0
- data/app/javascript/react/redux/slices/PropertySlice/PropertySlice.jsx +722 -0
- data/app/javascript/react/redux/slices/PropertySlice/Searchslice.jsx +36 -0
- data/app/javascript/react/redux/slices/UserSlice/UserSlice.jsx +215 -0
- data/app/javascript/react/redux/store.js +35 -0
- data/app/javascript/react/shared/Avatar/Avatar.jsx +32 -0
- data/app/javascript/react/shared/Badge/Badge.jsx +33 -0
- data/app/javascript/react/shared/Button/Button.jsx +67 -0
- data/app/javascript/react/shared/Button/ButtonPrimary.jsx +11 -0
- data/app/javascript/react/shared/Button/ButtonSelect.jsx +9 -0
- data/app/javascript/react/shared/Checkbox/Checkbox.jsx +38 -0
- data/app/javascript/react/shared/CurrencySymbol.jsx +6 -0
- data/app/javascript/react/shared/DateField/CustomDatePicker.jsx +69 -0
- data/app/javascript/react/shared/FooterSection/Footer.jsx +75 -0
- data/app/javascript/react/shared/FormField/FormField.jsx +75 -0
- data/app/javascript/react/shared/FormItem/FormItem.jsx +20 -0
- data/app/javascript/react/shared/Input/Input.jsx +27 -0
- data/app/javascript/react/shared/Label/Label.jsx +12 -0
- data/app/javascript/react/shared/Modal.jsx +20 -0
- data/app/javascript/react/shared/NcImage/NcImage.jsx +101 -0
- data/app/javascript/react/shared/NcImage/PlaceIcon.jsx +31 -0
- data/app/javascript/react/shared/NcImage/placecImageIcon.svg +6 -0
- data/app/javascript/react/shared/Select/Select.jsx +20 -0
- data/app/javascript/react/styles/404error.scss +58 -0
- data/app/javascript/react/styles/ApartmentCard.scss +126 -0
- data/app/javascript/react/styles/BookingDetails.scss +457 -0
- data/app/javascript/react/styles/Modal.scss +36 -0
- data/app/javascript/react/styles/PropertiesPage.scss +219 -0
- data/app/javascript/react/styles/RenderSection.scss +480 -0
- data/app/javascript/react/styles/about.scss +97 -0
- data/app/javascript/react/styles/accountinfo.scss +67 -0
- data/app/javascript/react/styles/accountpage.scss +36 -0
- data/app/javascript/react/styles/amenitiesfeatures.scss +223 -0
- data/app/javascript/react/styles/application.scss +87 -0
- data/app/javascript/react/styles/avatar.scss +39 -0
- data/app/javascript/react/styles/avatardropdown.scss +57 -0
- data/app/javascript/react/styles/badge.scss +90 -0
- data/app/javascript/react/styles/blog.scss +100 -0
- data/app/javascript/react/styles/bookingform.scss +124 -0
- data/app/javascript/react/styles/button.scss +44 -0
- data/app/javascript/react/styles/buttonprimary.scss +32 -0
- data/app/javascript/react/styles/checkbox.scss +37 -0
- data/app/javascript/react/styles/commonlayout.scss +83 -0
- data/app/javascript/react/styles/commonpage.scss +51 -0
- data/app/javascript/react/styles/contact.scss +173 -0
- data/app/javascript/react/styles/customdatepicker.scss +120 -0
- data/app/javascript/react/styles/description.scss +21 -0
- data/app/javascript/react/styles/details.scss +88 -0
- data/app/javascript/react/styles/facilities.scss +131 -0
- data/app/javascript/react/styles/fixednavbar.scss +137 -0
- data/app/javascript/react/styles/fonts.scss +22 -0
- data/app/javascript/react/styles/footer.scss +300 -0
- data/app/javascript/react/styles/forgetpassword.scss +68 -0
- data/app/javascript/react/styles/formfield.scss +39 -0
- data/app/javascript/react/styles/formitem.scss +20 -0
- data/app/javascript/react/styles/gallery.scss +142 -0
- data/app/javascript/react/styles/gallerymodallight.scss +137 -0
- data/app/javascript/react/styles/galleryslider.scss +114 -0
- data/app/javascript/react/styles/header.scss +49 -0
- data/app/javascript/react/styles/herosection.scss +61 -0
- data/app/javascript/react/styles/images.scss +112 -0
- data/app/javascript/react/styles/input.scss +58 -0
- data/app/javascript/react/styles/label.scss +11 -0
- data/app/javascript/react/styles/listing.scss +94 -0
- data/app/javascript/react/styles/listingimagegallery.scss +57 -0
- data/app/javascript/react/styles/listingstaydetailpage.scss +887 -0
- data/app/javascript/react/styles/location.scss +66 -0
- data/app/javascript/react/styles/loginpage.scss +150 -0
- data/app/javascript/react/styles/mobilemenu.scss +53 -0
- data/app/javascript/react/styles/mybooking.scss +104 -0
- data/app/javascript/react/styles/myproperty.scss +51 -0
- data/app/javascript/react/styles/ncimage.scss +24 -0
- data/app/javascript/react/styles/normallisting.scss +95 -0
- data/app/javascript/react/styles/property-description.scss +75 -0
- data/app/javascript/react/styles/propertycard.scss +48 -0
- data/app/javascript/react/styles/propertydetailscard.scss +302 -0
- data/app/javascript/react/styles/resetpassword.scss +79 -0
- data/app/javascript/react/styles/reviews.scss +185 -0
- data/app/javascript/react/styles/room.scss +275 -0
- data/app/javascript/react/styles/rooms.scss +0 -0
- data/app/javascript/react/styles/select.scss +44 -0
- data/app/javascript/react/styles/signuppage.scss +132 -0
- data/app/javascript/react/styles/smallnav.scss +94 -0
- data/app/javascript/react/styles/socialauth.scss +62 -0
- data/app/javascript/react/styles/speciallisting.scss +94 -0
- data/app/javascript/react/styles/staycard.scss +77 -0
- data/app/javascript/react/styles/staycard2.scss +115 -0
- data/app/javascript/react/styles/testimonial.scss +216 -0
- data/app/javascript/react/styles/unauthorized.scss +22 -0
- data/app/javascript/react/styles/variables.scss +3 -0
- data/app/javascript/react/styles/wrapper.scss +4 -0
- data/app/javascript/react/utils/formSchema.js +120 -0
- data/app/javascript/react/utils/helpers/APIHelper.jsx +55 -0
- data/app/javascript/react/utils/helpers/ErrorHandler.js +21 -0
- data/app/javascript/react/utils/helpers/InfoHandler.js +15 -0
- data/app/javascript/react/utils/helpers/SuccessHandler.js +12 -0
- data/app/javascript/react/utils/helpers/isInViewPortIntersectionObserver.jsx +39 -0
- data/app/jobs/stay_commerce/frontend/application_job.rb +6 -0
- data/app/mailers/stay_commerce/frontend/application_mailer.rb +8 -0
- data/app/models/stay_commerce/frontend/application_record.rb +7 -0
- data/app/views/layouts/stay_commerce/frontend/application.html.erb +61 -0
- data/app/views/stay_commerce/frontend/welcome/index.html.erb +2 -0
- data/config/initializers/cors.rb +6 -0
- data/config/initializers/devise.rb +359 -0
- data/config/routes.rb +11 -0
- data/lib/stay_commerce/frontend/engine.rb +14 -0
- data/lib/stay_commerce/frontend/version.rb +5 -0
- data/lib/stay_commerce/frontend.rb +8 -0
- data/lib/tasks/stay_commerce/frontend_tasks.rake +4 -0
- metadata +370 -0
@@ -0,0 +1,457 @@
|
|
1
|
+
.booking-container {
|
2
|
+
color: #e2e8f0;
|
3
|
+
font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
|
4
|
+
padding: 20px;
|
5
|
+
margin-top: 100px;
|
6
|
+
}
|
7
|
+
|
8
|
+
.avatar-image-deatils {
|
9
|
+
width: 100%;
|
10
|
+
height: 100%;
|
11
|
+
object-fit: cover;
|
12
|
+
border-radius: 50%;
|
13
|
+
}
|
14
|
+
|
15
|
+
.booking-grid {
|
16
|
+
display: flex;
|
17
|
+
gap: 10px;
|
18
|
+
max-width: 1400px;
|
19
|
+
margin: 0 auto;
|
20
|
+
flex-wrap: wrap;
|
21
|
+
}
|
22
|
+
|
23
|
+
.booking-form-section {
|
24
|
+
flex: 1;
|
25
|
+
background: #ffffff;
|
26
|
+
border-radius: 16px;
|
27
|
+
border: 1px solid #e2e8f0;
|
28
|
+
overflow: hidden;
|
29
|
+
height: auto;
|
30
|
+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
31
|
+
min-width: 300px;
|
32
|
+
}
|
33
|
+
|
34
|
+
.booking-form {
|
35
|
+
padding: 30px;
|
36
|
+
}
|
37
|
+
|
38
|
+
.booking-title {
|
39
|
+
font-size: 18px;
|
40
|
+
font-weight: 600;
|
41
|
+
line-height: 1.4;
|
42
|
+
color: #1e293b;
|
43
|
+
}
|
44
|
+
|
45
|
+
.booking-details {
|
46
|
+
margin-bottom: 5px;
|
47
|
+
}
|
48
|
+
|
49
|
+
.detail-row {
|
50
|
+
display: flex;
|
51
|
+
justify-content: space-between;
|
52
|
+
align-items: center;
|
53
|
+
padding: 12px 0;
|
54
|
+
border-bottom: 1px solid #c7c7c7;
|
55
|
+
}
|
56
|
+
|
57
|
+
.detail-row:last-child {
|
58
|
+
border-bottom: none;
|
59
|
+
}
|
60
|
+
|
61
|
+
.label {
|
62
|
+
font-size: 14px;
|
63
|
+
color: #475569;
|
64
|
+
}
|
65
|
+
|
66
|
+
.value {
|
67
|
+
color: #334155;
|
68
|
+
font-weight: 500;
|
69
|
+
}
|
70
|
+
|
71
|
+
.action-buttons {
|
72
|
+
display: flex;
|
73
|
+
gap: 15px;
|
74
|
+
flex-wrap: wrap;
|
75
|
+
margin-top: 20px;
|
76
|
+
}
|
77
|
+
|
78
|
+
.btn {
|
79
|
+
display: flex;
|
80
|
+
align-items: center;
|
81
|
+
gap: 8px;
|
82
|
+
padding: 12px 20px;
|
83
|
+
border-radius: 8px;
|
84
|
+
font-weight: 500;
|
85
|
+
transition: all 0.2s;
|
86
|
+
border: none;
|
87
|
+
cursor: pointer;
|
88
|
+
font-size: 14px;
|
89
|
+
}
|
90
|
+
|
91
|
+
.btn-primary {
|
92
|
+
background: #081976;
|
93
|
+
color: white;
|
94
|
+
width: fit-content;
|
95
|
+
}
|
96
|
+
|
97
|
+
.icon {
|
98
|
+
width: 16px;
|
99
|
+
height: 16px;
|
100
|
+
}
|
101
|
+
|
102
|
+
.icon {
|
103
|
+
width: 16px;
|
104
|
+
height: 16px;
|
105
|
+
}
|
106
|
+
.message-text {
|
107
|
+
font-size: 14px;
|
108
|
+
line-height: 1.5;
|
109
|
+
color: #cbd5e1;
|
110
|
+
}
|
111
|
+
|
112
|
+
.sidebar {
|
113
|
+
display: flex;
|
114
|
+
justify-content: space-between;
|
115
|
+
gap: 10px;
|
116
|
+
flex-wrap: wrap;
|
117
|
+
margin-bottom: 10px;
|
118
|
+
}
|
119
|
+
|
120
|
+
.contact-card,
|
121
|
+
.property-card {
|
122
|
+
background: #fff;
|
123
|
+
border-radius: 16px;
|
124
|
+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
125
|
+
flex: 1 1 48%;
|
126
|
+
min-width: 300px;
|
127
|
+
overflow: hidden;
|
128
|
+
}
|
129
|
+
|
130
|
+
.profile-header {
|
131
|
+
display: flex;
|
132
|
+
align-items: center;
|
133
|
+
gap: 15px;
|
134
|
+
padding: 25px;
|
135
|
+
background: #f1f5f9; /* light gray instead of gradient */
|
136
|
+
}
|
137
|
+
|
138
|
+
.profile-avatar {
|
139
|
+
width: 60px;
|
140
|
+
height: 60px;
|
141
|
+
border-radius: 50%;
|
142
|
+
background: #e2e8f0; /* soft gray */
|
143
|
+
display: flex;
|
144
|
+
align-items: center;
|
145
|
+
justify-content: center;
|
146
|
+
border: 2px solid #cbd5e1;
|
147
|
+
}
|
148
|
+
|
149
|
+
.avatar-initial {
|
150
|
+
font-size: 24px;
|
151
|
+
font-weight: 700;
|
152
|
+
color: #1e293b; /* dark text */
|
153
|
+
}
|
154
|
+
|
155
|
+
.profile-info {
|
156
|
+
flex: 1;
|
157
|
+
}
|
158
|
+
|
159
|
+
.profile-name {
|
160
|
+
font-size: 20px;
|
161
|
+
font-weight: 600;
|
162
|
+
color: #1e293b; /* dark text */
|
163
|
+
margin: 0 0 4px 0;
|
164
|
+
}
|
165
|
+
|
166
|
+
.profile-nationality {
|
167
|
+
font-size: 14px;
|
168
|
+
color: #475569; /* muted gray */
|
169
|
+
margin: 0;
|
170
|
+
}
|
171
|
+
|
172
|
+
.contact-details {
|
173
|
+
padding: 25px;
|
174
|
+
background: #ffffff; /* remove dark blue background */
|
175
|
+
}
|
176
|
+
|
177
|
+
.contact-field {
|
178
|
+
margin-bottom: 20px;
|
179
|
+
}
|
180
|
+
|
181
|
+
.contact-field:last-child {
|
182
|
+
margin-bottom: 0;
|
183
|
+
}
|
184
|
+
|
185
|
+
.field-label {
|
186
|
+
display: block;
|
187
|
+
font-weight: 600;
|
188
|
+
color: #1e293b; /* dark slate */
|
189
|
+
margin-bottom: 6px;
|
190
|
+
font-size: 14px;
|
191
|
+
}
|
192
|
+
|
193
|
+
.field-value {
|
194
|
+
color: #334155; /* dark muted blue */
|
195
|
+
font-size: 14px;
|
196
|
+
}
|
197
|
+
|
198
|
+
.email-container {
|
199
|
+
display: flex;
|
200
|
+
align-items: center;
|
201
|
+
gap: 10px;
|
202
|
+
}
|
203
|
+
|
204
|
+
.verified-badge {
|
205
|
+
background: rgba(34, 197, 94, 0.1);
|
206
|
+
color: #16a34a; /* deeper green */
|
207
|
+
padding: 2px 8px;
|
208
|
+
border-radius: 12px;
|
209
|
+
font-size: 12px;
|
210
|
+
font-weight: 500;
|
211
|
+
border: 1px solid rgba(34, 197, 94, 0.2);
|
212
|
+
}
|
213
|
+
|
214
|
+
.phone-container {
|
215
|
+
display: flex;
|
216
|
+
align-items: center;
|
217
|
+
gap: 8px;
|
218
|
+
}
|
219
|
+
|
220
|
+
.contact-icon {
|
221
|
+
width: 16px;
|
222
|
+
height: 16px;
|
223
|
+
color: #64748b; /* slate gray */
|
224
|
+
}
|
225
|
+
|
226
|
+
.about-text {
|
227
|
+
color: #475569; /* slate gray */
|
228
|
+
font-size: 14px;
|
229
|
+
line-height: 1.5;
|
230
|
+
margin: 0;
|
231
|
+
|
232
|
+
display: -webkit-box;
|
233
|
+
-webkit-line-clamp: 5;
|
234
|
+
-webkit-box-orient: vertical;
|
235
|
+
overflow: hidden;
|
236
|
+
text-overflow: ellipsis;
|
237
|
+
word-break: break-word;
|
238
|
+
}
|
239
|
+
|
240
|
+
.property-image {
|
241
|
+
position: relative;
|
242
|
+
overflow: hidden;
|
243
|
+
}
|
244
|
+
|
245
|
+
.property-image img {
|
246
|
+
width: 100%;
|
247
|
+
height: 100%;
|
248
|
+
object-fit: cover;
|
249
|
+
}
|
250
|
+
|
251
|
+
.property-badge {
|
252
|
+
position: absolute;
|
253
|
+
top: 15px;
|
254
|
+
right: 15px;
|
255
|
+
background: #f97316;
|
256
|
+
color: white;
|
257
|
+
padding: 6px 12px;
|
258
|
+
border-radius: 20px;
|
259
|
+
font-size: 12px;
|
260
|
+
font-weight: 600;
|
261
|
+
}
|
262
|
+
.property-card {
|
263
|
+
border-radius: 16px;
|
264
|
+
border: 1px solid #e2e8f0; /* light border */
|
265
|
+
overflow: hidden;
|
266
|
+
background: #fff;
|
267
|
+
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* subtle shadow */
|
268
|
+
}
|
269
|
+
|
270
|
+
.property-content {
|
271
|
+
padding: 25px;
|
272
|
+
padding-top: 15px;
|
273
|
+
}
|
274
|
+
|
275
|
+
.property-title {
|
276
|
+
font-size: 24px;
|
277
|
+
font-weight: 600;
|
278
|
+
margin-bottom: 15px;
|
279
|
+
line-height: 1.3;
|
280
|
+
color: #1e293b; /* dark slate */
|
281
|
+
}
|
282
|
+
|
283
|
+
.property-features {
|
284
|
+
margin-bottom: 20px;
|
285
|
+
display: flex;
|
286
|
+
justify-content: space-between;
|
287
|
+
align-items: center;
|
288
|
+
}
|
289
|
+
|
290
|
+
.feature,
|
291
|
+
.detail-row {
|
292
|
+
display: flex;
|
293
|
+
align-items: center;
|
294
|
+
gap: 8px;
|
295
|
+
font-size: 14px;
|
296
|
+
color: #475569; /* slate gray */
|
297
|
+
}
|
298
|
+
|
299
|
+
.guest-label {
|
300
|
+
display: flex;
|
301
|
+
align-items: center;
|
302
|
+
gap: 6px;
|
303
|
+
font-weight: 500;
|
304
|
+
color: #475569;
|
305
|
+
}
|
306
|
+
|
307
|
+
.value {
|
308
|
+
margin-left: 4px;
|
309
|
+
color: #334155;
|
310
|
+
font-weight: 500;
|
311
|
+
}
|
312
|
+
|
313
|
+
.feature-icon {
|
314
|
+
width: 16px;
|
315
|
+
height: 16px;
|
316
|
+
color: #64748b; /* neutral icon color */
|
317
|
+
}
|
318
|
+
|
319
|
+
.price-section-details {
|
320
|
+
display: flex;
|
321
|
+
justify-content: space-between;
|
322
|
+
align-items: center;
|
323
|
+
font-size: 15px;
|
324
|
+
color: #0f172a;
|
325
|
+
font-weight: 600;
|
326
|
+
margin-top: 20px;
|
327
|
+
}
|
328
|
+
|
329
|
+
.period {
|
330
|
+
color: #64748b;
|
331
|
+
}
|
332
|
+
|
333
|
+
.feature-icon {
|
334
|
+
width: 16px;
|
335
|
+
height: 16px;
|
336
|
+
}
|
337
|
+
|
338
|
+
.property-amenities {
|
339
|
+
display: flex;
|
340
|
+
flex-wrap: wrap;
|
341
|
+
gap: 8px;
|
342
|
+
margin-bottom: 25px;
|
343
|
+
}
|
344
|
+
|
345
|
+
.amenity {
|
346
|
+
background: #0f172a;
|
347
|
+
border: 1px solid #334155;
|
348
|
+
padding: 6px 12px;
|
349
|
+
border-radius: 20px;
|
350
|
+
font-size: 12px;
|
351
|
+
color: #94a3b8;
|
352
|
+
}
|
353
|
+
|
354
|
+
.price-section-details {
|
355
|
+
border-top: 1px solid #c7c7c7;
|
356
|
+
padding-top: 20px;
|
357
|
+
display: flex;
|
358
|
+
align-items: center;
|
359
|
+
justify-content: space-between;
|
360
|
+
}
|
361
|
+
|
362
|
+
.price {
|
363
|
+
text-align: center;
|
364
|
+
}
|
365
|
+
|
366
|
+
.amount {
|
367
|
+
display: block;
|
368
|
+
font-size: 24px;
|
369
|
+
font-weight: 700;
|
370
|
+
color: #081976;
|
371
|
+
margin-bottom: 4px;
|
372
|
+
}
|
373
|
+
|
374
|
+
.period {
|
375
|
+
font-size: 24px;
|
376
|
+
font-weight: 700;
|
377
|
+
}
|
378
|
+
|
379
|
+
/* Responsive Design */
|
380
|
+
@media (max-width: 1024px) {
|
381
|
+
.booking-grid {
|
382
|
+
gap: 20px;
|
383
|
+
}
|
384
|
+
|
385
|
+
.sidebar {
|
386
|
+
order: -1;
|
387
|
+
}
|
388
|
+
}
|
389
|
+
|
390
|
+
@media (max-width: 768px) {
|
391
|
+
.booking-container {
|
392
|
+
padding: 15px;
|
393
|
+
}
|
394
|
+
|
395
|
+
.booking-form {
|
396
|
+
padding: 20px;
|
397
|
+
}
|
398
|
+
|
399
|
+
.contact-card,
|
400
|
+
.property-content {
|
401
|
+
padding: 20px;
|
402
|
+
}
|
403
|
+
|
404
|
+
.action-buttons {
|
405
|
+
flex-direction: column;
|
406
|
+
}
|
407
|
+
|
408
|
+
.btn {
|
409
|
+
justify-content: center;
|
410
|
+
}
|
411
|
+
|
412
|
+
.booking-title {
|
413
|
+
font-size: 16px;
|
414
|
+
}
|
415
|
+
|
416
|
+
.property-image {
|
417
|
+
height: 180px;
|
418
|
+
}
|
419
|
+
}
|
420
|
+
|
421
|
+
@media (max-width: 480px) {
|
422
|
+
.booking-container {
|
423
|
+
padding: 10px;
|
424
|
+
}
|
425
|
+
|
426
|
+
.booking-form {
|
427
|
+
padding: 15px;
|
428
|
+
}
|
429
|
+
|
430
|
+
.contact-card,
|
431
|
+
.property-content {
|
432
|
+
padding: 15px;
|
433
|
+
}
|
434
|
+
|
435
|
+
.detail-row {
|
436
|
+
flex-direction: column;
|
437
|
+
align-items: flex-start;
|
438
|
+
gap: 4px;
|
439
|
+
}
|
440
|
+
|
441
|
+
.property-amenities {
|
442
|
+
justify-content: center;
|
443
|
+
}
|
444
|
+
}
|
445
|
+
|
446
|
+
.guest-badge {
|
447
|
+
background: rgba(100, 116, 139, 0.1); /* soft neutral background */
|
448
|
+
color: #475569; /* slate gray text */
|
449
|
+
padding: 2px 8px;
|
450
|
+
border-radius: 12px;
|
451
|
+
font-size: 12px;
|
452
|
+
font-weight: 500;
|
453
|
+
border: 1px solid rgba(100, 116, 139, 0.2);
|
454
|
+
display: flex;
|
455
|
+
align-items: center;
|
456
|
+
gap: 5px;
|
457
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
.modal-overlay {
|
2
|
+
position: fixed;
|
3
|
+
top: 0;
|
4
|
+
left: 0;
|
5
|
+
width: 100%;
|
6
|
+
height: 100%;
|
7
|
+
background: rgba(0, 0, 0, 0.6);
|
8
|
+
display: flex;
|
9
|
+
justify-content: center;
|
10
|
+
align-items: center;
|
11
|
+
z-index: 999;
|
12
|
+
}
|
13
|
+
|
14
|
+
.modal-container {
|
15
|
+
background: #fff;
|
16
|
+
border-radius: 12px;
|
17
|
+
padding: 30px;
|
18
|
+
position: relative;
|
19
|
+
width: 90%;
|
20
|
+
max-width: 520px;
|
21
|
+
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
|
22
|
+
}
|
23
|
+
|
24
|
+
.modal-close {
|
25
|
+
position: absolute;
|
26
|
+
top: 10px;
|
27
|
+
right: 14px;
|
28
|
+
background: transparent;
|
29
|
+
border: none;
|
30
|
+
font-size: 24px;
|
31
|
+
cursor: pointer;
|
32
|
+
}
|
33
|
+
|
34
|
+
.modal-content {
|
35
|
+
margin-top: 20px;
|
36
|
+
}
|
@@ -0,0 +1,219 @@
|
|
1
|
+
.properties-page {
|
2
|
+
padding: 40px 20px;
|
3
|
+
background: #f8f9fa;
|
4
|
+
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
5
|
+
|
6
|
+
.container {
|
7
|
+
max-width: 1200px;
|
8
|
+
margin: 0 auto;
|
9
|
+
height: 100%;
|
10
|
+
}
|
11
|
+
|
12
|
+
h2 {
|
13
|
+
text-align: start;
|
14
|
+
margin-bottom: 40px;
|
15
|
+
font-size: 2.2rem;
|
16
|
+
color: #333;
|
17
|
+
font-weight: 600;
|
18
|
+
}
|
19
|
+
|
20
|
+
.property-grid {
|
21
|
+
display: grid;
|
22
|
+
grid-template-columns: repeat(auto-fit, minmax(3, 1fr));
|
23
|
+
gap: 24px;
|
24
|
+
}
|
25
|
+
|
26
|
+
.property-card {
|
27
|
+
background: white;
|
28
|
+
border-radius: 16px;
|
29
|
+
overflow: hidden;
|
30
|
+
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
|
31
|
+
transition: all 0.3s ease;
|
32
|
+
border: 1px solid #e8e8e8;
|
33
|
+
display: flex;
|
34
|
+
|
35
|
+
&:hover {
|
36
|
+
transform: translateY(-4px);
|
37
|
+
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
|
38
|
+
|
39
|
+
.property-image {
|
40
|
+
transform: scale(1.05);
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
.card-image-section {
|
45
|
+
position: relative;
|
46
|
+
height: 100%;
|
47
|
+
width: 300px;
|
48
|
+
overflow: hidden;
|
49
|
+
}
|
50
|
+
|
51
|
+
.property-image {
|
52
|
+
max-width: 100%;
|
53
|
+
height: 100%;
|
54
|
+
object-fit: cover;
|
55
|
+
transition: transform 0.3s ease;
|
56
|
+
}
|
57
|
+
|
58
|
+
.discount-badge {
|
59
|
+
position: absolute;
|
60
|
+
top: 12px;
|
61
|
+
left: 12px;
|
62
|
+
background: #081976;
|
63
|
+
color: white;
|
64
|
+
padding: 6px 12px;
|
65
|
+
border-radius: 20px;
|
66
|
+
font-size: 12px;
|
67
|
+
font-weight: 600;
|
68
|
+
z-index: 2;
|
69
|
+
}
|
70
|
+
|
71
|
+
.card-content {
|
72
|
+
padding: 20px;
|
73
|
+
max-width: 700px;
|
74
|
+
}
|
75
|
+
|
76
|
+
.location-duration {
|
77
|
+
display: flex;
|
78
|
+
justify-content: space-between;
|
79
|
+
align-items: center;
|
80
|
+
margin-bottom: 12px;
|
81
|
+
|
82
|
+
.location,
|
83
|
+
.duration {
|
84
|
+
font-size: 14px;
|
85
|
+
color: #666;
|
86
|
+
font-weight: 500;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
.property-title {
|
91
|
+
font-size: 16px;
|
92
|
+
font-weight: 600;
|
93
|
+
color: #333;
|
94
|
+
margin: 0 0 12px 0;
|
95
|
+
line-height: 1.4;
|
96
|
+
display: -webkit-box;
|
97
|
+
-webkit-line-clamp: 2;
|
98
|
+
-webkit-box-orient: vertical;
|
99
|
+
overflow: hidden;
|
100
|
+
}
|
101
|
+
|
102
|
+
.rating-section {
|
103
|
+
margin-bottom: 12px;
|
104
|
+
|
105
|
+
.rating {
|
106
|
+
display: flex;
|
107
|
+
align-items: center;
|
108
|
+
gap: 4px;
|
109
|
+
|
110
|
+
.star {
|
111
|
+
font-size: 14px;
|
112
|
+
}
|
113
|
+
|
114
|
+
.rating-score {
|
115
|
+
font-size: 14px;
|
116
|
+
font-weight: 600;
|
117
|
+
color: #333;
|
118
|
+
}
|
119
|
+
|
120
|
+
.reviews {
|
121
|
+
font-size: 14px;
|
122
|
+
color: #666;
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
|
127
|
+
.description {
|
128
|
+
font-size: 14px;
|
129
|
+
color: #666;
|
130
|
+
line-height: 1.5;
|
131
|
+
margin: 0 0 16px 0;
|
132
|
+
display: -webkit-box;
|
133
|
+
-webkit-line-clamp: 2;
|
134
|
+
-webkit-box-orient: vertical;
|
135
|
+
overflow: hidden;
|
136
|
+
}
|
137
|
+
|
138
|
+
.card-footer {
|
139
|
+
border-top: 1px solid #f0f0f0;
|
140
|
+
padding-top: 16px;
|
141
|
+
|
142
|
+
.features {
|
143
|
+
display: flex;
|
144
|
+
gap: 12px;
|
145
|
+
margin-bottom: 16px;
|
146
|
+
flex-wrap: wrap;
|
147
|
+
|
148
|
+
.feature-tag {
|
149
|
+
font-size: 12px;
|
150
|
+
color: #081976;
|
151
|
+
background: #f8f9fa;
|
152
|
+
padding: 4px 8px;
|
153
|
+
border-radius: 12px;
|
154
|
+
border: 1px solid #e8e8e8;
|
155
|
+
}
|
156
|
+
}
|
157
|
+
}
|
158
|
+
.custom-border {
|
159
|
+
border-left: 1px solid rgb(240, 240, 240);
|
160
|
+
margin: 20px 0px;
|
161
|
+
padding: 5px;
|
162
|
+
}
|
163
|
+
.price-section {
|
164
|
+
display: flex;
|
165
|
+
flex-direction: column;
|
166
|
+
align-items: center;
|
167
|
+
justify-content: space-around;
|
168
|
+
text-align: end;
|
169
|
+
|
170
|
+
.price-info {
|
171
|
+
display: flex;
|
172
|
+
align-items: center;
|
173
|
+
flex-direction: column;
|
174
|
+
gap: 12px;
|
175
|
+
|
176
|
+
.from-text {
|
177
|
+
font-size: 14px;
|
178
|
+
color: #666;
|
179
|
+
}
|
180
|
+
|
181
|
+
.price {
|
182
|
+
font-size: 20px;
|
183
|
+
font-weight: 700;
|
184
|
+
color: #333;
|
185
|
+
}
|
186
|
+
}
|
187
|
+
}
|
188
|
+
}
|
189
|
+
|
190
|
+
@media (max-width: 768px) {
|
191
|
+
padding: 20px 16px;
|
192
|
+
|
193
|
+
.property-grid {
|
194
|
+
grid-template-columns: 1fr;
|
195
|
+
}
|
196
|
+
|
197
|
+
.property-card {
|
198
|
+
margin: 0 auto;
|
199
|
+
max-width: 400px;
|
200
|
+
}
|
201
|
+
}
|
202
|
+
}
|
203
|
+
|
204
|
+
.view-details-btn {
|
205
|
+
background: transparent;
|
206
|
+
border: 2px solid #081976;
|
207
|
+
color: #081976;
|
208
|
+
padding: 8px 20px;
|
209
|
+
border-radius: 24px;
|
210
|
+
font-size: 14px;
|
211
|
+
font-weight: 600;
|
212
|
+
cursor: pointer;
|
213
|
+
transition: all 0.3s ease;
|
214
|
+
|
215
|
+
&:hover {
|
216
|
+
background: #081976;
|
217
|
+
color: white;
|
218
|
+
}
|
219
|
+
}
|