-
Notifications
You must be signed in to change notification settings - Fork 1
/
article_single.html
309 lines (272 loc) · 16 KB
/
article_single.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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Tilburg AI</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="style/style.css">
<script src="https://kit.fontawesome.com/4e7776d591.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.css" />
</head>
<body>
<!-- Nav Bar -->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#">Tilburg.AI</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item nav-link-margin active">
<a class="nav-link" href="#">Home</a>
</li>
<li class="nav-item nav-link-margin">
<a class="nav-link" href="#">Social Media</a>
</li>
<li class="nav-item nav-link-margin">
<a class="nav-link" href="#">Get Help</a>
</li>
</ul>
<ul class="navbar-nav ml-auto">
<li class="nav-item nav-link-margin">
<a class="nav-link" href="#">
<i class="fa fa-user nav-link-margin"></i> Sign In
</a>
</li>
<li class="nav-item nav-link-margin">
<button class="btn btn-primary contribute-button">Contribute</button>
</li>
</ul>
</div>
</nav>
<!-- End Nav Bar-->
<!-- Tips Cards !-->
<div class="container my-5">
<div class="row">
<div class="col col-lg-4">
<div class="sidebar_one">
<h3 style="font-weight: 500;">This is the title of the post</h3>
<hr class="divider">
<ul class="sidebar_article_menu">
<li>
<h6>This is a sub title</h6>
</li>
<li style="margin-top: 5px;">
<h6>This is a sub title</h6>
<ul class="sub-ul">
<li>Sub-list item 1</li>
<li>Sub-list item 2</li>
</ul>
</li>
<li style="margin-top: 5px;">
<h6>This is a sub title</h6>
<ul class="sub-ul">
<li>Sub-list item 1</li>
<li>Sub-list item 2</li>
</ul>
</li>
</ul>
</div>
<div class="sidebar_two">
<div class="related-articles-container row" style="height: fit-content;margin-left: 5px;">
<h4 style="font-weight: 500;margin-top: 10px;">Related Articles</h4>
<i class="fa-solid fa-link ml-2" style="color:#013365 !important;"></i>
</div>
<ul class="sidebar_related_menu">
<li>This is a sub title
</li>
<li style="margin-top: 5px;">
This is a sub title
</li>
<li style="margin-top: 5px;">
This is a sub title
</li>
</ul>
</div>
</div>
<div class="col col-lg-8 main_article">
<ul class="icon-list">
<li><button class="btn btn-primary contribute-button">Share</button></li>
<li><i class="fa-brands fa-facebook fa-xl"></i></li>
<li><i class="fa-brands fa-instagram fa-xl"></i></li>
<li><i class="fa-brands fa-linkedin fa-xl"></i></li>
<li><i class="fa-brands fa-twitter fa-xl"></i></li>
</ul>
<hr class="divider">
<h1 class="mt-4">This is the title of the post</h1>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dignissim ullamcorper sagittis.
Aliquam dignissim arcu odio, sed tincidunt nunc congue nec. Quisque non orci vitae purus lacinia
ornare. Morbi non urna lacus. Vivamus iaculis suscipit gravida. Suspendisse at commodo nisl.
Curabitur id eleifend quam, vitae mollis orci. Nullam fringilla semper finibus. Integer eu lobortis
eros. Nunc eget scelerisque elit. Praesent ut tellus ante.
Maecenas quis ultricies odio, id pulvinar sem. Curabitur nibh magna, accumsan sed posuere quis,
hendrerit eget velit. Suspendisse potenti. Fusce aliquet lorem arcu, at accumsan augue rutrum in.
Donec finibus finibus ullamcorper. Nullam sed rhoncus mi. Nullam id luctus lacus. Morbi non elit
gravida, cursus nisi a, consequat velit.
</p>
<h4>Subtitle</h4>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dignissim ullamcorper sagittis.
Aliquam dignissim arcu odio, sed tincidunt nunc congue nec. Quisque non orci vitae purus lacinia
ornare. Morbi non urna lacus. Vivamus iaculis suscipit gravida. Suspendisse at commodo nisl.
Curabitur id eleifend quam, vitae mollis orci. Nullam fringilla semper finibus. Integer eu lobortis
eros. Nunc eget scelerisque elit. Praesent ut tellus ante.
Maecenas quis ultricies odio, id pulvinar sem. Curabitur nibh magna, accumsan sed posuere quis,
hendrerit eget velit. Suspendisse potenti. Fusce aliquet lorem arcu, at accumsan augue rutrum in.
Donec finibus finibus ullamcorper. Nullam sed rhoncus mi. Nullam id luctus lacus. Morbi non elit
gravida, cursus nisi a, consequat velit.<br><br>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dignissim ullamcorper sagittis.
Aliquam dignissim arcu odio, sed tincidunt nunc congue nec. Quisque non orci vitae purus lacinia
ornare. Morbi non urna lacus. Vivamus iaculis suscipit gravida. Suspendisse at commodo nisl.
Curabitur id eleifend quam, vitae mollis orci. Nullam fringilla semper finibus. Integer eu lobortis
eros. Nunc eget scelerisque elit. Praesent ut tellus ante.
Maecenas quis ultricies odio, id pulvinar sem. Curabitur nibh magna, accumsan sed posuere quis,
hendrerit eget velit. Suspendisse potenti. Fusce aliquet lorem arcu, at accumsan augue rutrum in.
Donec finibus finibus ullamcorper. Nullam sed rhoncus mi. Nullam id luctus lacus. Morbi non elit
gravida, cursus nisi a, consequat velit.
</p>
<h6>Subtitle</h6>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dignissim ullamcorper sagittis.
Aliquam dignissim arcu odio, sed tincidunt nunc congue nec. Quisque non orci vitae purus lacinia
ornare. Morbi non urna lacus. Vivamus iaculis suscipit gravida. Suspendisse at commodo nisl.
Curabitur id eleifend quam, vitae mollis orci. Nullam fringilla semper finibus. Integer eu lobortis
eros. Nunc eget scelerisque elit. Praesent ut tellus ante.
Maecenas quis ultricies odio, id pulvinar sem. Curabitur nibh magna, accumsan sed posuere quis,
hendrerit eget velit. Suspendisse potenti. Fusce aliquet lorem arcu, at accumsan augue rutrum in.
Donec finibus finibus ullamcorper. Nullam sed rhoncus mi. Nullam id luctus lacus. Morbi non elit
gravida, cursus nisi a, consequat velit.
</p>
<h6>Subtitle</h6>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dignissim ullamcorper sagittis.
Aliquam dignissim arcu odio, sed tincidunt nunc congue nec. Quisque non orci vitae purus lacinia
ornare. Morbi non urna lacus. Vivamus iaculis suscipit gravida. Suspendisse at commodo nisl.
Curabitur id eleifend quam, vitae mollis orci. Nullam fringilla semper finibus. Integer eu lobortis
eros. Nunc eget scelerisque elit. Praesent ut tellus ante.
</p>
<h4>Subtitle</h4>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dignissim ullamcorper sagittis.
Aliquam dignissim arcu odio, sed tincidunt nunc congue nec. Quisque non orci vitae purus lacinia
ornare. Morbi non urna lacus. Vivamus iaculis suscipit gravida. Suspendisse at commodo nisl.
Curabitur id eleifend quam, vitae mollis orci. Nullam fringilla semper finibus. Integer eu lobortis
eros. Nunc eget scelerisque elit. Praesent ut tellus ante.
Maecenas quis ultricies odio, id pulvinar sem. Curabitur nibh magna, accumsan sed posuere quis,
hendrerit eget velit. Suspendisse potenti. Fusce aliquet lorem arcu, at accumsan augue rutrum in.
Donec finibus finibus ullamcorper. Nullam sed rhoncus mi. Nullam id luctus lacus. Morbi non elit
gravida, cursus nisi a, consequat velit.<br><br>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dignissim ullamcorper sagittis.
Aliquam dignissim arcu odio, sed tincidunt nunc congue nec. Quisque non orci vitae purus lacinia
ornare. Morbi non urna lacus. Vivamus iaculis suscipit gravida. Suspendisse at commodo nisl.
Curabitur id eleifend quam, vitae mollis orci. Nullam fringilla semper finibus. Integer eu lobortis
eros. Nunc eget scelerisque elit. Praesent ut tellus ante.
Maecenas quis ultricies odio, id pulvinar sem. Curabitur nibh magna, accumsan sed posuere quis,
hendrerit eget velit. Suspendisse potenti. Fusce aliquet lorem arcu, at accumsan augue rutrum in.
Donec finibus finibus ullamcorper. Nullam sed rhoncus mi. Nullam id luctus lacus. Morbi non elit
gravida, cursus nisi a, consequat velit.
</p>
<h6>Subtitle</h6>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dignissim ullamcorper sagittis.
Aliquam dignissim arcu odio, sed tincidunt nunc congue nec. Quisque non orci vitae purus lacinia
ornare. Morbi non urna lacus. Vivamus iaculis suscipit gravida. Suspendisse at commodo nisl.
Curabitur id eleifend quam, vitae mollis orci. Nullam fringilla semper finibus. Integer eu lobortis
eros. Nunc eget scelerisque elit. Praesent ut tellus ante.
Maecenas quis ultricies odio, id pulvinar sem. Curabitur nibh magna, accumsan sed posuere quis,
hendrerit eget velit. Suspendisse potenti. Fusce aliquet lorem arcu, at accumsan augue rutrum in.
Donec finibus finibus ullamcorper. Nullam sed rhoncus mi. Nullam id luctus lacus. Morbi non elit
gravida, cursus nisi a, consequat velit.
</p>
<h6>Subtitle</h6>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dignissim ullamcorper sagittis.
Aliquam dignissim arcu odio, sed tincidunt nunc congue nec. Quisque non orci vitae purus lacinia
ornare. Morbi non urna lacus. Vivamus iaculis suscipit gravida. Suspendisse at commodo nisl.
Curabitur id eleifend quam, vitae mollis orci. Nullam fringilla semper finibus. Integer eu lobortis
eros. Nunc eget scelerisque elit. Praesent ut tellus ante.
</p>
</div>
</div>
</div>
<!-- End Main Container -->
<!-- Scripts-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.js"></script>
<!-- Script for dropdown in chatbox-->
<script>
// get the icon element
const iconElement = document.querySelector('.position-relative .dropdown i');
// get all dropdown items
const dropdownItems = document.querySelectorAll('.dropdown-menu .dropdown-item');
// loop through dropdown items and add click event listeners
dropdownItems.forEach(item => {
item.addEventListener('click', function () {
// get the icon class from the data-icon attribute
const iconClass = this.dataset.icon;
// set the icon class for the icon element
iconElement.className = iconClass;
});
});
</script>
<!-- Script for Slider -->
<script type="module">
import Swiper from 'https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.esm.browser.min.js'
const swiper = new Swiper('.swiper', {
// Optional parameters
direction: 'horizontal',
loop: true,
// Navigation arrows
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
slidesPerView: 5,
spaceBetween: 20,
breakpoints: {
// when window width is >= 320px
320: {
slidesPerView: 2,
spaceBetween: 20
},
// when window width is >= 480px
480: {
slidesPerView: 3,
spaceBetween: 20
},
// when window width is >= 640px
640: {
slidesPerView: 5,
spaceBetween: 32
}
}
});
</script>
<!-- Script for Infinity Scroll -->
<script>
var windowHeight = window.innerHeight;
var myElement = document.getElementById('my-element');
var nestedDivs = myElement.querySelectorAll('#infinity_scroll_item_row');
nestedDivs[0].style.display = 'flex'
$(window).scroll(function () {
for (var i = 0; i < nestedDivs.length; i++) {
if (nestedDivs[i].style.display === 'flex' && nestedDivs[i].getBoundingClientRect().top < windowHeight) {
var nextDiv = i + 1
nestedDivs[nextDiv].style.display = 'flex'
} else {
console.log('Element is not within the visible portion of the window');
}
}
})
</script>
<!-- End Scripts -->
</body>
</html>