-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
195 lines (166 loc) · 9.27 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
<!-- Daniel Railean 294241
Used bootstap althought it createst boring looking sites
All photos are from unsplashed and free to use-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!-- import for styles bootstrap scripts and favicon -->
<title>VIAFit</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<link href="css/bootstrap.min.css" type="text/css" rel="stylesheet">
<link rel="stylesheet" href="./css/main.css">
<link href="https://fonts.googleapis.com/css?family=Dosis|Righteous&display=swap" rel="stylesheet">
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<link rel="shortcut icon" href="./images/logo_dark.png" type="image/x-icon">
</head>
<header>
<!-- Navbar class, expand-lg will show only on large screens, otherwise show hamburgher menu -->
<nav class="navbar navbar-expand-lg bg-dark navbar-dark">
<!-- initially tried with dark navbar, but later changed it in styles // navbar should expand when lg - got it by tries -->
<a href="#"> <img src="./images/logo.png" alt="logo" class="logo"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#topNavbar">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="topNavbar">
<ul class="navbar-nav">
<li class="nav-item active"><a href="#" class="nav-link">Home</a></li>
<li class="nav-item"><a href="instructors.html" class="nav-link">Instructors</a></li>
<li class="nav-item"><a href="membership.html" class="nav-link">Membership</a></li>
<li class="nav-item"><a href="classes.html" class="nav-link">Classes</a></li>
<li class="nav-item"><a href="schedule.html" class="nav-link">Schedule</a></li>
<li class="nav-item"><a href="contact.html" class="nav-link">Contact</a></li>
<li class="nav-item"><a href="about.html" class="nav-link">About</a></li>
</ul>
</div>
</nav>
<div class="container-fluid">
<div class="row">
<div class="col-lg-6">
<!-- expand when extra large -->
<!-- I placed all items in diferent containers for styling -->
<div class="carousel-container">
<h2>Our GYM</h2>
<div id="main-carousel" class="carousel slide carousel-fade">
<ul class="carousel-indicators">
<li data-target="#main-carousel" data-slide-to="0" class="active"></li>
<li data-target="#main-carousel" data-slide-to="1"></li>
<li data-target="#main-carousel" data-slide-to="2"></li>
<li data-target="#main-carousel" data-slide-to="3"></li>
<li data-target="#main-carousel" data-slide-to="4"></li>
</ul>
<div class="carousel-inner">
<div class="carousel-item active"><img src="./images/main-carousel/main-carousel-0.jpg"
alt="" class="d-block w-100"></div>
<div class="carousel-item"><img src="./images/main-carousel/main-carousel-1.jpg" alt=""
class="d-block w-100"></div>
<div class="carousel-item"><img src="./images/main-carousel/main-carousel-2.jpg" alt=""
class="d-block w-100"></div>
<div class="carousel-item"><img src="./images/main-carousel/main-carousel-3.jpg" alt=""
class="d-block w-100"></div>
<div class="carousel-item"><img src="./images/main-carousel/main-carousel-4.jpg" alt=""
class="d-block w-100"></div>
</div>
<a href="#main-carousel" class="carousel-control-prev" data-slide="prev"><span
class="carousel-control-prev-icon"></span></a>
<a href="#main-carousel" class="carousel-control-next" data-slide="next"><span
class="carousel-control-next-icon"></span></a>
</div>
</div>
<div class="news">
<h2>Latest news</h2>
<div class="row news-tab">
<div class="col-xl-5">
<h3>We`re closed due to COVID-19</h3>
</div>
<div class="col-xl-7">
<p>Due to the state requirement for i.a. fitness centers in Denmark to temporarily stay
closed due to Covid-19, SMART fitness will be closed until Monday 13 April. The
country must now stand together to break the coronavirus's chain of infection.</p>
</div>
</div>
<div class="row news-tab">
<div class="col-xl-5">
<h3>Bowspring</h3>
</div>
<div class="col-xl-7">
<p>Bowspring is mindful yoga, full body toning, a functional form of work that works
with recognizable everyday movements.</p>
</div>
</div>
<div class="row news-tab">
<!-- expand when extra large -->
<div class="col-xl-5">
<h3>Nice Family training in Autumn holidays</h3>
</div>
<div class="col-xl-7">
<p>During the fall holidays there is plenty of fun training for the whole family in
SMART Fitness. We have created some unique teams for children, adolescents, pregnant
women and babies.</p>
</div>
</div>
</div>
</div>
<!-- expand when large -->
<div class="col-lg-6">
<div class="articles-container">
<h2>Latest articles</h2>
<div class="row articles">
<div class="col-xl-6">
<div class="article-item-container one-article">
<a href="./articles/article-weight.html">
<div class="article-heading">
Why people gain weight as they get older
</div>
</a>
</div>
</div>
<div class="col-xl-6">
<div class="article-item-container two-article">
<a href="./articles/article-exercise.html">
<div class="article-heading">
A replacement for exercise?
</div>
</a>
</div>
</div>
</div>
<div class="row articles">
<!-- expand when extra large -->
<div class="col-xl-6">
<div class="article-item-container three-article">
<a href="./articles/article-dopamine.html">
<div class="article-heading">
Study finds dopamine, biological clock link to snacking,overeating and
obesity
</div>
</a>
</div>
</div>
<!-- expand when extra large -->
<div class="col-xl-6 last">
<div class="article-item-container four-article">
<a href="./articles/article-motivation.html">
<div class="article-heading">
Limiting mealtimes may increase your motivation for exercise
</div>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</header>
<footer class="footer">
<p>© All rights reserved to Group 7</p>
<p> Campus Horsens Chr. M. Østergaardsvej 4 8700 Horsens</p>
<script src="https://kit.fontawesome.com/02f649f51c.js" crossorigin="anonymous"></script>
<p>Check us on Github</p> <a href="https://github.com/SEP-VIA-S20/RWD-ASSIGNMENT1" target="_blank"> <i
class="fab fa-github"></i></a>
</footer>
</html>