-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
404 lines (311 loc) · 19.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<script src ="tools.js"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Audiowide&family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="style.css">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body style = "margin:0;">
<ul class="navbar">
<a href = "index.html" style ="margin-left:25px;padding:0px;width:40px;"> <li style = "background-image: url('images/java-library.png');background-size:cover;border-radius: 50px;width:40px;height:40px;border: 1px solid rgb(227, 232, 237);"></li></a>
<li>
<div class = "navbar-center">
<a href = "index.html">Home</a>
<button class ="button-non" onclick="scrollToSection('section-about')">About</button>
<button class ="button-non" onclick="scrollToSection('section-blog')">Blog</button>
<button class ="button-non" onclick="scrollToSection('section-contact')">Contact</button>
</div>
</li>
<li>
<button id = "downloadButton" class="button-normal" style="float:right; margin-right:25px;">
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-download" width="20" height="20" viewBox="0 0 24 24" stroke-width="2" stroke="white" fill="none" stroke-linecap="round" stroke-linejoin="round" style="vertical-align: middle;">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<path d="M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2" />
<path d="M7 11l5 5l5 -5" />
<path d="M12 4l0 12" />
</svg>
<span style="vertical-align: middle;">Download CV</span>
</button>
</li>
</ul>
<div class = "container">
<div class ="container-hero" id = "container-hero">
<div class ="hero-center">
<div class = "hero-profile"></div>
<div class = "hero-role">Software Engineer</div>
<div class ="hero-name">Charbel Bou Abdo</div>
<p style = "width:500px;text-align: center;color: white; animation: fadeInUp 2s ease both;">Hello Friends! Thanks for dropping by. I'm Charbel, a Software Engineer. Keep scrolling to learn more about me, or check out my content at the blog tab.</p>
<div style = "margin-top: 25px;margin-bottom:100px; animation: fadeInUp 3s ease both;" >
<input style = "background-color: rgba(255, 255, 255, 0.1);color:white" type="text" id="hero-email" name="Search" placeholder ="Email"class = "" required>
<button class = "button-normal" style = "margin-right:0px;">Subscribe</button>
</div>
<div class ="hero-socials"style =" animation: fadeInUp 2s ease both;">
<a class = "social">
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-x" width="20" height="20" viewBox="0 0 24 24" stroke-width="1" stroke="white" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<path d="M4 4l11.733 16h4.267l-11.733 -16z" />
<path d="M4 20l6.768 -6.768m2.46 -2.46l6.772 -6.772" />
</svg>
</a>
<a class = "social" href="">
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-linkedin" width="20" height="20" viewBox="0 0 24 24" stroke-width="1" stroke="white" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<path d="M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z" />
<path d="M8 11l0 5" />
<path d="M8 8l0 .01" />
<path d="M12 16l0 -5" />
<path d="M16 16v-3a2 2 0 0 0 -4 0" />
</svg>
</a>
<a href = "https://github.com/charbelba"class = "social">
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-github" width="20" height="20" viewBox="0 0 24 24" stroke-width="1" stroke="white" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<path d="M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5" />
</svg>
</a>
</div>
</div>
</div>
<div class = "container-blog" id ="section-blog">
<div class = "container-header">
<div class = "header-title">Blogs</div>
<input type="text" id="search" name="Search" placeholder = "Search..."class = "" required>
</div>
<div class = "panel-blog">
<div class ="blog-card">
<div class = "blog-image"></div>
<div class = "project-container-badge">
<div class="blog-badge">AI</div>
<div class="blog-badge">AI</div>
</div>
<div class = "blog-profile"></div>
<div class = "blog-wrapper">
<div class ="blog-title">Part 2 : How to create a Java Spring Boot RestController for CRUD operations </div>
<div class ="blog-description">So, here is part 2 friends! in this part we are going to extend the previous version and apply the MVC pattern</div>
<div class ="blog-button">READ MORE »</div>
</div>
<div class ="blog-wrapper-bottom">
<div class ="blog-date">21th October 2023 No Comments</div>
</div>
</div>
<a href="blog.html" class ="blog-card" style ="text-decoration:none;">
<div class = "blog-image" style = "background-image: url('images/TaskController-cover.png');transform: scale(1);"></div>
<div class="blog-badge">AI</div>
<div class = "blog-profile"></div>
<div class = "blog-wrapper">
<div class ="blog-title">How to create a Java Spring Boot RestController for CRUD operations</div>
<div class ="blog-description">So, here in this part we are going to learn how to make a RestController for CRUD operations using Java Spring Boot FrameWork</div>
<div class ="blog-button">READ MORE »</div>
</div>
<div class ="blog-wrapper-bottom">
<div class ="blog-date">21th October 2023 No Comments</div>
</div>
</a>
<div class ="blog-card">
<div class = "blog-image" style = "background-image: url('https://th.bing.com/th/id/R.ae5327514dc57beb412b8b90ac1d0350?rik=70AZt3xyZ1RMOA&pid=ImgRaw&r=0&sres=1&sresct=1')"></div>
<div class="blog-badge">Java</div>
<div class = "blog-profile"></div>
<div class = "blog-wrapper">
<div class ="blog-title">Java Producer Consumer </div>
<div class ="blog-description">Today we are going to look at a popular synchronization problem "The Producer Consumer" and explain how can we achieve synchronization with different ways</div>
<div class ="blog-button">READ MORE »</div>
</div>
<div class ="blog-wrapper-bottom">
<div class ="blog-date">16th October 2023 No Comments</div>
</div>
</div>
</div>
</div>
<button class = "button-normal"style=" margin-bottom:50px;">Load More</button>
<div style ="border-bottom:1px solid rgb(238, 238, 238);width:100%;margin-bottom:25px;"></div>
<div class = "container-work">
<div class = "work-title">Recent Projects</div>
<p>Here are a few past projects I've worked on. Want to see more? Email me.</p>
<div class = "work-wrapper">
<div class = "work-project">
<div class = "work-project-inner">
<img class = "project-image" src = "images/cubis-shot.png">
<div class = "project-container-badge">
<div class = "project-badge">Unity</div>
<div class = "project-badge">3D</div>
</div>
<div class ="project-text"></div>
</div>
<h3 style ="margin-bottom:7px;margin-top:7px;font-size: 16px;">Cubis</h3>
<p style = "margin-top:10px;margin-bottom:0px;font-size: 14px;">A 3D puzzle game for mobile built using Unity </p>
</div>
<div class = "work-project">
<div class = "work-project-inner" >
<img class = "project-image" src = "https://th.bing.com/th/id/OIP.CAup3tp0yC3a3QXfWwkU7gHaE1?rs=1&pid=ImgDetMaing">
<div class = "project-container-badge">
<div class = "project-badge">Java</div>
<div class = "project-badge">RPC</div>
</div>
<div class ="project-text"></div>
</div>
<h3 style ="margin-bottom:5px;margin-top:7px;font-size: 16px;">BlockChain</h3>
<p style = "margin-top:10px;margin-bottom:0px;font-size: 14px;">FullNode, Wallets, Miners, BootStrap Nodes</p>
</div>
<div class = "work-project">
<div class = "work-project-inner" style = "border: 1px solid rgb(233, 233, 233);">
<img class = "project-image" src = "https://th.bing.com/th/id/OIP.D1tl8JDJmQ6w8-yQdlD23AHaHa?pid=ImgDet&rs=1">
<div class = "project-container-badge">
<div class = "project-badge">Engine</div>
<div class = "project-badge">Java</div>
</div>
<div class ="project-text"></div>
</div>
<h3 style ="margin-bottom:5px;margin-top:7px;font-size: 16px;">2D Game Engine</h3>
<p style = "margin-top:10px;margin-bottom:0px;font-size: 14px;">A Simple yet powerful 2D Game Engine built using java</p>
</div>
<div class = "work-project">
<div class = "work-project-inner">
<img class = "project-image" src = "images/chatting-app.jpg">
<div class = "project-container-badge">
<div class = "project-badge">Engine</div>
<div class = "project-badge">Java</div>
</div>
<div class ="project-text"></div>
</div>
<h3 style ="margin-bottom:5px;margin-top:7px;font-size: 16px;">Chatting Application</h3>
<p style = "margin-top:10px;margin-bottom:0px;font-size: 14px;">An end-to-end Encryped Chatting App built using Java</p>
</div>
<div class = "work-project">
<div class = "work-project-inner" style = "border: 1px solid rgb(233, 233, 233);">
<img class = "project-image" src = "images/java-library.png">
<div class = "project-container-badge">
<div class = "project-badge">Engine</div>
<div class = "project-badge">Java</div>
</div>
<div class ="project-text"></div>
</div>
<h3 style ="margin-bottom:5px;margin-top:7px;font-size: 16px;">CSV Library</h3>
<p style = "margin-top:10px;margin-bottom:0px;font-size: 14px;">Saving files have never been easier any Object in Java</p>
</div>
<div class = "work-project">
<div class = "work-project-inner" style = "border: 1px solid rgb(233, 233, 233);">
<img class = "project-image" src = "https://th.bing.com/th/id/R.ae5327514dc57beb412b8b90ac1d0350?rik=70AZt3xyZ1RMOA&pid=ImgRaw&r=0&sres=1&sresct=1
">
<div class = "project-container-badge">
<div class = "project-badge">Engine</div>
<div class = "project-badge">Java</div>
</div>
<div class ="project-text"></div>
</div>
<h3 style ="margin-bottom:5px;margin-top:7px;font-size: 16px;">E-Commerce Api</h3>
<p style = "margin-top:10px;margin-bottom:0px;font-size: 14px;">A Highly decoupled asynchronous messaging system</p>
</div>
</div>
<div style = "display:flex;flex-direction: row; justify-content:space-between;gap: 10px;">
<button class ="project-button">Check Out More</button>
<button class = "button-icon">
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-github" width="24" height="24" viewBox="0 0 24 24" stroke-width="1" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<path d="M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5" />
</svg>
</button>
</div>
</div>
<div class ="container-contact" id ="section-contact">
<div class ="contact-wrapper">
<div class = "contact-title">Contact</div>
<div style = "display: flex; flex-direction: column; gap:30px;">
<input type="text" id="contact-name" name="Name" placeholder = "Name"class = "" required>
<input type="email" id="contact-email" name="Email" placeholder = "Email"class = "" required>
<input type="text" id="contact-message" name="Message" placeholder = "Message"class = "" style =""required>
</div>
<button class = "button-normal"id ="contact-submit">Submit</button>
</div>
<div class = "contact-image"></div>
</div>
<div class = "container-footer" >
<div class="footer-worktogether">
<div class = "worktogether-title">Let's Work Together</div>
<p style = "margin-top: 0px;">Have anything cool in mind ? Let's work together</p>
<button class = "button-normal" style ="width:150px;">Let's Work</button>
</div>
<div class = "footer-center">
<div class = "hero-profile" style = "border-color: white;margin-bottom: 5px;height:75px;width:75px;"></div>
<a class = "footer-email" style = "margin-bottom: 15px;">[email protected]</a>
<div class = "footer-title" style ="line-height: 1.2;">Living, learning, & leveling up<br> one day at a time.</div>
<div class ="hero-socials" style = "margin-bottom: 15px;">
<a class = "social">
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-x" width="20" height="20" viewBox="0 0 24 24" stroke-width="1" stroke="white" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<path d="M4 4l11.733 16h4.267l-11.733 -16z" />
<path d="M4 20l6.768 -6.768m2.46 -2.46l6.772 -6.772" />
</svg>
</a>
<a class = "social">
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-linkedin" width="20" height="20" viewBox="0 0 24 24" stroke-width="1" stroke="white" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<path d="M4 4m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z" />
<path d="M8 11l0 5" />
<path d="M8 8l0 .01" />
<path d="M12 16l0 -5" />
<path d="M16 16v-3a2 2 0 0 0 -4 0" />
</svg>
</a>
<a href = "https://github.com/charbelba"class = "social">
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-brand-github" width="20" height="20" viewBox="0 0 24 24" stroke-width="1" stroke="white" fill="none" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
<path d="M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5" />
</svg>
</a>
</div>
<div class = "footer-crafted">crafted by @me</div>
</div>
</div>
</div>
<script>
document.getElementById('downloadButton').addEventListener('click', function() {
var fileUrl = 'cv.pdf'; // Directly accessing the file in the main folder
var fileName = 'cv.pdf'; // The desired file name for the downloaded file
var link = document.createElement('a');
link.href = fileUrl;
link.download = fileName;
// Append the link to the body (this is necessary for some browsers)
document.body.appendChild(link);
// Trigger the download
link.click();
// Remove the link from the DOM
document.body.removeChild(link);
});
const backgroundDiv = document.querySelector('.container-hero');
console.log(backgroundDiv, 'hello'); // Corrected the console.log statement
const imageUrls = ['images/gradient 1.png', 'images/gradiant2.png','images/gradiant1.png','images/gradiant3.png']; // Corrected image URLs
let currentImageIndex = 0;
function changeBackground() {
backgroundDiv.style.backgroundImage = `url('${imageUrls[currentImageIndex]}')`;
currentImageIndex = (currentImageIndex + 1) % imageUrls.length;
}
// Call the changeBackground function every 5 seconds (adjust the interval as needed)
setInterval(changeBackground, 5000);
function scrollToSection(sectionId) {
const section = document.getElementById(sectionId);
section.scrollIntoView({ behavior: 'smooth' });
}
const textElement = document.querySelector('.hero-name');
const text = "Charbel Bou Abdo";
function typeText() {
textElement.textContent = '';
let i = 0;
const typeInterval = setInterval(function () {
textElement.textContent += text[i];
i++;
if (i >= text.length) {
clearInterval(typeInterval);
}
}, 100);
}
// Call typeText to fill in the text
typeText();
</script>
</body>
</html>