-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindividual-post.html
More file actions
270 lines (240 loc) · 7.98 KB
/
individual-post.html
File metadata and controls
270 lines (240 loc) · 7.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
body {
background-color: #f5f5f5;
}
.container {
max-width: 600px;
margin: 0 auto;
background: white;
min-height: 100vh;
position: relative;
padding-bottom: 80px; /* Space for sticky nav */
}
/* Carousel */
.carousel {
position: relative;
width: 100%;
height: 300px;
overflow: hidden;
}
.carousel-image {
width: 100%;
height: 100%;
object-fit: cover;
}
.carousel-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
padding: 20px;
background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
color: white;
}
.back-button {
font-size: 24px;
color: white;
text-decoration: none;
margin-bottom: 20px;
display: block;
}
/* Location Info */
.location-info {
padding: 15px;
display: flexbox;
flex-direction: column;
}
.location-header {
display: flex;
align-items: center;
margin-bottom: 15px;
gap: 10px;
}
.location-name {
background: #FFE4C4;
padding: 8px 15px;
border-radius: 20px;
}
.rating {
color: #FF9500;
}
.location-tag {
background: #FFE4C4;
padding: 4px 12px;
border-radius: 15px;
font-size: 0.9em;
}
/* Updates Section */
.updates-section {
padding: 15px;
border-top: 1px solid #eee;
border-bottom: 1px solid #eee;
}
.weather-update {
display: flex;
justify-content: space-between;
margin-top: 10px;
font-size: 20px;
}
/* Reviews Section */
.reviews-section {
padding: 15px;
}
.review {
padding-bottom: 20px;
border-bottom: 1px solid #eee;
}
.review-images {
display: flex;
gap: 10px;
margin-top: 10px;
}
.review-image {
width: 100px;
height: 100px;
object-fit: cover;
border-radius: 8px;
}
/* Sticky Navigation */
.sticky-nav {
position: fixed;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 100%;
max-width: 600px;
background: white;
padding: 15px;
display: flex;
justify-content: space-around;
border-top: 1px solid #eee;
z-index: 1000;
}
.nav-button {
display: flex;
align-items: center;
gap: 5px;
padding: 8px 20px;
border-radius: 20px;
border: 1px solid #eee;
background: white;
cursor: pointer;
}
/* Suggestions Section */
.suggestions {
padding: 15px;
background-color: #FFF6ED;
}
.suggestion-cards {
display: flex;
gap: 15px;
overflow-x: auto;
padding: 10px 0;
}
.suggestion-card {
max-width: 50%;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.suggestion-image {
width: 100%;
object-fit: cover;
}
.suggestion-info {
padding: 10px;
}
</style>
</head>
<body>
<div class="container">
<!-- Image Carousel -->
<div class="carousel-overlay">
<a href="#" class="back-button">←</a>
</div>
<div class="carousel">
<img src="./src/images/sunset1.JPG" alt="Sunset at MacRitchie Reservoir" class="carousel-image">
</div>
<!-- Location Info -->
<div class="location-info">
<div class="location-header">
<span class="location-name">📍 MacRitchie Reservoir Park</span>
<span class="rating">5.0 ⭐</span>
</div>
<span class="location-tag">Central</span>
<span>@tbh.neha</span>
</div>
<!-- Real-time Updates -->
<div class="updates-section">
<h3 style="font-size: 23px; font-weight: 700;">Real Time Updates</h3>
<div>
<span style="color: #D5682F; font-size: 20px; display: flex; text-align: center; width: 100%;">Sunset in 45 minutes</span>
</div>
<div class="weather-update">
<span style="font-weight: 500;">Weather</span>
<span style="color: #D5682F;">Drizzling 🌧️</span>
</div>
<div class="weather-update">
<span style="font-weight: 500;">Cloud Cover</span>
<span style="color: #D5682F;">20%</span>
</div>
<div class="weather-update">
<span style="font-weight: 500;">Wind Speed</span>
<span style="color: #D5682F;">6 km/h</span>
</div>
</div>
<!-- Reviews Section -->
<div class="reviews-section">
<h3>amazing golden hour views at this nature spot ✨🌅</h3 >
<p>as a sunset girlie, i literally fall in love with the little moments where i’m appreciating the sky painted in front of me 🥺<br><br></p>
<p>there are multiple ways that you can get here because the park has different entrances! but the best place to view the sunset is along the boardwalk that surrounds the water body in the middle.<br><br></p>
<p>to be more specific, you can head to the area called ‘MacRitchie Reservoir View Point’ as seen in pic number 2.<br><br></p>
</div>
<div style="width: 100%; background-color: #FFF6ED; padding: 15px;">
<div style="border-top: 1px solid #000; border-bottom: 1px solid #000; padding: 15px 0;">
<h1>5.0 ⭐ (50)</h1>
<h2>See others' rating 👀</h2>
</div>
<div class="review">
<p>@qwektsunyang</p>
<div class="rating">⭐⭐⭐⭐⭐</div>
<p>direction was useful and the spot is wonderful, highly encourage everyone to go 🌅👍🏻</p>
<div class="review-images">
<img src="./src/images/sunset2.jpg" alt="Review photo" class="review-image">
</div>
</div>
</div>
<!-- Suggestions -->
<div class="suggestions">
<h3>You may also like...</h3>
<div class="suggestion-cards">
<div class="suggestion-card">
<img src="./src/images/lighthouse.jpg" alt="Another location" class="suggestion-image">
<div class="suggestion-info">
<p>📍 MacRitchie Reservoir Park</p>
<p>amazing golden hour views at this nature spot 👀🌅</p>
<p>5.0 ⭐</p>
</div>
</div>
</div>
</div>
<!-- Sticky Navigation -->
<div class="sticky-nav">
<button class="nav-button">🔖 Save</button>
<button class="nav-button">⭐ Rate</button>
<button class="nav-button">📍 Directions</button>
</div>
</div>
</body>
</html>