File size: 7,773 Bytes
c32f9a6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>All rooms UI</title>
<style>
  body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: #222; }
  #render-target {
    width: 1080px; height: 2400px;
    position: relative; overflow: hidden;
    background: #ffffff;
  }

  /* Top hero area */
  .hero {
    position: absolute; left: 0; top: 0;
    width: 1080px; height: 520px;
    background: #ffd9df;
    border-bottom-left-radius: 140px;
  }
  .hero .circle {
    position: absolute; right: -120px; bottom: -40px;
    width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, #ff6c6c 0%, #ff6c6c 20%, #ff8f8f 55%, rgba(255, 144, 144, 0.6) 75%, rgba(255, 144, 144, 0) 100%);
  }

  /* Header elements */
  .back-btn {
    position: absolute; left: 48px; top: 140px;
    width: 100px; height: 100px; border-radius: 50%;
    background: #fff; box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    display: flex; align-items: center; justify-content: center;
  }
  .back-btn svg { width: 44px; height: 44px; }
  .currency-chip {
    position: absolute; right: 48px; top: 130px;
    background: #fff; border-radius: 28px; padding: 18px 28px;
    display: flex; align-items: center; gap: 16px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    font-weight: 600;
  }
  .currency-icon {
    width: 46px; height: 46px; border-radius: 50%;
    background: #fff; border: 1px solid #DFE3EB;
    display: flex; align-items: center; justify-content: center;
  }
  .header-title {
    position: absolute; left: 168px; top: 168px;
    font-size: 64px; font-weight: 800; color: #222;
  }

  /* Search card */
  .card {
    position: absolute; left: 40px; right: 40px; top: 360px;
    background: #fff; border-radius: 28px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    padding: 28px 32px 36px 32px;
  }
  .tabs {
    display: flex; align-items: center; gap: 48px;
    font-size: 36px; font-weight: 700;
  }
  .tab-active { color: #2e6cf6; }
  .tab-inactive { color: #8b8f98; }
  .tab-underline {
    margin-top: 16px; height: 6px; width: 180px; background: #2e6cf6; border-radius: 3px;
  }
  .new-badge {
    position: absolute; left: 240px; top: -20px;
    background: #e8453c; color: #fff; font-weight: 700; font-size: 26px;
    padding: 8px 14px; border-radius: 10px; box-shadow: 0 6px 14px rgba(0,0,0,0.16);
  }
  .divider { margin-top: 24px; height: 2px; background: #E8EBF2; }

  .pill {
    height: 96px; border-radius: 48px;
    background: #ECF0F9; display: flex; align-items: center;
    padding: 0 28px; font-size: 34px; font-weight: 700; color: #333;
    margin-top: 26px;
    gap: 20px;
  }
  .pill svg { width: 50px; height: 50px; }

  .date-row { display: flex; gap: 28px; }
  .date-pill { flex: 1; }

  .cta-row { display: flex; align-items: center; gap: 28px; margin-top: 32px; }
  .map-circle {
    width: 110px; height: 110px; border-radius: 55px;
    border: 2px solid #2e6cf6; display: flex; align-items: center; justify-content: center;
    color: #2e6cf6;
  }
  .search-btn {
    flex: 1; height: 110px; background: #2e6cf6; color: #fff;
    border-radius: 56px; display: flex; align-items: center; justify-content: center;
    font-size: 40px; font-weight: 800;
    box-shadow: 0 8px 16px rgba(46,108,246,0.35);
  }

  /* Discount section */
  .section {
    position: absolute; left: 40px; right: 40px; top: 1020px;
  }
  .section h2 {
    margin: 0 0 24px 0; font-size: 48px; font-weight: 800; color: #222;
  }

  .coupon-row { display: flex; gap: 24px; }
  .coupon-card {
    flex: 1;
    background: #fff; border-radius: 26px;
    border: 2px solid #D8E1F2;
    box-shadow: 0 6px 10px rgba(0,0,0,0.06);
    padding: 20px; display: flex; gap: 22px; align-items: center;
  }
  .img-ph {
    width: 200px; height: 160px; background: #E0E0E0; border: 1px solid #BDBDBD;
    display: flex; justify-content: center; align-items: center; color: #757575; border-radius: 12px;
    text-align: center; padding: 6px;
  }
  .coupon-content { flex: 1; }
  .coupon-title { font-size: 36px; font-weight: 800; margin-bottom: 6px; }
  .coupon-desc { font-size: 28px; color: #666; }
  .coupon-link { margin-top: 12px; color: #2e6cf6; font-size: 34px; font-weight: 700; }

  /* Bottom gesture bar */
  .gesture-bar {
    position: absolute; bottom: 28px; left: 50%;
    transform: translateX(-50%);
    width: 240px; height: 12px; background: #C9CDD3; border-radius: 6px;
  }
</style>
</head>
<body>
<div id="render-target">
  <div class="hero">
    <div class="circle"></div>
  </div>

  <div class="back-btn">
    <svg viewBox="0 0 24 24" fill="none" stroke="#333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
      <path d="M15 18l-6-6 6-6"/>
    </svg>
  </div>

  <div class="currency-chip">
    <div class="currency-icon">
      <svg viewBox="0 0 24 24" width="26" height="26">
        <circle cx="12" cy="12" r="10" fill="none" stroke="#333" stroke-width="1.6"/>
        <path d="M7 12h10M12 7v10" stroke="#333" stroke-width="1.6" />
      </svg>
    </div>
    <div>INR</div>
  </div>

  <div class="header-title">All rooms</div>

  <div class="card">
    <div class="new-badge">New!</div>
    <div class="tabs">
      <div class="tab-active">Overnight</div>
      <div class="tab-inactive">Day Use</div>
    </div>
    <div class="tab-underline"></div>
    <div class="divider"></div>

    <div class="pill">
      <svg viewBox="0 0 24 24" fill="none" stroke="#333" stroke-width="2">
        <circle cx="11" cy="11" r="8"></circle>
        <path d="M21 21l-4.3-4.3"></path>
      </svg>
      <span>London</span>
    </div>

    <div class="date-row">
      <div class="pill date-pill">
        <svg viewBox="0 0 24 24" fill="none" stroke="#333" stroke-width="2">
          <rect x="3" y="5" width="18" height="16" rx="2"></rect>
          <path d="M16 3v4M8 3v4M3 10h18"></path>
        </svg>
        <span>Mon, Jan 15, 2024</span>
      </div>
      <div class="pill date-pill">
        <svg viewBox="0 0 24 24" fill="none" stroke="#333" stroke-width="2">
          <rect x="3" y="5" width="18" height="16" rx="2"></rect>
          <path d="M16 3v4M8 3v4M3 10h18"></path>
        </svg>
        <span>Tue, Jan 16, 2024</span>
      </div>
    </div>

    <div class="pill">
      <svg viewBox="0 0 24 24" fill="#333">
        <circle cx="12" cy="8" r="4"></circle>
        <path d="M4 20c0-4 4-6 8-6s8 2 8 6" fill="#333"></path>
      </svg>
      <span>1 room 2 adults</span>
    </div>

    <div class="cta-row">
      <div class="map-circle">
        <svg viewBox="0 0 24 24" fill="none" stroke="#2e6cf6" stroke-width="2">
          <path d="M12 21s7-7 7-11a7 7 0 10-14 0c0 4 7 11 7 11z"></path>
          <circle cx="12" cy="10" r="3"></circle>
        </svg>
      </div>
      <div class="search-btn">Search</div>
    </div>
  </div>

  <div class="section">
    <h2>Discount Coupons</h2>
    <div class="coupon-row">
      <div class="coupon-card">
        <div class="img-ph">[IMG: Coupon 5% OFF]</div>
        <div class="coupon-content">
          <div class="coupon-title">UP TO ₹8,000 ...</div>
          <div class="coupon-desc">* No minimum spend required. | Offer expires in 3 days!</div>
          <div class="coupon-link">Get coupon</div>
        </div>
      </div>
      <div class="coupon-card">
        <div class="img-ph">[IMG: Coupon 8% OFF]</div>
        <div class="coupon-content">
          <div class="coupon-title">UP TO 8% ...</div>
          <div class="coupon-desc">Min. spend required | Offer details inside.</div>
          <div class="coupon-link">Get coupon</div>
        </div>
      </div>
    </div>
  </div>

  <div class="gesture-bar"></div>
</div>
</body>
</html>