-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
531 lines (510 loc) · 19.3 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
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
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
<!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" />
<meta name="author" content="S.K., GitHub: @sklykov" />
<meta name="licensed" content="MIT" />
<meta name="year" content="2024" />
<title>Statpagefolio</title>
<!-- Favicon specification from the local file. Generated by (thanks!): https://favicon.io/favicon-generator/ -->
<link rel="icon" href="./favicon_sk.ico" type="image/x-icon" />
<!-- Include Bootstrap library via CDN. IMPORTANT: to include some animations, it's necessary to include also JS scripts. -->
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9"
crossorigin="anonymous"
/>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm"
crossorigin="anonymous"
></script>
<!-- Include own local stylesheet for customizing page additionally to Bootstrap features -->
<link rel="stylesheet" href="./statpagefolio_styles.css" />
<!-- Own script with custom logic-->
<script src="./statpagefolio_script.js"></script>
</head>
<!-- Some hints for remembering Bootstrap classes: -->
<!-- p - padding, m - margin, ms - margin-left, me - margin-right, mt - margin-top, -//- for padding -->
<!-- Some elements: lh = line height -->
<!-- Styling inside the HTML elements by using Bootstrap classes embedded by using CDN request above -->
<body class="bg-dark text-white">
<!-- Navigation bar on top of the page. Adaptivity by squeezing to the button with 3 lines -->
<nav
class="navbar navbar-expand-md"
data-bs-theme="dark"
style="background-color: midnightblue"
>
<div class="container-fluid">
<div class="navbar-header fw-semibold ms-2">
<span id="navbar-header-text"> Static pages portfolio </span>
</div>
<!-- Toggle collapse / expand items button specification -->
<button
class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
data-bs-target="#navbarContent"
aria-controls="navbarContent"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<!-- Navigation bar items, collapsed to triple stripes button automatically -->
<div class="collapse navbar-collapse ms-4 mb-md-0" id="navbarContent">
<ul class="navbar-nav">
<!-- Various navigation links, as the texts on a navigation bar -->
<!-- Note the breakpoints usage: from md and larger: apply mx-3, for smaller: mx-auto -->
<li class="nav-item mx-md-3 mx-sm-auto my-md-auto my-sm-1">
<a
class="nav-link text-white"
href="https://github.com/sklykov/statpagefolio"
>
Code repository
</a>
</li>
<li class="nav-item mx-md-3 mx-sm-auto my-md-auto my-sm-1">
<a
class="nav-link text-white"
href="https://github.com/sklykov/statpagefolio/blob/main/LICENSE"
>
License
</a>
</li>
<!-- Dropdown menu with items (links) -->
<li class="nav-item dropdown mx-md-3 mx-sm-auto my-md-auto my-sm-1">
<a
class="nav-link dropdown-toggle text-white"
role="button"
data-bs-toggle="dropdown"
aria-expanded="false"
>
Implemented Projects
</a>
<ul
class="dropdown-menu p-1"
style="background-color: midnightblue"
>
<!-- Project #1 -->
<li>
<a
class="dropdown-item"
href="./image_proc/image_upload.html"
>
Image processing using Vanilla JS
</a>
</li>
<!-- Project #2 -->
<li>
<a class="dropdown-item" href="./static_quiz/quiz.html">
Serverless Quiz about the U.S. states
</a>
</li>
<!-- Project #3 -->
<li>
<a
class="dropdown-item"
href="https://sklykov.github.io/fluoscenepy/"
>
Page for the 'fluoscenepy' project
</a>
</li>
<!-- Project #4 -->
<li>
<a
class="dropdown-item"
href="https://sklykov.github.io/zernpy/"
>
Page for the 'zernpy' project
</a>
</li>
<!-- Project #... -->
<li>
<a class="dropdown-item" href="#"> Next project ... </a>
</li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<!-- Container for the Page Header and Text Project Explanation -->
<div class="container-fluid-lg text-center">
<!-- Page header -->
<div class="row p-1 mt-md-4 mb-md-3 mt-1 mb-1 mx-2 text-center">
<h2 class="col fw-semibold">
<!-- Specify the sizing if needed only -->
Welcome to my portfolio with the static webpages!
</h2>
</div>
<!-- Some info splitted in two columns only starting from medium sized screens -->
<div
class="d-xxl-none d-none d-md-flex row m-1 mb-md-2 align-items-md-center justify-content-center text-center fw-medium fs-5"
>
<p class="ps-md-4 pe-md-4 col-md-6 lh-sm col-xxl-6">
My projects are listed across this page. They are intended for
training and providing show-cases of my Frontend development skills
and implementing some interesting and, hopefully, useful
functionality.
</p>
<p class="ps-md-4 pe-md-4 col-md-6 lh-sm col-xxl-4">
This main page is implemented by using Bootstrap 5 (CDN-delivered) and
some customization through my custom stylesheet and JS script.
</p>
</div>
<p class="container d-flex d-md-none d-xxl-flex fw-medium fs-5" id="project-text">
My projects are listed across this page. They are intended for training
and providing show-cases of my Frontend development skills and
implementing some interesting and, hopefully, useful functionality. This
main page is implemented by using Bootstrap 5 (CDN-delivered) and some
customization through my custom stylesheet and JS script.
</p>
</div>
<!-- Page content container: the simplest way to align the content - to use flex container ("d-flex") for it -->
<div class="d-flex mx-2 flex-column justify-content-center">
<!-- List with projects -->
<h4 class="text-center mt-2 mt-md-4 mb-1 mb-md-2">
List with projects along with the short notes about their peculiarities:
</h4>
<!-- Dev. Note: if row-cols-3 used but 1 column couldn't be filled possibly because of margins and padding -->
<div class="container-fluid text-center m-1 mt-md-2 mb-md-3">
<!-- Row that should change number of columns used -->
<div
class="row row-cols-auto row-cols-md-3 row-cols-lg-4 row-cols-xl-5 row-cols-xxl-6 justify-content-center mx-sm-2 fw-medium"
>
<!-- Project #1 -->
<div
class="col col-lg-5 col-xl-4 col-xxl-3 border border-1 rounded-2 border-light-subtle bg-secondary bg-gradient text-white m-2 p-2"
style="--bs-bg-opacity: 0.3"
>
<p class="mb-lg-3">
<a
class="project-header-link"
href="./image_proc/image_upload.html"
>
Image processing with Vanilla JS</a
>
</p>
<p class="lh-sm fs-6">
Project had been made using only pure stack HTML / CSS / JS for
composing the static webpage. It is the show-case of pure JS
functions for image processing, data reading, saving and
visualizing.
</p>
</div>
<!-- Project #2 -->
<div
class="col col-lg-5 col-xl-4 col-xxl-3 border border-1 rounded-2 border-light-subtle bg-secondary bg-gradient text-white m-2 p-2"
style="--bs-bg-opacity: 0.3"
>
<p class="mb-lg-3 fs-6">
<a class="project-header-link" href="./static_quiz/quiz.html">
Serverless Quiz</a
>
</p>
<p class="lh-sm">
Project had been implemented using again only pure Front-end
stack. It is the show-case of emulating asynchronous requests to
the back-end code and interact with users by processing their
input.
</p>
</div>
<!-- Project #3 -->
<div
class="col col-xl-3 border border-1 rounded-2 border-info-subtle bg-secondary bg-gradient text-white m-2 p-2"
style="--bs-bg-opacity: 0.3"
>
<p class="mb-lg-3">
<a
class="project-header-link"
href="https://sklykov.github.io/fluoscenepy/"
>
Project 'fluoscenepy' Page</a
>
</p>
<p class="lh-sm fs-6">
Bootstrap-powered along with own styles customization single page
for the Python library
<em class="fw-semibold"> fluoscenepy </em> uploaded on PyPi.
</p>
</div>
<!-- Project #4 -->
<div
class="col border border-1 rounded-2 border-info-subtle bg-secondary bg-gradient text-white m-2 p-2"
style="--bs-bg-opacity: 0.3"
>
<p class="mb-lg-3">
<a
class="project-header-link"
href="https://sklykov.github.io/zernpy/"
>
Project 'zernpy' Page</a
>
</p>
<p class="lh-sm fs-6">
Tailwind-powered two pages ("Main" and "About") for the Python
library <em class="fw-semibold"> zernpy </em> uploaded on PyPi.
</p>
</div>
<!-- Project #5 -->
<div
class="col border border-1 rounded-2 border-dark-subtle bg-secondary bg-gradient text-white m-2 p-2"
style="--bs-bg-opacity: 0.3"
>
<p class="mb-lg-3">
<a class="project-header-link" href="#"> Next Project ... </a>
</p>
<p class="lh-sm">More projects will be added soon...</p>
</div>
</div>
</div>
<!-- Projects preview stored in the cards -->
<h4 class="text-center mt-4 m-2">Cards-preview of the projects:</h4>
<!-- Cards with the projects previews. The class flex-wrap dynamically shifts cards in column if its size not fit in a row -->
<div
class="d-lg-flex d-none flex-xl-row flex-column justify-content-evenly flex-wrap m-2 align-items-xl-start align-items-center"
id="cards-container"
>
<!-- Image processing project -->
<div
class="p-3 m-1 bg-dark bg-gradient text-white col-xl-4"
id="image-processing-card"
>
<img
src="./image_proc/Preview_ImageProcessing.png"
class="card-img-top"
alt="Image Processing Page Screenshot"
/>
<div class="card-body">
<h5 class="card-title mt-2 mb-3 text-center">
Image processing using Vanilla JS
</h5>
<p class="card-text mt-2 mb-2 fs-6">
Show-case of the available built-in functions in the pure
(vanilla) JS for serverless image processing
</p>
<button
class="btn btn-primary mt-2"
onclick="window.location.href='./image_proc/image_upload.html';"
>
<a
href="./image_proc/image_upload.html"
class="text-white text-decoration-none"
>
Try it out!
</a>
</button>
</div>
</div>
<!-- Quiz project -->
<div
class="p-3 m-1 bg-dark bg-gradient text-white col-xl-4"
id="quiz-card"
>
<img
src="./static_quiz/preview_quiz_page.png"
class="card-img-top"
alt="Quiz Screenshot"
/>
<div class="card-body">
<h5 class="card-title mt-2 mb-3 text-center">
Serverless Quiz about the U.S. states
</h5>
<p class="card-text mt-2 mb-2">
Show-case of asynchronous programming using vanilla JS and of
styling with pure CSS for various screen sizes (devices)
</p>
<button
class="btn btn-primary mt-2"
onclick="window.location.href='./static_quiz/quiz.html';"
>
<a
href="./static_quiz/quiz.html"
class="text-white text-decoration-none"
>
Play it!
</a>
</button>
</div>
</div>
<!-- Project 'fluoscenepy' -->
<div
class="p-3 m-1 bg-dark bg-gradient text-white col-xl-3"
id="fluoscenepy-card"
>
<img
src="./fluoscenepy_img.png"
class="card-img-top"
alt="'fluoscenepy' Project Image"
/>
<div class="card-body">
<h5 class="card-title mt-2 mb-3 text-center">
Project 'fluoscenepy' Page
</h5>
<p class="card-text mt-2 mb-2 fs-6">
Bootstrap-powered along with own styles customization single page
for the Python library uploaded on PyPi.
</p>
<button class="btn btn-primary mt-2">
<a
href="https://sklykov.github.io/fluoscenepy/"
class="text-white text-decoration-none"
>
Check it out!
</a>
</button>
</div>
</div>
</div>
<!-- Button group for reveal preview of projects -->
<!-- Note that the limitation of item in flexbox in Bootstrap is achieved by setting col-* property -->
<div
class="btn-group col-lg-8 col-md-10 col-sm-12 align-self-center d-sm-flex d-lg-none my-1 p-1 my-md-2 p-md-2 mx-1"
role="group"
aria-label="Basic radio toggle button group"
>
<input
type="radio"
class="btn-check"
name="btnradio"
id="btnradio1"
autocomplete="off"
/>
<label
class="btn btn-outline-primary d-flex align-items-center btn-label"
for="btnradio1"
>
Image Processing Page
</label>
<input
type="radio"
class="btn-check"
name="btnradio"
id="btnradio2"
autocomplete="off"
/>
<label
class="btn btn-outline-success d-flex align-items-center btn-label"
for="btnradio2"
>
U.S. States Quiz
</label>
<input
type="radio"
class="btn-check"
name="btnradio"
id="btnradio3"
autocomplete="off"
/>
<label
class="btn btn-outline-info d-flex align-items-center btn-label"
for="btnradio3"
>
Project 'fluoscenepy'
</label>
</div>
<!-- Individual cards for showing on small screens after clicking on them -->
<!-- Project #1: Image Processing -->
<div
class="d-none p-1 m-1 my-2 bg-dark bg-gradient text-white col-10 align-self-center"
id="image-processing-card-ind"
>
<img
src="./image_proc/Preview_ImageProcessing.png"
class="card-img-top"
alt="Image Processing Page Screenshot"
/>
<div
class="card-body d-flex flex-column align-items-center text-center"
>
<h4 class="card-title my-2" id="image-proc-header">
Image processing using Vanilla JS
</h4>
<p class="card-text my-2 fs-6">
Show-case of the available built-in functions in the pure (vanilla)
JS for serverless image processing
</p>
<button
class="btn btn-primary my-1"
onclick="window.location.href='./image_proc/image_upload.html';"
>
<a
href="./image_proc/image_upload.html"
class="text-white text-decoration-none fs-6"
>
Try it out!
</a>
</button>
</div>
</div>
<!-- Project #2: Static Quiz -->
<div
class="d-none p-1 m-1 my-2 bg-dark bg-gradient text-white col-10 align-self-center"
id="quiz-card-ind"
>
<img
src="./static_quiz/preview_quiz_page.png"
class="card-img-top"
alt="Quiz Page Screenshot"
/>
<div
class="card-body d-flex flex-column align-items-center text-center"
>
<h4 class="card-title my-2" id="image-proc-header">
Serverless Quiz about the U.S. states
</h4>
<p class="card-text my-2 fs-6">
Show-case of asynchronous programming using vanilla JS and of
styling with pure CSS for various screen sizes (devices)
</p>
<button
class="btn btn-primary my-1"
onclick="window.location.href='./static_quiz/quiz.html';"
>
<a
href="./static_quiz/quiz.html"
class="text-white text-decoration-none"
>
Play it!
</a>
</button>
</div>
</div>
<!-- Project #3: Page 'fluoscenepy' -->
<div
class="d-none p-1 m-1 my-2 bg-dark bg-gradient text-white col-7 align-self-center"
id="fluoscenepy-card-ind"
>
<img
src="./fluoscenepy_img.png"
class="card-img-top"
alt="'fluoscenepy' Project Image"
/>
<div
class="card-body d-flex flex-column align-items-center text-center"
>
<h4 class="card-title my-2" id="image-proc-header">
Project 'fluoscenepy' Page
</h4>
<p class="card-text my-2 fs-6">
Bootstrap-powered along with own styles customization single page
for the Python library uploaded on PyPi
</p>
<button class="btn btn-primary mt-2">
<a
href="https://sklykov.github.io/fluoscenepy/"
class="text-white text-decoration-none"
>
Check it out!
</a>
</button>
</div>
</div>
<!-- Placeholder for new elements -->
</div>
</body>
</html>