Mpavan45 commited on
Commit
ca02d73
·
verified ·
1 Parent(s): 376587a

Update pages/1_Hotel_Data.py

Browse files
Files changed (1) hide show
  1. pages/1_Hotel_Data.py +44 -2
pages/1_Hotel_Data.py CHANGED
@@ -64,7 +64,7 @@ st.markdown(
64
  <style>
65
  .stApp {{
66
  background-image: url("{background_image_url}");
67
- background-size: cover;
68
  background-position: repeat;
69
  height: 100vh;
70
  }}
@@ -83,11 +83,53 @@ st.markdown(
83
 
84
  /* Styling the content to ensure text visibility */
85
  .stMarkdown {{
86
- color: black; /* White text to ensure visibility */
87
  font-size: 30px; /* Adjust font size for better readability */
88
  }}
89
  </style>
90
  """,
91
  unsafe_allow_html=True
92
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
 
 
64
  <style>
65
  .stApp {{
66
  background-image: url("{background_image_url}");
67
+ background-size: auto;
68
  background-position: repeat;
69
  height: 100vh;
70
  }}
 
83
 
84
  /* Styling the content to ensure text visibility */
85
  .stMarkdown {{
86
+ color: white; /* White text to ensure visibility */
87
  font-size: 30px; /* Adjust font size for better readability */
88
  }}
89
  </style>
90
  """,
91
  unsafe_allow_html=True
92
  )
93
+ st.markdown(
94
+ """
95
+ <style>
96
+ .custom-button {
97
+ display: inline-block;
98
+ padding: 5px 10px;
99
+ font-size: 14px;
100
+ color: #ffffff;
101
+ background-color: #4CAF50;
102
+ border: none;
103
+ border-radius: 5px;
104
+ text-align: center;
105
+ text-decoration: none;
106
+ transition: background-color 0.3s ease, transform 0.2s ease;
107
+ cursor: pointer;
108
+ }
109
+ .custom-button:hover {
110
+ background-color: #45a049;
111
+ transform: scale(1.05);
112
+ }
113
+ .button-container {
114
+ display: flex;
115
+ justify-content: space-between;
116
+ margin-top: 20px;
117
+ }
118
+ </style>
119
+ """,
120
+ unsafe_allow_html=True,
121
+ )
122
+
123
+
124
+ # Navigation Buttons
125
+ st.markdown(
126
+ """
127
+ <div class="button-container">
128
+ <a href="/0_Problem_Statement" target="_self" class="custom-button">Previous ⏮️</a>
129
+ <a href="/2_Data_Cleaning_and_Processing" target="_self" class="custom-button">Next ⏭️</a>
130
+ </div>
131
+ """,
132
+ unsafe_allow_html=True,
133
+ )
134
+
135