-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
154 lines (137 loc) · 4.34 KB
/
index.html
File metadata and controls
154 lines (137 loc) · 4.34 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Abohawa</title>
<meta name="title" content="Abohawa" />
<meta
name="description"
content="Abohawa is a weather app made by Anupam"
/>
<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 -->
<header class="header">
<div class="container">
<a href="#" class="logo">
<img src="/logo.png" alt="Abohawa" width="364" height="58" />
</a>
<div class="search-view" data-search-view>
<div class="search-wrapper">
<input
type="search"
name="search"
placeholder="Search City...."
class="search-field"
autocomplete="off"
data-search-field
/>
<span class="m-icon leading-icon">search</span>
<button
class="icon-btn leading-icon has-state"
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
></section>
<!-- forcast -->
<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-labels"
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 parenthesis. All rights Reserved
</p>
<p class="body-3">
Powerded 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=""
/>
</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="#/weather?lat=22.572645&lon=88.363892" class="btn-primary">
<span class="span">Go Home</span>
</a>
</section>
<!-- main 58.56-->
</body>
</html>