-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
438 lines (369 loc) · 15.9 KB
/
Copy pathindex.html
File metadata and controls
438 lines (369 loc) · 15.9 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta property="og:type" content="article">
<meta property="og:title" content="Portfolio">
<meta property="og:description"
content="Yevhenii Petrushenko's portfolio. Angular 8+, JavaScript, TypeScript base SPA and websites.">
<meta property="og:image" content="http://yevhenii.website/img/portfolio_title.jpg">
<meta property="og:url" content="http://yevhenii.website/ ">
<meta property="og:site_name" content="Yevhenii's Portfolio.">
<link rel="stylesheet" href="css/style.css">
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
<title>Portfolio</title>
</head>
<body>
<!-- ========== Web components template start ========== -->
<template id="template-card">
<!-- ----- Web components template styles start ----- -->
<style>
#slot-link, #slot-repository-link{
display: none;
}
.item-card {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-flow: column;
flex-flow: column;
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
width: 310px;
height: 465px;
background-color: rgba(255, 255, 240, 0.7);
margin: 0 25px 25px;
border-radius: 3px;
padding: 0 10px 10px;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.item-card .item {
width: 300px;
height: 200px;
background-color: #a8a8a8;
margin: 10px 0;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
text-align: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
background-position: center;
background-size: cover;
}
.item-card .item:hover {
-webkit-box-shadow: 0 0 10px rgba(134, 134, 134, 0.7);
box-shadow: 0 0 10px rgba(134, 134, 134, 0.7);
cursor: pointer;
transition: 0.2s;
}
.item-card .item:active {
width: 300px;
height: 200px;
background-color: #d6d6d6;
}
.item-card h3 {
width: 100%;
min-height: 55px;
text-align: center;
color: #1c92d2;
}
.item-card h3:hover {
filter: brightness(1.5) drop-shadow(0px 0px 1px blue);
cursor: pointer;
}
.item-card .card-discription {
width: 100%;
height: 170px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-box-pack: start;
-ms-flex-pack: start;
justify-content: flex-start;
overflow-y: auto;
}
.item-card .repository-link {
width: 100%;
display: block;
text-align: center;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
font-weight: 700;
color: #1c92d2;
text-decoration: underline;
cursor: pointer;
}
.item-card .repository-link:hover {
filter: brightness(1.3)
}
.item-card .repository-link:active {
filter: none;
}
@media screen and (max-width: 400px){
.item-card {
margin-left:0;
margin-right:0;
box-sizing: border-box;
}
}
</style>
<!-- ----- Web components template styles end ----- -->
<!-- Card template start -->
<div class="item-card">
<slot name="slot-link" id="slot-link"></slot>
<slot name="slot-image" id="slot-image" class="item"></slot>
<h3 id="slot-name">
<slot name="slot-name"></slot>
</h3>
<slot name="slot-description" class="card-discription"></slot>
<a class="repository-link" id="repository-link">Github Link</a>
<slot name="slot-repository-link" id="slot-repository-link"></slot>
</div>
<!-- Card template end -->
</template>
<!-- ========== Web components template end ========== -->
<!-- ============ Site layout start ============ -->
<div class="container">
<img id="infoIcon" class="info-icon" src="img/info.svg" alt="info-icon">
<!-- ----- Modal start ----- -->
<div class="modal-overlay"></div>
<div class="modal">
<div class="modal-title">
<h1>Links and details</h1>
</div>
<div class="modal-content">
<p>
That portfolio created with web-components.
</p>
<p>Visit my github to see the code of portfolio: <a href="https://github.com/RenJeka/renjeka.github.io">github link</a></p>
</div>
<div class="modal-close">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" fill="none">
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.7071 1.70711C14.0976 1.31658 14.0976 0.683417 13.7071 0.292893C13.3166 -0.0976311 12.6834 -0.0976311 12.2929 0.292893L7 5.58579L1.70711 0.292893C1.31658 -0.0976311 0.683417 -0.0976311 0.292893 0.292893C-0.0976311 0.683417 -0.0976311 1.31658 0.292893 1.70711L5.58579 7L0.292893 12.2929C-0.0976311 12.6834 -0.0976311 13.3166 0.292893 13.7071C0.683417 14.0976 1.31658 14.0976 1.70711 13.7071L7 8.41421L12.2929 13.7071C12.6834 14.0976 13.3166 14.0976 13.7071 13.7071C14.0976 13.3166 14.0976 12.6834 13.7071 12.2929L8.41421 7L13.7071 1.70711Z" fill="#565656" />
</svg>
</div>
</div>
<!-- ----- Modal end ----- -->
<div class=" container-inner">
<div class="top-text">
<!-- <h2>Welcome to my</h2> -->
<h1>Portfolio</h1>
</div>
<div class="container-items">
<h2>My SPAs</h2>
<card-element>
<span slot="slot-link">http://renjeka-rijksmuseum.s3-website-us-east-1.amazonaws.com/</span>
<span slot="slot-image" data-bg="../img/thumbnailSiteImages/Rijksmuseum.jpg"></span>
<span slot="slot-name" >Angular project</span>
<span slot="slot-description">
This is my project on angular. You can observe art object of Rijksmuseum, add them to
favorite list and much more.
</span>
<span slot="slot-repository-link">https://github.com/RenJeka/Rijksmuseum</span>
</card-element>
<div class="separator"></div>
<h2>SPA with technologies</h2>
<card-element>
<span slot="slot-link">http://ngrxbucket.s3-website.us-east-2.amazonaws.com/</span>
<span slot="slot-image" data-bg="../img/thumbnailSiteImages/ngrx.jpg"></span>
<span slot="slot-name" >NgRx app</span>
<span slot="slot-description">
This is a simple Angular application to show ngrx working. The project used Reducer, Action,
Store, Selectors and Effects
</span>
<span slot="slot-repository-link">https://github.com/RenJeka/Study/tree/master/NgRx/first-app</span>
</card-element>
<card-element>
<span slot="slot-link">http://renjeka-todo-bucket.s3-website.us-east-2.amazonaws.com/</span>
<span slot="slot-image" data-bg="../img/thumbnailSiteImages/AWS.jpg"></span>
<span slot="slot-name" >AWS app</span>
<span slot="slot-description">
Application written using AWS technologies. The project used 'Lambda function', 'DynamoDB', 'S3
bucket Storage', 'API GateWay' and 'IAM'
</span>
<span slot="slot-repository-link">https://github.com/RenJeka/Study/tree/master/AWS/todo_project</span>
</card-element>
<card-element>
<span slot="slot-link">http://firebase-organizer.s3-website-us-east-1.amazonaws.com/</span>
<span slot="slot-image" data-bg="../img/thumbnailSiteImages/organizer.jpg"></span>
<span slot="slot-name" >FireBase app</span>
<span slot="slot-description">
Simple month planner using FireBase technologies (database). Project based on YouTube lesson.
The project used Angular, RxJS, FireBase, MomentJS, pico CSS.
</span>
<span slot="slot-repository-link">https://github.com/RenJeka/Angular_Projects/tree/master/organiser</span>
</card-element>
<div class="separator"></div>
<h2>Full-stack projects</h2>
<card-element>
<span slot="slot-link">http://vps60559.hyperhost.name/</span>
<span slot="slot-image" data-bg="../img/thumbnailSiteImages/todo_thumbnail.jpg"></span>
<span slot="slot-name" >NodeJS Todo app</span>
<span slot="slot-description">
Full client-server application with registration, authorization, user-session store and
database. Server has been deployed on VPS (Ubuntu 20.04) Try to register your user,
log-in and add some tasks. If it does not work, then the hosting was not paid.
</span>
<span slot="slot-repository-link">https://github.com/RenJeka/nodejs</span>
</card-element>
<div class="separator"></div>
<h2>Projects on Vanilla JS</h2>
<card-element>
<span slot="slot-link">match-game/index.html</span>
<span slot="slot-image" data-bg="../img/thumbnailSiteImages/match_game.jpg"></span>
<span slot="slot-name">Memory-game</span>
<span slot="slot-description">
Try to play memory card game. You can start, stop game. Here using only HTML + CSS +JS and 1
library — "anime.js" for animation. Game timer stops after cursor out of the grid. Developed
with little more than 8 hours. Full requirements read You can read in gitHub.
</span>
<span slot="slot-repository-link">https://github.com/RenJeka/matching_game</span>
</card-element>
<card-element>
<span slot="slot-link">cbs_app/dist/index.html</span>
<span slot="slot-image" data-bg="../img/thumbnailSiteImages/my_library.jpg"></span>
<span slot="slot-name" >First SPA "My Library"</span>
<span slot="slot-description">
Used JQuery, Own Observable pattern and vanilia JavaScript
</span>
<span slot="slot-repository-link">https://github.com/RenJeka/renjeka.github.io/tree/master/cbs_app</span>
</card-element>
<div class="separator"></div>
<h2>Other languages</h2>
<card-element>
<span slot="slot-link">https://yevhenii.website/php-blog/</span>
<span slot="slot-image" data-bg="../img/thumbnailSiteImages/thumbnail-php.jpg"></span>
<span slot="slot-name" >PHP-blog</span>
<span slot="slot-description">
Simple blog based on vanilla PHP. You can create, edit, read and
remove articles. Bootstrap 4 css library is used as base styles. Here is one MySQL DataBase.
SQL language was used to create and edit tables.
</span>
<span slot="slot-repository-link">https://github.com/RenJeka/Study/tree/master/PHP/my_first_php_blog</span>
</card-element>
<card-element>
<span slot="slot-link">https://t.me/YevheniiSpringAWSBot</span>
<span slot="slot-image" data-bg="../img/thumbnailSiteImages/thumbnail_telegram_bot.jpg"></span>
<span slot="slot-name" >Java Spring Telegram Bot</span>
<span slot="slot-description">
Simple bot-business card, that can output information by pressing on buttons. Made with Java
Spring, Corretto11 JDK, AWS Lambda, telegram webhooks and "telegrambots" Java library.
Try it! The first response from the bot may take a little time.
</span>
<span slot="slot-repository-link">https://github.com/RenJeka/YevheniiJavaBot</span>
</card-element>
<div class="separator"></div>
<h2>My first landings</h2>
<card-element>
<span slot="slot-link">site2/index.html</span>
<span slot="slot-image" data-bg="../img/thumbnailSiteImages/thumbnail-2.jpg"></span>
<span slot="slot-name" >Landing #1</span>
<span slot="slot-description">
One page landing site. Created in pure HTML5 and CSS3 without the use of JavaScript. My first
full project. The creation of the site took several days.
</span>
<span slot="slot-repository-link">https://github.com/RenJeka/renjeka.github.io/tree/master/site2</span>
</card-element>
<card-element>
<span slot="slot-link">site3/index.html</span>
<span slot="slot-image" data-bg="../img/thumbnailSiteImages/thumbnail_site_3.jpg"></span>
<span slot="slot-name" >Landing #2</span>
<span slot="slot-description">
One page landing site. It was created on the basis of a ready-made layout using Flex-box
technology. Used HTML5 and CSS3 using the SASS preprocessor. Also used a small amount of JavaScript to make the buttons interactive. There is a bit of adaptability with media queries.
</span>
<span slot="slot-repository-link">https://github.com/RenJeka/renjeka.github.io/tree/master/site3</span>
</card-element>
<div class="separator"></div>
<h2>My first knowledges</h2>
<card-element>
<span slot="slot-name" >First steps in HTML & CSS </span>
<span slot="slot-description">
My first steps in HTML5 and CSS3. Without JavaScript. Only layout. Only hardcore. =)
</span>
<span slot="slot-link">first-steps-html/index.html</span>
<span slot="slot-image" data-bg="../img/thumbnailSiteImages/thumbnail-1.png"></span>
<span slot="slot-repository-link">https://github.com/RenJeka/renjeka.github.io/tree/master/first-steps-html</span>
</card-element>
<card-element>
<span slot="slot-name" >First steps in JavaScript</span>
<span slot="slot-description">
My first steps in JavaScript programming. Primitive programs, but I got a lot enjoy!
</span>
<span slot="slot-link">first-steps-js/index.html</span>
<span slot="slot-image" data-bg="../img/thumbnailSiteImages/thumbnail-4.png"></span>
<span slot="slot-repository-link">https://github.com/RenJeka/renjeka.github.io/tree/master/first-steps-js</span>
</card-element>
</div><!-- container-items -->
</div><!-- container-inner -->
<footer>
<div class="title">Contact with me : </div>
<div class="contacts">
<h4>Yevhenii Petrushenko</h4>
<p> e-mail: <a href="mailto:yepetrushenko@gmail.com">yepetrushenko@gmail.com</a></p>
<p> telegram: <a href="https://t.me/RenJeka">@RenJeka</a></p>
</div>
<div class="social-icons">
<img src="img/fb_icon-w.png" alt="fb-icon" data-href="https://www.facebook.com/profile.php?id=100004312697047">
<img src="img/Li_icon-w.png" alt="Li-icon" data-href="https://www.linkedin.com/in/yevheniipetrushenko">
</div>
</footer>
</div>
<!-- ============ Site layout end ============ -->
<!-- Scripts for placing web component -->
<script>
window.addEventListener("load", ()=>{
class CardElement extends HTMLElement {
constructor() {
super();
}
connectedCallback(){
let templateCard = document.querySelector("#template-card"),
cloneTemplate = document.importNode(templateCard.content, true),
shadowRoot = this.attachShadow({mode:"open"});
shadowRoot.appendChild(cloneTemplate);
// End of standard custom element setup----------------------
let slotLink = shadowRoot.querySelector("#slot-link"),
cardLinkTo = slotLink.assignedElements()[0].innerHTML, // Link to go to a specific site
slotImage = shadowRoot.querySelector("#slot-image"),
bgPath = slotImage.assignedElements()[0].dataset.bg, //path to the image in the card.
slotName = shadowRoot.querySelector("#slot-name"),
slotRepositoryLink = shadowRoot.querySelector("#slot-repository-link"),
repositoryLink = shadowRoot.querySelector("#repository-link");
// Event handlers for clicking on the required elements
slotImage.addEventListener("click", ()=>{
window.open(cardLinkTo, "_blank");
});
slotName.addEventListener("click", ()=>{
window.open(cardLinkTo, "_blank");
});
repositoryLink.addEventListener("click", () => {
const link = slotRepositoryLink.assignedElements()[0].innerHTML;
window.open(link, "_blank");
});
if (bgPath) {
let itemBgImage = bgPath.substr(1, bgPath.length -1); // We parse the background path to get rid of the quotes so that we can later place it as a background for the card
slotImage.style.backgroundImage = "url("+itemBgImage+")"; // placing an image as a background
// items[i].style.backgroundImage = "url("+items[i].dataset.bg+");";
}
}
}
customElements.define("card-element", CardElement);
})
</script>
<script src="dist/main.js"></script>
</body>
</html>