-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
345 lines (302 loc) · 11.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Agomoh Chukwuemeka Emmanuel - Portfolio</title>
<style>
/* Basic Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
color: #fff;
background-color: #121212;
overflow-x: hidden;
}
/* Header Styling */
header {
background: linear-gradient(to right, #181943, #2c1887, #2f12ae);
padding: 20px;
text-align: center;
position: relative;
}
header h1 {
font-size: 2.5em;
margin-bottom: 10px;
text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
header h2 {
font-size: 1.2em;
margin-bottom: 20px;
text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.social-icons a {
margin: 0 10px;
display: inline-block;
color: #fff;
font-size: 1.5em;
transition: transform 0.3s;
}
.social-icons a:hover {
transform: scale(1.2);
}
/* Section Styling */
section {
padding: 50px 20px;
text-align: center;
}
section h2 {
font-size: 2em;
margin-bottom: 20px;
position: relative;
animation: fadeIn 2s;
}
section h2::after {
content: '';
width: 60px;
height: 3px;
background-color: #1823c3; /* Updated color */
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
}
/* Project Styling */
.project {
display: inline-block;
width: 100%;
max-width: 400px; /* Increased width for larger screens */
margin: 20px;
padding: 20px;
background-color: #1f1f1f;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
transition: transform 0.3s;
vertical-align: top;
}
.project h3 {
margin: 15px 0;
font-size: 1.5em;
}
.project p {
font-size: 1em;
line-height: 1.6;
}
.project:hover {
transform: translateY(-10px);
}
.project-carousel {
position: relative;
width: 100%;
overflow: hidden;
border-radius: 10px;
height: 250px; /* Fixed height for the carousel */
}
.project-carousel-item {
width: 100%;
transition: opacity 1s;
display: none;
height: 100%; /* Full height */
}
.project-carousel-item img, .project-carousel-item video {
width: 100%;
height: 100%;
object-fit: contain; /* Ensure the whole image/video is visible */
}
.project-carousel-item.active {
display: block;
}
.carousel-controls {
display: flex;
justify-content: center;
margin-top: 10px;
}
.carousel-controls button {
background-color: #1823c3; /* Updated color */
border: none;
color: #fff;
padding: 10px 15px;
cursor: pointer;
margin: 0 5px;
border-radius: 50%;
transition: background-color 0.3s, transform 0.3s;
}
.carousel-controls button:hover {
background-color: #757dea;
transform: scale(1.1);
}
/* Button Styling */
.btn {
display: inline-block;
padding: 10px 20px;
margin-top: 20px;
font-size: 1em;
color: #fff;
background-color: #1823c3; /* Updated color */
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s;
}
.btn:hover {
background-color: #757dea;
}
/* Footer Styling */
footer {
background: linear-gradient(to right, #181943, #2c1887, #2f12ae);
text-align: center;
padding: 20px;
}
footer p {
font-size: 1em;
}
/* Achievement Carousel */
.carousel {
position: relative;
width: 100%;
max-width: 600px;
margin: 50px auto;
overflow: hidden;
border-radius: 10px;
}
.carousel img {
width: 100%;
transition: opacity 1s;
}
.carousel img:not(:first-child) {
position: absolute;
top: 0;
left: 0;
opacity: 0;
}
.carousel img.active {
opacity: 1;
}
/* Keyframes for Animations */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideIn {
from { transform: translateX(100%); }
to { transform: translateX(0); }
}
@keyframes fadeInLeft {
from { opacity: 0; transform: translateX(-50px); }
to { opacity: 1; transform: translateX(0); }
}
.project {
animation: fadeInLeft 1s ease-in-out;
}
/* Media Queries */
@media (max-width: 768px) {
.project {
width: 100%;
max-width: none;
margin: 10px 0;
}
}
</style>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<header>
<h1>Agomoh Chukwuemeka Emmanuel</h1>
<h2>Project Manager | Machine Learning | Python Developer | Automation</h2>
<div class="social-icons">
<a href="mailto:example@example.com"><i class="fa fa-envelope"></i></a>
<a href="https://linkedin.com/in/agomoh-chukwuemeka-emmanuel"><i class="fa fa-linkedin"></i></a>
<a href="https://github.com/agomzyemeka"><i class="fa fa-github"></i></a>
<a href="https://wa.me/2347064767708"><i class="fa fa-whatsapp"></i></a>
</div>
</header>
<section id="projects">
<h2>Projects</h2>
<div class="project">
<h3>Simple Customer Churn Prediction App</h3>
<div class="project-carousel">
<div class="project-carousel-item active">
<img src="https://github.com/Agomzyemeka/Simple-Customer-Churn-Prediction-App/raw/main/assets/app_cover_image.jpg" alt="Project 1 Image 1">
</div>
<div class="project-carousel-item">
<img src="assets/project1_img2.png" alt="Project 1 Image 2">
</div>
<div class="project-carousel-item">
<video width="100%" controls>
<source src="assets/project1_video.mp4" type="video/mp4">
</video>
</div>
</div>
<div class="carousel-controls">
<button onclick="prevItem(0)"><</button>
<button onclick="nextItem(0)">></button>
</div>
<p>This app is designed to predict whether a customer will churn or not based on several features such as credit score, geography, gender, age, tenure, balance, number of products, credit card ownership, membership status, and estimated salary.</p>
<a href="https://github.com/Agomzyemeka/Simple-Customer-Churn-Prediction-App" class="btn">View on GitHub</a>
</div>
<div class="project">
<h3>Project 2 Title</h3>
<div class="project-carousel">
<div class="project-carousel-item active">
<img src="assets/project2_img1.jpg" alt="Project 2 Image 1">
</div>
<div class="project-carousel-item">
<img src="assets/project2_img2.jpg" alt="Project 2 Image 2">
</div>
<div class="project-carousel-item">
<video width="100%" controls>
<source src="assets/project2_video.mp4" type="video/mp4">
</video>
</div>
</div>
<div class="carousel-controls">
<button onclick="prevItem(1)"><</button>
<button onclick="nextItem(1)">></button>
</div>
<p>Description of project 2. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio.</p>
<a href="https://github.com/agomzyemeka/project2" class="btn">View on GitHub</a>
</div>
</section>
<section id="achievements">
<h2>Achievements</h2>
<div class="carousel">
<img src="assets/certificate1.jpg" alt="Certificate 1" class="active">
<img src="assets/certificate2.jpg" alt="Certificate 2">
<img src="assets/certificate3.png" alt="Certificate 3">
</div>
</section>
<footer>
<p>© 2024 Agomoh Chukwuemeka Emmanuel. All rights reserved.</p>
</footer>
<script>
// Image Carousel Logic for Achievements
const images = document.querySelectorAll('.carousel img');
let currentImageIndex = 0;
function changeImage() {
images[currentImageIndex].classList.remove('active');
currentImageIndex = (currentImageIndex + 1) % images.length;
images[currentImageIndex].classList.add('active');
}
setInterval(changeImage, 3000); // Adjusted interval for better visibility
// Carousel Logic for Projects
const carousels = document.querySelectorAll('.project-carousel');
function prevItem(projectIndex) {
const items = carousels[projectIndex].querySelectorAll('.project-carousel-item');
const currentIndex = Array.from(items).findIndex(item => item.classList.contains('active'));
items[currentIndex].classList.remove('active');
const prevIndex = (currentIndex - 1 + items.length) % items.length;
items[prevIndex].classList.add('active');
}
function nextItem(projectIndex) {
const items = carousels[projectIndex].querySelectorAll('.project-carousel-item');
const currentIndex = Array.from(items).findIndex(item => item.classList.contains('active'));
items[currentIndex].classList.remove('active');
const nextIndex = (currentIndex + 1) % items.length;
items[nextIndex].classList.add('active');
}
</script>
</body>
</html>