-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
98 lines (82 loc) · 3.73 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>weatherio</title>
<meta name="title" content="weatherio" />
<meta name="description" content="weatherio is a weather app made by codewithsadee" />
<link rel="shortcut icon" href="./favicon.svg" type="image/svg+xml" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="./assets/css/style.css" />
<script src="./assets/js/app.js" type="module"></script>
<script src="./assets/js/route.js" type="module"></script>
</head>
<body>
<header class="header">
<div class="container">
<a href="#" class="logo">
<img src="./assets/images//logo.png" width="364" height="58" alt="logo" />
</a>
<div class="search-view" data-search-view>
<div class="search-wrapper">
<input type="search" placeholder="Search city..." autocomplete="off" class="search-field" data-search-field />
<span class="m-icon loading-icon">search</span>
<button class="icon-btn has-state loading-icon" aria-label="close search" data-search-toggler="">
<span class="m-icon">arrow_back</span>
</button>
</div>
<div class="search-result" data-search-result></div>
</div>
<div class="header-actions">
<button class="icon-btn has-state" aria-label="open search" data-search-toggler>
<span class="m-icon icon">search</span>
</button>
<a href="#/current-location" class="btn-primary has-state" data-current-location-btn>
<span class="m-icon">My_location</span>
<span class="span">Current Location</span>
</a>
</div>
</div>
</header>
<main>
<article class="container" data-container>
<div class="content-left">
<!-- current weather -->
<section class="section current-weather" aria-label="current weather" data-current-weather>
<div class="card card-lg current-weather-card"></div>
</section>
<!-- forecast -->
<section class="section forecast" aria-labelledby="forecast-label" data-5-day-forecast></section>
</div>
<div class="content-right">
<!-- highlights -->
<section class="section highlights" aria-labelledby="highlights-label" data-highlights></section>
<!-- hourly forecast -->
<section class="section hourly-forecast" aria-label="hourly-forecast" data-hourly-forecast></section>
<!-- footer -->
<footer class="footer">
<p class="body-3">Copyright 2023 Vindiar. All Rights Reserved.</p>
<p class="body-3">
Powered By
<a href="https://openweathermap.org/api" title="Free OpenWeather Api" target="_blank" rel="noopener">
<img src="./assets/images/openweather.png" width="150" height="30" loading="lazy" alt="OpenWather" />
</a>
</p>
</footer>
</div>
<div class="loading" data-loading></div>
</article>
</main>
<!-- 404 section -->
<section class="error-content" data-error-content>
<h2 class="heading">404</h2>
<p class="body-1">Page Not Found!</p>
<a href="" class="btn-primary">
<span class="span">Go Home</span>
</a>
</section>
</body>
</html>