File size: 11,084 Bytes
0e1717f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Directions UI Mock</title>
<style>
  body { margin: 0; padding: 0; background: transparent; font-family: Arial, Helvetica, sans-serif; }
  #render-target {
    width: 1080px; height: 2400px; position: relative; overflow: hidden;
    background: #ffffff;
  }
  /* Status bar */
  .status-bar {
    height: 90px; padding: 24px 32px 0 32px; color: #333; font-size: 34px;
    display: flex; justify-content: space-between; align-items: center;
  }
  .status-icons { display: flex; gap: 18px; align-items: center; color: #777; }
  .dot { width: 14px; height: 14px; background: #777; border-radius: 50%; display: inline-block; }
  /* Search/route header */
  .route-header {
    padding: 16px 28px 12px 28px;
  }
  .row {
    display: flex; align-items: center; gap: 18px; margin-bottom: 18px;
  }
  .circle-btn {
    width: 64px; height: 64px; border-radius: 50%; border: 1px solid #DADCE0;
    display: flex; align-items: center; justify-content: center; background: #fff;
  }
  .input-chip {
    flex: 1;
    background: #fff; border: 1px solid #DADCE0; border-radius: 18px;
    height: 86px; display: flex; align-items: center; padding: 0 28px; font-size: 34px; color: #333;
    box-shadow: 0 1px 0 rgba(0,0,0,0.04);
  }
  .ghost-btn {
    width: 64px; height: 64px; border-radius: 50%; border: 1px solid #DADCE0;
    display: flex; align-items: center; justify-content: center; background: #fff;
  }
  .mode-row {
    display: flex; align-items: center; gap: 26px; margin-top: 8px; padding: 8px 4px;
    font-size: 34px; color: #666;
  }
  .mode-pill {
    display: flex; align-items: center; gap: 14px;
    background: #E7F0FE; color: #1967D2; border-radius: 28px; padding: 20px 28px; border: 1px solid #CFE0FF;
    font-weight: 600;
  }
  .mode-icon { width: 44px; height: 44px; }
  .mode-sep { color: #999; margin: 0 6px; }
  /* Map area */
  .map-wrap { position: relative; }
  .map {
    width: 100%; height: 1350px; background: #E0E0E0; border-top: 1px solid #BDBDBD; border-bottom: 1px solid #BDBDBD;
    display: flex; align-items: center; justify-content: center; color: #757575; font-size: 40px;
  }
  .floating-stack { position: absolute; right: 36px; top: 520px; display: flex; flex-direction: column; gap: 26px; }
  .fab {
    width: 120px; height: 120px; border-radius: 60px; background: #fff; border: 1px solid #DADCE0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12); display: flex; align-items: center; justify-content: center;
  }
  .scale {
    position: absolute; right: 180px; bottom: 320px; color: #444; font-size: 28px;
    display: flex; align-items: center; gap: 18px;
  }
  .scale-line { width: 180px; height: 4px; background: #333; }
  .blue-bubble, .white-bubble {
    position: absolute; padding: 18px 24px; border-radius: 18px; font-size: 34px; font-weight: 600;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  }
  .blue-bubble { background: #1A73E8; color: #fff; right: 260px; top: 860px; }
  .white-bubble { background: #fff; color: #333; left: 120px; top: 1060px; border: 1px solid #E0E0E0; font-weight: 500; }
  .map-pin {
    position: absolute; right: 190px; top: 1150px; width: 50px; height: 50px;
    background: #EA4335; border-radius: 25px 25px 25px 25px; transform: rotate(45deg);
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  }
  .map-pin::after {
    content: ""; position: absolute; left: 10px; top: 10px; width: 30px; height: 30px; background: #fff; border-radius: 50%;
    transform: rotate(-45deg);
  }
  .thumb {
    position: absolute; left: 60px; bottom: 430px;
    width: 250px; height: 160px; background: #E0E0E0; border: 1px solid #BDBDBD; color: #757575;
    display: flex; align-items: center; justify-content: center; border-radius: 12px; box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    font-size: 28px;
  }
  /* Bottom card */
  .bottom-card {
    position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-top-left-radius: 28px; border-top-right-radius: 28px;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
    padding: 32px 40px 48px 40px;
  }
  .handle { width: 140px; height: 12px; background: #E0E0E0; border-radius: 6px; margin: 0 auto 16px auto; }
  .summary { font-size: 44px; margin-top: 12px; }
  .summary .time { color: #1A8738; font-weight: 700; }
  .summary .distance { color: #333; }
  .subtext { font-size: 32px; color: #666; margin-top: 10px; }
  .cta-row { display: flex; gap: 26px; margin-top: 32px; }
  .cta {
    padding: 24px 34px; border-radius: 28px; border: 1px solid #DADCE0; color: #1967D2; font-size: 36px; font-weight: 600;
    display: flex; align-items: center; gap: 16px; background: #fff;
  }
  .cta.primary { background: #1A73E8; color: #fff; border-color: #1A73E8; }
  .cta-icon { width: 36px; height: 36px; }
  /* Safe area spacer emulating gesture bar */
  .gesture-bar {
    position: absolute; left: 50%; transform: translateX(-50%);
    bottom: 22px; width: 420px; height: 14px; background: #A9A9A9; border-radius: 7px;
  }
</style>
</head>
<body>
<div id="render-target">

  <!-- Status bar -->
  <div class="status-bar">
    <div>10:59</div>
    <div class="status-icons">
      <span class="dot"></span><span class="dot"></span><span class="dot"></span><span class="dot"></span><span class="dot"></span>
      <span class="dot"></span>
      <span class="dot"></span>
      <span class="dot"></span>
    </div>
  </div>

  <!-- Route header -->
  <div class="route-header">
    <div class="row">
      <div class="circle-btn">
        <svg width="34" height="34" viewBox="0 0 24 24">
          <path d="M15 18l-6-6 6-6" fill="none" stroke="#5f6368" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
        </svg>
      </div>
      <div class="input-chip">Dawson Creek, British Colum...</div>
      <div class="ghost-btn">
        <svg width="34" height="34" viewBox="0 0 24 24">
          <circle cx="12" cy="5" r="2" fill="#5f6368"></circle>
          <circle cx="12" cy="12" r="2" fill="#5f6368"></circle>
          <circle cx="12" cy="19" r="2" fill="#5f6368"></circle>
        </svg>
      </div>
    </div>
    <div class="row">
      <div class="circle-btn">
        <svg width="34" height="34" viewBox="0 0 24 24">
          <path d="M12 2C8 2 6 5.2 6 8c0 3.9 5.2 8.3 5.5 8.6.3.3.7.3 1 0C12.8 16.3 18 11.9 18 8c0-2.8-2-6-6-6z" fill="#EA4335"/>
          <circle cx="12" cy="8" r="2.5" fill="#fff"/>
        </svg>
      </div>
      <div class="input-chip">Pouce Coupe Museum</div>
      <div class="ghost-btn">
        <svg width="34" height="34" viewBox="0 0 24 24">
          <path d="M7 7l-3-3M7 17l-3 3M17 7l3-3M17 17l3 3" stroke="#5f6368" stroke-width="2" stroke-linecap="round"/>
          <path d="M8 6h8M8 18h8" stroke="#5f6368" stroke-width="2" stroke-linecap="round"/>
        </svg>
      </div>
    </div>

    <div class="mode-row">
      <div class="mode-pill">
        <svg class="mode-icon" viewBox="0 0 24 24">
          <path d="M3 12h14l-2-4H7l-4 4z" fill="#1967D2"/>
          <circle cx="7" cy="16" r="2" fill="#1967D2"></circle>
          <circle cx="15" cy="16" r="2" fill="#1967D2"></circle>
        </svg>
        <span>12 min</span>
      </div>
      <svg class="mode-icon" viewBox="0 0 24 24">
        <path d="M5 14l2-5h6l2 5" stroke="#666" stroke-width="2" fill="none" stroke-linecap="round"/>
        <circle cx="8" cy="17" r="2" fill="#666"></circle>
        <circle cx="16" cy="17" r="2" fill="#666"></circle>
      </svg>
      <span class="mode-sep"></span>
      <svg class="mode-icon" viewBox="0 0 24 24">
        <rect x="4" y="6" width="16" height="10" rx="2" fill="#666"></rect>
        <circle cx="8" cy="18" r="2" fill="#666"></circle>
        <circle cx="16" cy="18" r="2" fill="#666"></circle>
      </svg>
      <span class="mode-sep"></span>
      <svg class="mode-icon" viewBox="0 0 24 24">
        <path d="M6 18l3-6 2 3 3-2 1 5" stroke="#666" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
        <circle cx="12" cy="5" r="2" fill="#666"></circle>
      </svg>
      <span style="color:#333;">2 hr 24</span>
      <svg class="mode-icon" viewBox="0 0 24 24">
        <path d="M5 13l4-3 3 3 3-2" stroke="#666" stroke-width="2" fill="none" stroke-linecap="round"/>
        <circle cx="8" cy="18" r="2" fill="#666"></circle>
        <circle cx="16" cy="18" r="2" fill="#666"></circle>
      </svg>
      <span style="color:#333;">36 min</span>
    </div>
  </div>

  <!-- Map area -->
  <div class="map-wrap">
    <div class="map">[IMG: Map with route]</div>

    <!-- Floating action buttons -->
    <div class="floating-stack">
      <div class="fab">
        <svg width="48" height="48" viewBox="0 0 24 24">
          <rect x="4" y="4" width="6" height="6" rx="1.5" fill="#5f6368"></rect>
          <rect x="14" y="4" width="6" height="6" rx="1.5" fill="#5f6368"></rect>
          <rect x="4" y="14" width="6" height="6" rx="1.5" fill="#5f6368"></rect>
          <rect x="14" y="14" width="6" height="6" rx="1.5" fill="#5f6368"></rect>
        </svg>
      </div>
      <div class="fab">
        <svg width="48" height="48" viewBox="0 0 24 24">
          <circle cx="12" cy="12" r="6" fill="none" stroke="#5f6368" stroke-width="2"/>
          <circle cx="12" cy="12" r="2" fill="#5f6368"/>
          <path d="M12 2v4M22 12h-4M12 22v-4M2 12h4" stroke="#5f6368" stroke-width="2" stroke-linecap="round"/>
        </svg>
      </div>
    </div>

    <!-- Blue route bubble and white bubble -->
    <div class="blue-bubble">12 min</div>
    <div class="white-bubble">12 min</div>

    <!-- Map pin -->
    <div class="map-pin"></div>

    <!-- Scale indicator -->
    <div class="scale">
      <div class="scale-line"></div>
      <div>
        <div>1 mi</div>
        <div>1 km</div>
      </div>
    </div>

    <!-- Street view thumbnail -->
    <div class="thumb">[IMG: Street View Thumbnail]</div>
  </div>

  <!-- Bottom card -->
  <div class="bottom-card">
    <div class="handle"></div>
    <div class="summary"><span class="time">12 min</span> <span class="distance">(11 km)</span></div>
    <div class="subtext">Fastest route now due to traffic conditions</div>
    <div class="cta-row">
      <div class="cta primary">
        <svg class="cta-icon" viewBox="0 0 24 24">
          <path d="M4 12h16M12 4l8 8-8 8" stroke="#fff" stroke-width="2" fill="none" stroke-linecap="round"/>
        </svg>
        <span>Preview</span>
      </div>
      <div class="cta">
        <svg class="cta-icon" viewBox="0 0 24 24">
          <path d="M6 6h12M6 12h12M6 18h12" stroke="#1967D2" stroke-width="2" fill="none" stroke-linecap="round"/>
        </svg>
        <span>Steps</span>
      </div>
      <div class="cta">
        <svg class="cta-icon" viewBox="0 0 24 24">
          <path d="M12 3l4 6h-8l4-6zM6 9v10h12V9" stroke="#1967D2" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/>
        </svg>
        <span>Pin</span>
      </div>
    </div>
  </div>

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