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,480 @@
|
|
1
|
+
// Define standard breakpoints
|
2
|
+
$sm: 640px;
|
3
|
+
$md: 768px;
|
4
|
+
$lg: 1024px;
|
5
|
+
$xl: 1280px;
|
6
|
+
$xxl: 1536px;
|
7
|
+
|
8
|
+
.listingSection {
|
9
|
+
&__wrap {
|
10
|
+
margin-top: 1.5rem 0;
|
11
|
+
box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
|
12
|
+
padding: 1rem;
|
13
|
+
border-radius: 0.5rem;
|
14
|
+
@media (min-width: $md) {
|
15
|
+
padding: 1.5rem;
|
16
|
+
}
|
17
|
+
|
18
|
+
&.space-y-10 {
|
19
|
+
margin-bottom: 1.5rem;
|
20
|
+
|
21
|
+
@media (min-width: $md) {
|
22
|
+
margin-bottom: 2.5rem;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
.listingSectionSidebar {
|
29
|
+
&__wrap {
|
30
|
+
box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
|
31
|
+
border-radius: 0.5rem;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
|
35
|
+
hr {
|
36
|
+
height: 1px;
|
37
|
+
margin: 1.5rem 0;
|
38
|
+
background-color: #e5e7eb;
|
39
|
+
border: 0;
|
40
|
+
|
41
|
+
@media (min-width: $md) {
|
42
|
+
margin: 1rem 0;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
.dark hr {
|
47
|
+
background-color: #374151;
|
48
|
+
}
|
49
|
+
|
50
|
+
.section-container {
|
51
|
+
width: 100%;
|
52
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
|
53
|
+
border-radius: 10px;
|
54
|
+
margin-bottom: 20px;
|
55
|
+
|
56
|
+
@media (min-width: $lg) {
|
57
|
+
flex-direction: row;
|
58
|
+
gap: 2rem;
|
59
|
+
// padding: 3.5rem;
|
60
|
+
}
|
61
|
+
|
62
|
+
&.shared-property {
|
63
|
+
border: 1px solid rgba(209, 213, 219, 0.3);
|
64
|
+
border-radius: 30px;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
|
68
|
+
.room-container {
|
69
|
+
width: 100%;
|
70
|
+
|
71
|
+
@media (max-width: 1023px) {
|
72
|
+
width: 100%;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
.room-image-t {
|
77
|
+
width: 100%;
|
78
|
+
height: 200px;
|
79
|
+
overflow: hidden;
|
80
|
+
margin-bottom: 1rem;
|
81
|
+
width: 100%;
|
82
|
+
border-radius: 10px;
|
83
|
+
display: flex;
|
84
|
+
justify-content: space-between;
|
85
|
+
gap: 5px;
|
86
|
+
|
87
|
+
@media (min-width: $md) {
|
88
|
+
height: 250px;
|
89
|
+
}
|
90
|
+
|
91
|
+
@media (min-width: $lg) {
|
92
|
+
height: 300px;
|
93
|
+
}
|
94
|
+
|
95
|
+
img {
|
96
|
+
height: 100%;
|
97
|
+
width: 100%;
|
98
|
+
object-fit: cover;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
|
102
|
+
.sidebar-container {
|
103
|
+
display: flex;
|
104
|
+
overflow: hidden;
|
105
|
+
padding: 1px;
|
106
|
+
justify-content: end;
|
107
|
+
|
108
|
+
@media (max-width: 1024px) {
|
109
|
+
width: 100%;
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
.section-title {
|
114
|
+
font-size: 1.25rem;
|
115
|
+
font-weight: 600;
|
116
|
+
margin-bottom: 1rem;
|
117
|
+
|
118
|
+
@media (min-width: $sm) {
|
119
|
+
font-size: 1.5rem;
|
120
|
+
margin-bottom: 1.25rem;
|
121
|
+
}
|
122
|
+
|
123
|
+
@media (min-width: $lg) {
|
124
|
+
font-size: 1.875rem;
|
125
|
+
}
|
126
|
+
|
127
|
+
@media (min-width: $xl) {
|
128
|
+
font-size: 1.8rem;
|
129
|
+
}
|
130
|
+
}
|
131
|
+
|
132
|
+
.room-title {
|
133
|
+
font-size: 1.25rem;
|
134
|
+
font-weight: 600;
|
135
|
+
margin-bottom: 0;
|
136
|
+
display: -webkit-box;
|
137
|
+
-webkit-line-clamp: 2;
|
138
|
+
line-clamp: 2;
|
139
|
+
-webkit-box-orient: vertical;
|
140
|
+
overflow: hidden;
|
141
|
+
text-overflow: ellipsis;
|
142
|
+
|
143
|
+
@media (min-width: $sm) {
|
144
|
+
font-size: 1.5rem;
|
145
|
+
// margin-bottom: 1.25rem;
|
146
|
+
}
|
147
|
+
|
148
|
+
@media (min-width: $lg) {
|
149
|
+
font-size: 1.875rem;
|
150
|
+
}
|
151
|
+
|
152
|
+
@media (min-width: $xl) {
|
153
|
+
font-size: 1.8rem;
|
154
|
+
}
|
155
|
+
}
|
156
|
+
|
157
|
+
.room-item-wrapper {
|
158
|
+
display: flex;
|
159
|
+
gap: 1.5rem;
|
160
|
+
align-items: flex-start;
|
161
|
+
flex-wrap: wrap;
|
162
|
+
max-height: 370px;
|
163
|
+
|
164
|
+
@media (min-width: 768px) {
|
165
|
+
flex-wrap: nowrap;
|
166
|
+
}
|
167
|
+
}
|
168
|
+
|
169
|
+
.room-image {
|
170
|
+
flex: 1 1 250px;
|
171
|
+
max-width: 400px;
|
172
|
+
|
173
|
+
img {
|
174
|
+
width: 100%;
|
175
|
+
height: auto;
|
176
|
+
border-radius: 8px;
|
177
|
+
object-fit: cover;
|
178
|
+
}
|
179
|
+
}
|
180
|
+
|
181
|
+
.room-content {
|
182
|
+
flex: 2;
|
183
|
+
display: flex;
|
184
|
+
flex-direction: column;
|
185
|
+
}
|
186
|
+
|
187
|
+
.rooms-parents {
|
188
|
+
display: flex;
|
189
|
+
gap: 6px;
|
190
|
+
justify-content: space-between;
|
191
|
+
min-height: 62px;
|
192
|
+
}
|
193
|
+
|
194
|
+
.room-title {
|
195
|
+
font-size: 1.25rem;
|
196
|
+
font-weight: 600;
|
197
|
+
// margin-bottom: 1rem;
|
198
|
+
}
|
199
|
+
|
200
|
+
.room-features {
|
201
|
+
display: flex;
|
202
|
+
flex-wrap: wrap;
|
203
|
+
font-size: 0.875rem;
|
204
|
+
color: #4b5563;
|
205
|
+
justify-content: space-between;
|
206
|
+
}
|
207
|
+
|
208
|
+
.section-header {
|
209
|
+
display: flex;
|
210
|
+
justify-content: space-between;
|
211
|
+
align-items: center;
|
212
|
+
h2 {
|
213
|
+
margin: 0;
|
214
|
+
font-weight: 600;
|
215
|
+
font-size: 1.25rem;
|
216
|
+
}
|
217
|
+
|
218
|
+
.view-all-item {
|
219
|
+
.btn-primary {
|
220
|
+
font-size: 14px;
|
221
|
+
padding: 6px 12px;
|
222
|
+
}
|
223
|
+
}
|
224
|
+
}
|
225
|
+
|
226
|
+
.underline-divider {
|
227
|
+
width: 2.5rem;
|
228
|
+
border-bottom: 1px solid #e5e7eb;
|
229
|
+
margin-bottom: 1rem;
|
230
|
+
|
231
|
+
@media (min-width: $md) {
|
232
|
+
width: 3.5rem;
|
233
|
+
margin-bottom: 1.5rem;
|
234
|
+
}
|
235
|
+
}
|
236
|
+
|
237
|
+
.dark .underline-divider {
|
238
|
+
border-color: #374151;
|
239
|
+
}
|
240
|
+
.description {
|
241
|
+
line-break: anywhere;
|
242
|
+
color: #6b7280;
|
243
|
+
}
|
244
|
+
|
245
|
+
.amenities-grid {
|
246
|
+
display: grid;
|
247
|
+
grid-template-columns: 1fr;
|
248
|
+
gap: 1rem;
|
249
|
+
font-size: 0.875rem;
|
250
|
+
color: #4b5563;
|
251
|
+
|
252
|
+
@media (min-width: $md) {
|
253
|
+
grid-template-columns: repeat(2, 1fr);
|
254
|
+
gap: 1.25rem;
|
255
|
+
}
|
256
|
+
|
257
|
+
@media (min-width: $xl) {
|
258
|
+
grid-template-columns: repeat(3, 1fr);
|
259
|
+
gap: 1.5rem;
|
260
|
+
}
|
261
|
+
}
|
262
|
+
|
263
|
+
.feature-item {
|
264
|
+
display: flex;
|
265
|
+
align-items: center;
|
266
|
+
min-width: 900px;
|
267
|
+
gap: 5px;
|
268
|
+
overflow: hidden;
|
269
|
+
|
270
|
+
@media (min-width: $md) {
|
271
|
+
min-width: 90px;
|
272
|
+
}
|
273
|
+
}
|
274
|
+
|
275
|
+
.dark .amenities-grid {
|
276
|
+
color: #d1d5db;
|
277
|
+
}
|
278
|
+
|
279
|
+
.amenity-item {
|
280
|
+
display: flex;
|
281
|
+
align-items: center;
|
282
|
+
|
283
|
+
i,
|
284
|
+
svg {
|
285
|
+
font-size: 1.25rem;
|
286
|
+
|
287
|
+
@media (min-width: $md) {
|
288
|
+
font-size: 1.5rem;
|
289
|
+
}
|
290
|
+
}
|
291
|
+
}
|
292
|
+
|
293
|
+
.price-header {
|
294
|
+
font-size: 1.5rem;
|
295
|
+
font-weight: 600;
|
296
|
+
|
297
|
+
@media (min-width: $md) {
|
298
|
+
font-size: 1.875rem;
|
299
|
+
}
|
300
|
+
}
|
301
|
+
|
302
|
+
.price-period {
|
303
|
+
font-size: 0.875rem;
|
304
|
+
font-weight: 400;
|
305
|
+
|
306
|
+
@media (min-width: $md) {
|
307
|
+
font-size: 1rem;
|
308
|
+
}
|
309
|
+
}
|
310
|
+
|
311
|
+
.form-content {
|
312
|
+
display: flex;
|
313
|
+
flex-direction: column;
|
314
|
+
}
|
315
|
+
|
316
|
+
.form-input-large {
|
317
|
+
width: 100%;
|
318
|
+
padding: 0.5rem;
|
319
|
+
font-size: 0.875rem;
|
320
|
+
border: 1px solid #ccc;
|
321
|
+
box-sizing: border-box;
|
322
|
+
border-radius: 20px;
|
323
|
+
background-color: white;
|
324
|
+
|
325
|
+
@media (min-width: $md) {
|
326
|
+
font-size: 1rem;
|
327
|
+
border-radius: 30px;
|
328
|
+
}
|
329
|
+
}
|
330
|
+
|
331
|
+
.form-group {
|
332
|
+
margin-bottom: 0.75rem;
|
333
|
+
|
334
|
+
@media (min-width: $md) {
|
335
|
+
margin-bottom: 1rem;
|
336
|
+
}
|
337
|
+
|
338
|
+
label {
|
339
|
+
display: block;
|
340
|
+
margin-bottom: 0.375rem;
|
341
|
+
|
342
|
+
@media (min-width: $md) {
|
343
|
+
margin-bottom: 0.5rem;
|
344
|
+
}
|
345
|
+
}
|
346
|
+
}
|
347
|
+
|
348
|
+
.divider {
|
349
|
+
border-bottom: 1px solid #e5e7eb;
|
350
|
+
}
|
351
|
+
|
352
|
+
.dark .divider {
|
353
|
+
border-color: #374151;
|
354
|
+
}
|
355
|
+
|
356
|
+
.price-breakdown {
|
357
|
+
display: flex;
|
358
|
+
flex-direction: column;
|
359
|
+
}
|
360
|
+
|
361
|
+
.price-row {
|
362
|
+
display: flex;
|
363
|
+
justify-content: space-between;
|
364
|
+
color: #4b5563;
|
365
|
+
font-size: 0.875rem;
|
366
|
+
|
367
|
+
@media (min-width: $md) {
|
368
|
+
font-size: 1rem;
|
369
|
+
}
|
370
|
+
|
371
|
+
&.total {
|
372
|
+
font-weight: 600;
|
373
|
+
color: #111827;
|
374
|
+
}
|
375
|
+
|
376
|
+
.dark & {
|
377
|
+
color: #d1d5db;
|
378
|
+
|
379
|
+
&.total {
|
380
|
+
color: #f9fafb;
|
381
|
+
}
|
382
|
+
}
|
383
|
+
}
|
384
|
+
|
385
|
+
.info-icon {
|
386
|
+
display: flex;
|
387
|
+
align-items: center;
|
388
|
+
position: relative;
|
389
|
+
|
390
|
+
i {
|
391
|
+
font-size: 1.25rem;
|
392
|
+
|
393
|
+
@media (min-width: $md) {
|
394
|
+
font-size: 1.5rem;
|
395
|
+
}
|
396
|
+
}
|
397
|
+
}
|
398
|
+
|
399
|
+
.price-section {
|
400
|
+
display: flex;
|
401
|
+
flex-direction: column;
|
402
|
+
align-items: center;
|
403
|
+
gap: 10px;
|
404
|
+
|
405
|
+
.price {
|
406
|
+
font-size: 12px;
|
407
|
+
font-weight: bold;
|
408
|
+
|
409
|
+
.per-month {
|
410
|
+
font-size: 10px;
|
411
|
+
font-weight: normal;
|
412
|
+
color: #dbeafe;
|
413
|
+
}
|
414
|
+
}
|
415
|
+
}
|
416
|
+
|
417
|
+
.error-text {
|
418
|
+
color: #ef4444;
|
419
|
+
font-size: 0.75rem;
|
420
|
+
}
|
421
|
+
|
422
|
+
.badge-container {
|
423
|
+
display: flex;
|
424
|
+
justify-content: flex-start;
|
425
|
+
align-items: baseline;
|
426
|
+
margin-bottom: 0.5rem;
|
427
|
+
}
|
428
|
+
|
429
|
+
.room-divider {
|
430
|
+
margin: 1rem 0;
|
431
|
+
border: none;
|
432
|
+
border-top: 1px solid #e5e7eb; // light gray
|
433
|
+
}
|
434
|
+
|
435
|
+
.underline-divider {
|
436
|
+
width: 60px;
|
437
|
+
height: 3px;
|
438
|
+
background-color: #2563eb; // a blue accent
|
439
|
+
margin-top: 0.5rem;
|
440
|
+
margin-bottom: 1.5rem;
|
441
|
+
}
|
442
|
+
|
443
|
+
.amenities-grid {
|
444
|
+
display: grid;
|
445
|
+
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
446
|
+
gap: 1rem;
|
447
|
+
}
|
448
|
+
|
449
|
+
.amenity-item {
|
450
|
+
display: flex;
|
451
|
+
align-items: center;
|
452
|
+
gap: 0.5rem;
|
453
|
+
font-size: 0.875rem;
|
454
|
+
color: #374151;
|
455
|
+
}
|
456
|
+
|
457
|
+
.desc-parents {
|
458
|
+
margin-top: 15px;
|
459
|
+
}
|
460
|
+
|
461
|
+
.price-parents {
|
462
|
+
margin-bottom: 15px;
|
463
|
+
}
|
464
|
+
|
465
|
+
.sub-heading {
|
466
|
+
font-weight: bold;
|
467
|
+
}
|
468
|
+
|
469
|
+
.amenities-style {
|
470
|
+
display: flex;
|
471
|
+
gap: 5px;
|
472
|
+
.amenity-item-style {
|
473
|
+
font-size: 14px;
|
474
|
+
background: #dbdbdb;
|
475
|
+
padding: 5px 15px;
|
476
|
+
display: inline-block;
|
477
|
+
border-radius: 30px;
|
478
|
+
margin: 10px 0;
|
479
|
+
}
|
480
|
+
}
|
@@ -0,0 +1,97 @@
|
|
1
|
+
|
2
|
+
/* About Section */
|
3
|
+
.about-section {
|
4
|
+
display: flex;
|
5
|
+
align-items: center;
|
6
|
+
justify-content: center;
|
7
|
+
padding: 4rem 0;
|
8
|
+
margin: 60px 0;
|
9
|
+
|
10
|
+
}
|
11
|
+
|
12
|
+
.about-container {
|
13
|
+
display: flex;
|
14
|
+
max-width: 1100px;
|
15
|
+
width: 100%;
|
16
|
+
gap: 3rem;
|
17
|
+
align-items: center;
|
18
|
+
}
|
19
|
+
|
20
|
+
/* Left Content */
|
21
|
+
.about-content {
|
22
|
+
flex: 1;
|
23
|
+
}
|
24
|
+
|
25
|
+
.about-content h2 {
|
26
|
+
font-size: 2.5rem;
|
27
|
+
font-weight: bold;
|
28
|
+
line-height: 1.3;
|
29
|
+
margin-bottom: 1rem;
|
30
|
+
}
|
31
|
+
|
32
|
+
.about-content p {
|
33
|
+
color: #666;
|
34
|
+
font-size: 1rem;
|
35
|
+
line-height: 1.6;
|
36
|
+
margin-bottom: 1.5rem;
|
37
|
+
}
|
38
|
+
|
39
|
+
.about-content button {
|
40
|
+
background-color: black;
|
41
|
+
color: white;
|
42
|
+
padding: 10px 20px;
|
43
|
+
border: none;
|
44
|
+
cursor: pointer;
|
45
|
+
font-size: 1rem;
|
46
|
+
transition: background-color 0.3s ease;
|
47
|
+
}
|
48
|
+
|
49
|
+
.about-content button:hover {
|
50
|
+
background-color: #333;
|
51
|
+
}
|
52
|
+
|
53
|
+
/* Right Image */
|
54
|
+
.about-image {
|
55
|
+
flex: 1;
|
56
|
+
}
|
57
|
+
|
58
|
+
.about-image img {
|
59
|
+
width: 100%;
|
60
|
+
height: 450px;
|
61
|
+
object-fit: cover;
|
62
|
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
63
|
+
}
|
64
|
+
|
65
|
+
@media (max-width:990px){
|
66
|
+
.about-image img{
|
67
|
+
width: 100%;
|
68
|
+
height: 340px;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
@media(max-width: 768px) {
|
73
|
+
.about-container {
|
74
|
+
flex-direction: column;
|
75
|
+
}
|
76
|
+
.about-section{
|
77
|
+
margin-top:20px;
|
78
|
+
padding:3px;
|
79
|
+
padding-bottom:65px;
|
80
|
+
}
|
81
|
+
|
82
|
+
.about-image img{
|
83
|
+
width: 100%;
|
84
|
+
height: 450px;
|
85
|
+
object-fit: cover;
|
86
|
+
}
|
87
|
+
|
88
|
+
}
|
89
|
+
|
90
|
+
@media (max-width: 382px) {
|
91
|
+
.about-content h2 {
|
92
|
+
font-size: 30px;
|
93
|
+
font-weight: bold;
|
94
|
+
line-height: 1.3;
|
95
|
+
margin-bottom: 1rem;
|
96
|
+
}
|
97
|
+
}
|
@@ -0,0 +1,67 @@
|
|
1
|
+
.account-info-container {
|
2
|
+
background: #fff;
|
3
|
+
border-radius: 8px;
|
4
|
+
align-items: center;
|
5
|
+
}
|
6
|
+
|
7
|
+
.avatar-section {
|
8
|
+
display: flex;
|
9
|
+
|
10
|
+
align-items: center;
|
11
|
+
margin-bottom: 30px;
|
12
|
+
position: relative;
|
13
|
+
|
14
|
+
.avatar {
|
15
|
+
width: 120px;
|
16
|
+
height: 120px;
|
17
|
+
border-radius: 50%;
|
18
|
+
object-fit: cover;
|
19
|
+
}
|
20
|
+
|
21
|
+
.file-input {
|
22
|
+
width: 100%;
|
23
|
+
height: 100%;
|
24
|
+
opacity: 0;
|
25
|
+
cursor: pointer;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
.account-form {
|
30
|
+
.grid-container {
|
31
|
+
display: grid;
|
32
|
+
grid-template-columns: repeat(2, 1fr);
|
33
|
+
gap: 20px;
|
34
|
+
margin-bottom: 20px;
|
35
|
+
|
36
|
+
@media (max-width: 600px) {
|
37
|
+
grid-template-columns: 1fr;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
.submit-btn {
|
43
|
+
margin-top: 20px;
|
44
|
+
margin-left: auto;
|
45
|
+
}
|
46
|
+
|
47
|
+
// .submit-btn:disabled {
|
48
|
+
// background-color: #ccc;
|
49
|
+
// cursor: not-allowed;
|
50
|
+
// }
|
51
|
+
|
52
|
+
.avatar-wrapper {
|
53
|
+
position: relative;
|
54
|
+
display: inline-block;
|
55
|
+
cursor: pointer;
|
56
|
+
}
|
57
|
+
|
58
|
+
.edit-overlay {
|
59
|
+
position: absolute;
|
60
|
+
bottom: 5px;
|
61
|
+
right: 5px;
|
62
|
+
background: rgba(0, 0, 0, 0.5);
|
63
|
+
color: white;
|
64
|
+
padding: 5px;
|
65
|
+
border-radius: 50%;
|
66
|
+
font-size: 14px;
|
67
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
.account-title {
|
2
|
+
font-size: 1.875rem;
|
3
|
+
font-weight: bold;
|
4
|
+
color: #1f2937;
|
5
|
+
margin-bottom: 0.5rem;
|
6
|
+
|
7
|
+
@media (prefers-color-scheme: dark) {
|
8
|
+
// color: #ffffff;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
.account_deatils {
|
13
|
+
border: 1px solid #cbcaca;
|
14
|
+
border-radius: 10px;
|
15
|
+
padding: 40px;
|
16
|
+
}
|
17
|
+
|
18
|
+
.account-description {
|
19
|
+
font-size: 0.875rem;
|
20
|
+
color: #6b7280;
|
21
|
+
margin-bottom: 1rem;
|
22
|
+
|
23
|
+
@media (prefers-color-scheme: dark) {
|
24
|
+
color: #9ca3af;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
.divider {
|
29
|
+
width: 100%;
|
30
|
+
border-bottom: 1px solid #d1d5db;
|
31
|
+
margin-bottom: 1.5rem;
|
32
|
+
|
33
|
+
@media (prefers-color-scheme: dark) {
|
34
|
+
border-color: #374151;
|
35
|
+
}
|
36
|
+
}
|