-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdirections.html
More file actions
71 lines (64 loc) · 2.52 KB
/
directions.html
File metadata and controls
71 lines (64 loc) · 2.52 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Girls in Gear - Directions</title>
<!-- External Libraries -->
<script src="https://api.mapbox.com/mapbox-gl-js/v2.15.0/mapbox-gl.js"></script>
<link href="https://api.mapbox.com/mapbox-gl-js/v2.15.0/mapbox-gl.css" rel="stylesheet" />
<script src="https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v5.0.0/mapbox-gl-geocoder.min.js"></script>
<link
rel="stylesheet"
href="https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v5.0.0/mapbox-gl-geocoder.css"
type="text/css"
/>
<link
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap"
rel="stylesheet"
/>
<!-- Local Stylesheets -->
<link rel="stylesheet" href="styles/main.css" />
<link rel="stylesheet" href="styles/directions.css" />
</head>
<body>
<!-- TOP HEADER SECTION -->
<div class="header">
<h1 class="header-title">Directions to Girls in Gear Program</h1>
<div class="header-controls">
<button class="back-button" onclick="window.close()">← Back to Map</button>
</div>
</div>
<!-- MAIN CONTENT AREA -->
<div class="main-container directions-layout">
<!-- LEFT SIDEBAR - DIRECTIONS PANEL -->
<div class="directions-sidebar">
<div class="destination-info">
<h3>Destination</h3>
<div class="destination-details">
<div class="destination-name" id="destination-name">Loading...</div>
<div class="destination-address" id="destination-address">Loading...</div>
</div>
</div>
<div class="origin-section">
<h3>Starting Point</h3>
<p class="instruction-text">Search for a location or click on the map to set your starting point</p>
<div id="geocoder" class="geocoder-container"></div>
</div>
<div class="directions-panel" id="directions-panel">
<div class="directions-placeholder">
<div class="placeholder-icon">🗺️</div>
<p>Select a starting point to see directions</p>
</div>
</div>
</div>
<!-- RIGHT SIDE - MAP -->
<div class="map-container">
<div id="directions-map"></div>
</div>
</div>
<!-- Local JavaScript -->
<script src="js/config.js"></script>
<script src="js/directions-controller.js"></script>
</body>
</html>