-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
262 lines (232 loc) · 11.2 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- <meta name="viewport" content="width=device-width, initial-scale=1"> -->
<title>Nike shop</title>
<link rel="icon" type="image/x-icon" href="./img/main/favicon.ico" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
<link rel="stylesheet" href="./styles/main.css">
<link rel="stylesheet" href="./styles/auth.css">
</head>
<body>
<div class="header">
<div class="auth-block">
<ul>
<li>
<h5 data-toggle="modal" data-target="#sign-in-modal">Sign in</h5>
</li>
<li>|</li>
<li>
<h5 data-toggle="modal" data-target="#sign-up-modal">Sign up</h5>
</li>
</ul>
</div>
<header>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<h1 class="title"> <a href="index.html">Nike shop </a></h1>
<button class="navbar-toggler" type="button" data-toggle="collapse"
data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse nav-block" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="item">
<h5><a href="templates/categories/category_men.html">Men</a></h5>
</li>
<li class="item">
<h5><a href="templates/categories/category_women.html">Women</a></h5>
</li>
<li class="item">
<h5><a href="templates/categories/category_kids.html">Kids</a></h5>
</li>
<li class="item">
<h5><a href="templates/categories/category_unisex.html">Unisex</a></h5>
</li>
<li class="item">
<h5><a href="templates/categories/category_collections.html">Collections</a></h5>
</li>
</ul>
</div>
<div class="cart">
<a href="./templates/favorites.html">
<img alt="cart" src="./img/main/favorites.png" height="30" width="30">
</a>
<a href="./templates/cart.html">
<img alt="cart" src="./img/main/cart.png" height="30" width="30">
</a>
</div>
</nav>
</header>
<div class="advert">
<h5>New collection is alreaady on site</h5>
</div>
</div>
</div>
<!-- Sign in popup -->
<div id="sign-in-modal" class="modal fade" role="dialog">
<div class="modal-dialog modal-dialog-centered">
<div class="auth-popup modal-content faded">
<p>Sign In</p>
<form class="auth-form" novalidate>
<input type="email" placeholder="Email" id="signin-mail" required />
<span class="inactive" aria-live="polite" id="error-signin-email">Please enter a valid
emailaddress.</span>
<input type="password" placeholder="Password" id="signin-pass" required />
<span class="inactive" aria-live="polite" id="error-signin-pass">Please enter a valid
password.</span>
<div class="sign-in-options">
<div class="keep-me-log-in">
<input type="checkbox" />
<label>Keep me logged in</label>
</div>
<div class="forget-password">
<a href="#">Forgot password?</a>
</div>
</div>
<button>Sign In</button>
<div class="dont-have-account">
<p>Still don't have account?</p>
<a href="#sign-up-modal" data-toggle="modal" data-dismiss="modal">Sign Up</a>
</div>
</form>
</div>
</div>
</div>
<!-- End of sing in popup -->
<!-- Sign up popup -->
<div id="sign-up-modal" class="modal fade" role="dialog">
<div class="modal-dialog modal-dialog-centered">
<div class="auth-popup modal-content faded">
<p>Sign Up</p>
<form class="auth-form" novalidate>
<input type="email" placeholder="Email" id="mail" required />
<span class="inactive" aria-live="polite" id="error_email">Please enter a valid email
address.</span>
<input type="password" placeholder="Password" id="password" required pattern=".{8,}" />
<span class="inactive" aria-live="polite" id="error_pass">Password does not meet minimal
requirements(8).</span>
<input type="password" placeholder="Confirm password" id="confirm_password" required />
<span class="inactive" aria-live="polite" id="error_confirm_pass">Passwords don't match</span>
<input type="text" placeholder="First name" id="first_name" pattern="[A-Za-z' -]+" required />
<span class="inactive" aria-live="polite" id="error_first_name">Please enter a valid first
name.</span>
<input type="text" placeholder="Last name" id="last_name" pattern="[A-Za-z' -]+" required />
<span class="inactive" aria-live="polite" id="error_last_name">Please enter a valid last
name.</span>
<input type="date" placeholder="Date of birth" id="date" required />
<span class="inactive" aria-live="polite" id="error_date">Please enter a valid date of birth.</span>
<button>Sign Up</button>
<div class="already-have-account">
<p>Already have account?</p>
<a href="#sign-in-modal" data-toggle="modal" data-dismiss="modal">Sign In</a>
</div>
</form>
</div>
</div>
</div>
<!-- End of sing up popup -->
<div id="banner">
<img src="./img/main/banner.jpg">
</div>
<a name="collection"></a>
<h1>New collection: Dunk</h1>
<div class="main-new-colletion">
<div class="arrow unselectable" onclick="moveLeft()">←</div>
<div class="new-collection-item faded">
<img src="./img/main/p1.webp" width="90%">
<div class="new-collection-item-spec">
<div class="new-collection-item-title">
<h5>Nike SB Dunk High Premium</h5>
</div>
<div class="new-collection-item-price">
<h5>$100</h5>
</div>
</div>
</div>
<div class="new-collection-item faded">
<img src="./img/main/p2.webp" width="90%">
<div class="new-collection-item-spec">
<div class="new-collection-item-title">
<h5>Nike Dunk Low SP</h5>
</div>
<div class="new-collection-item-price">
<h5>$100</h5>
</div>
</div>
</div>
<div class="new-collection-item faded">
<img src="./img/main/p3.webp" width="90%">
<div class="new-collection-item-spec">
<div class="new-collection-item-title">
<h5>Nike Dunk Low SP</h5>
</div>
<div class="new-collection-item-price">
<h5>$100</h5>
</div>
</div>
</div>
<div class="new-collection-item faded">
<img src="./img/main/p4.jpg" width="90%">
<div class="new-collection-item-spec">
<div class="new-collection-item-title">
<h5>Nike Dunk Low Disrupt</h5>
</div>
<div class="new-collection-item-price">
<h5>$100</h5>
</div>
</div>
</div>
<div class="new-collection-item faded">
<img src="./img/main/p5.jpg" width="90%">
<div class="new-collection-item-spec">
<div class="new-collection-item-title">
<h5>Nike Dunk Low SP</h5>
</div>
<div class="new-collection-item-price">
<h5>$100</h5>
</div>
</div>
</div>
<div class="arrow unselectable" onclick="moveRight()">→</div>
</div>
<footer>
<div class="footer">
<div class="footer-info">
<h3>Info</h3>
<h5>About us</h5>
<h5>Feedback</h5>
<h5>Help</h5>
</div>
<div class="social-media">
<h3>Our social media</h3>
<div class="social-media-icons">
<a href="https://web.telegram.org/" class="fa fa-telegram"></a>
<a href="https://www.instagram.com/" class="fa fa-instagram"></a>
<a href="https://twitter.com/" class="fa fa-twitter"></a>
<a href="https://www.youtube.com/" class="fa fa-youtube"></a>
<a href="https://www.facebook.com/" class="fa fa-facebook"></a>
</div>
</div>
</div>
<div class="footer-rights">
<hr>
<h5>© Nike Shop, Inc., 2021. All rights reserved.</h5>
</div>
</footer>
<script src="scripts/auth.js"></script>
<script src="scripts/script.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
</body>
</html>