-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathweather_map.html
More file actions
67 lines (58 loc) · 2.71 KB
/
weather_map.html
File metadata and controls
67 lines (58 loc) · 2.71 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Weather Map</title>
<link rel='stylesheet'
href='https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v4.7.0/mapbox-gl-geocoder.css'
type='text/css'/>
<link rel="stylesheet" href="./css/weather-map.css">
</head>
<body>
<div class="page-wrapper">
<header>
<div class="container-fluid">
<div class="row d-flex align-items-center justify-content-evenly">
<div class="col d-flex align-items-center col-4">
<h1>Weather Map</h1>
</div>
<!-- <div class="col d-flex align-items-center justify-content-center col-4">-->
<!-- <img src="./img/weather-catman.webp" alt="Weather Catman">-->
<!-- </div>-->
<div class="col d-flex align-items-center col-4">
<form class="d-flex" role="search" id="navSearch">
<input id="search" class="form-control me-2" type="search" placeholder="Search"
aria-label="Search">
<button id="submit-search" class="btn btn-outline-success" type="submit">Search</button>
</form>
</div>
</div>
</div>
</header>
<div id="map" class="container container-fluid flex-grow-1 p-0"></div>
<!-- 5 day forecast -->
<div class="container">
<div class="row d-flex">
<div class="col d-flex align-items-center justify-content-center col-4">
<img src="./img/weather-catman.webp" alt="Weather Catman">
</div>
<div class="col">
<div class="component-weather-box">
<div class="component-weather-content">
<div class="weather-content-overview"></div>
<div class="weather-content-temp"></div>
</div>
<div class="component-forecast-box"></div>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
crossorigin="anonymous"></script>
1
<script src="https://api.mapbox.com/mapbox-gl-js/v2.14.1/mapbox-gl.js"></script>
<script src='https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v4.7.0/mapbox-gl-geocoder.min.js'></script>
<script type="module" src="./js/weather_map.js"></script>
</body>
</html>