-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
246 lines (241 loc) · 9.82 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
<!DOCTYPE HTML>
<html lang="pl">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta charset="utf-8"/>
<title>SportHub</title>
<meta name="author" content=""/>
<meta name="description" content=""/>
<meta name="keywords" content=""/>
<link rel="stylesheet" type="text/css" href="style.css"/>
<link rel="stylesheet" type="text/css" href="fontello/css/fontello.css"/>
<link rel="stylesheet" type="text/css" href="fontello2/css/fontello.css"/>
<link rel="Shortcut icon" href="SportHub.png" />
</head>
<body>
<header>
<div class="menuIcon">
<i class="icon-menu" onclick="openNav()"></i>
</div>
<div class="fixedFacebook">
<i class="icon-facebook"></i>
</div>
<div class="fixedTwitter">
<i class="icon-twitter-bird"></i>
</div>
<div class="fixedInstagram">
<i class="icon-instagram-filled"></i>
</div>
<nav>
<ul class="nav">
<li><p class="name">SportHub</p></li>
<li><a href="#" class="active"><i class="icon-home"></i> Strona główna</a></li>
<li><a href="#"><i class=" icon-soccer-ball"></i> Obiekty sportowe</a></li>
<li><a href="#"><i class="icon-globe"></i> Mapa</a></li>
<li><a href="#"><i class="icon-user-o"></i> O nas</a></li>
<li class="registerLi">
<a href="#" id="register">Rejestracja</a>
<div class="registerForm">
<form method="post" action="">
<label for="email">E-mail: </label>
<input type="text" name="email" id="email" size="14" />
<label for="passwordRegister">Hasło: </label>
<input type="password" name="passwordRegister" id="passwordRegister" size="14" />
<input type="submit" value="Zarejestruj" name="submitRegister" />
</form>
</div>
</li>
<li class="loginLi">
<a href="#" id="loging">Logowanie</a>
<div class="loginForm">
<form method="post" action="">
<label for="login">Login: </label>
<input type="text" name="login" id="login" size="14" />
<label for="passwordLogin">Hasło: </label>
<input type="password" name="passwordLogin" id="passwordLogin" size="14" />
<input type="submit" value="Zaloguj" name="submitLogin" />
</form>
</div>
</li>
</ul>
</nav>
<div id="navigation">
<ul>
<li><a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a></li>
<li><p>SportHub</p></li>
<li><a href="#"><i class="icon-home"></i> Strona główna</a></li>
<li><a href="#"><i class=" icon-soccer-ball"></i> Obiekty sportowe</a></li>
<li><a href="#"><i class="icon-globe"></i> Mapa</a></li>
<li><a href="#"><i class="icon-user-o"></i> O nas</a></li>
<li><a href="#">Rejestracja</a></li>
<li><a href="#">Logowanie</a></li>
</ul>
</div>
<div class="headerMain">
<img src="SportHub.png" alt="Logo SportHub"/>
<p>„ Call your friends. Find a place. Go and play. ”</p>
</div>
</header>
<main>
<div class="content">
<hr>
<section>
<div class="thumbnailSection">
<div class="leftArrow">
<a onclick="plusSlides(-1)"><i class="icon-left-open"></i></a>
</div>
<div class="upArrow">
<a onclick="plusSlides(-1)"><i class="icon-up-open"></i></a>
</div>
<div class="mySlides fade">
<div class="thumbnail adin">
<img src="1.jpg" alt=""/>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec at felis nisi. Nunc sodales sem aliquam suscipit molestie. Quisque et est et nisi molestie posuere. </p>
</div>
<div class="thumbnail">
<img src="2.jpg" alt=""/>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec at felis nisi. Nunc sodales sem aliquam suscipit molestie. Quisque et est et nisi molestie posuere. </p>
</div>
<div class="thumbnail">
<img src="3.jpg" alt=""/>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec at felis nisi. Nunc sodales sem aliquam suscipit molestie. Quisque et est et nisi molestie posuere. </p>
</div>
</div>
<div class="mySlides fade">
<div class="thumbnail adin">
<img src="2.jpg" alt=""/>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec at felis nisi. Nunc sodales sem aliquam suscipit molestie. Quisque et est et nisi molestie posuere. </p>
</div>
<div class="thumbnail">
<img src="3.jpg" alt=""/>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec at felis nisi. Nunc sodales sem aliquam suscipit molestie. Quisque et est et nisi molestie posuere. </p>
</div>
<div class="thumbnail">
<img src="4.jpg" alt=""/>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec at felis nisi. Nunc sodales sem aliquam suscipit molestie. Quisque et est et nisi molestie posuere. </p>
</div>
</div>
<div class="mySlides fade">
<div class="thumbnail adin">
<img src="3.jpg" alt=""/>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec at felis nisi. Nunc sodales sem aliquam suscipit molestie. Quisque et est et nisi molestie posuere. </p>
</div>
<div class="thumbnail">
<img src="4.jpg" alt=""/>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec at felis nisi. Nunc sodales sem aliquam suscipit molestie. Quisque et est et nisi molestie posuere. </p>
</div>
<div class="thumbnail">
<img src="1.jpg" alt=""/>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec at felis nisi. Nunc sodales sem aliquam suscipit molestie. Quisque et est et nisi molestie posuere. </p>
</div>
</div>
<div class="mySlides fade">
<div class="thumbnail adin">
<img src="4.jpg" alt=""/>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec at felis nisi. Nunc sodales sem aliquam suscipit molestie. Quisque et est et nisi molestie posuere. </p>
</div>
<div class="thumbnail">
<img src="1.jpg" alt=""/>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec at felis nisi. Nunc sodales sem aliquam suscipit molestie. Quisque et est et nisi molestie posuere. </p>
</div>
<div class="thumbnail">
<img src="2.jpg" alt=""/>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec at felis nisi. Nunc sodales sem aliquam suscipit molestie. Quisque et est et nisi molestie posuere. </p>
</div>
</div>
<div class="mySlides fade">
<div class="thumbnail adin">
<img src="1.jpg" alt=""/>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec at felis nisi. Nunc sodales sem aliquam suscipit molestie. Quisque et est et nisi molestie posuere. </p>
</div>
<div class="thumbnail">
<img src="2.jpg" alt=""/>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec at felis nisi. Nunc sodales sem aliquam suscipit molestie. Quisque et est et nisi molestie posuere. </p>
</div>
<div class="thumbnail">
<img src="3.jpg" alt=""/>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec at felis nisi. Nunc sodales sem aliquam suscipit molestie. Quisque et est et nisi molestie posuere. </p>
</div>
</div>
<div class="rightArrow">
<a onclick="plusSlides(1)"><i class="icon-right-open"></i></a>
</div>
<div class="downArrow">
<a onclick="plusSlides(1)"><i class="icon-down-open"></i></a>
</div>
<div style="clear: both;"></div>
<div id="dots" style="text-align:center">
<span class="dot" onclick="currentSlide(1)"></span>
<span class="dot" onclick="currentSlide(2)"></span>
<span class="dot" onclick="currentSlide(3)"></span>
</div>
</div>
</section>
</div>
</main>
<footer>
<div class="contact">
<b><p>Kontakt</b></br>
email: <i>[email protected]</i></p>
</div>
<div class="rights">
<p>© SportHub 2017</p>
<p>Wszelkie prawa zastrzeżone!</p>
</div>
<div class="socialMedia">
<a href="#">
<div class="icon iconf">
<i class="icon-facebook"></i>
</div>
</a>
<a href="#">
<div class="icon iconi">
<i class="icon-instagram-filled"></i>
</div>
</a>
<a href="#">
<div class="icon icont">
<i class="icon-twitter-bird"></i>
</div>
</a>
<div style="clear:both;"></div>
</div>
<div style="clear:both;"></div>
</footer>
<script>
//var menu = document.getElementsByClassName("menuIcon")[0];
//var nav = document.getElementsByTagName("nav")[0];
function openNav() {
document.getElementById("navigation").style.width = "250px";
}
function closeNav() {
document.getElementById("navigation").style.width = "0";
}
//Slider
var slideIndex = 1;
showSlides(slideIndex);
function plusSlides(n) {
showSlides(slideIndex += n);
}
function currentSlide(n) {
showSlides(slideIndex = n);
}
function showSlides(n) {
var i;
var slides = document.getElementsByClassName("mySlides");
var dots = document.getElementsByClassName("dot");
if (n > slides.length) {slideIndex = 1}
if (n < 1) {slideIndex = slides.length}
for (i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" active", "");
}
slides[slideIndex-1].style.display = "block";
dots[slideIndex-1].className += " active";
}
</script>
</body>
</html>