-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
575 lines (525 loc) · 20 KB
/
Copy pathindex.html
File metadata and controls
575 lines (525 loc) · 20 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
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
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>[ SYSTEM_PROFILE ]</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;400;700&display=swap');
:root {
--bg-color: #000000;
--text-color: #FFFFFF;
--border-color: #FFFFFF;
--secondary-text: #CCCCCC;
}
body, html {
margin: 0;
padding: 0;
background-color: var(--bg-color);
color: var(--text-color);
font-family: 'Roboto Mono', monospace;
font-size: 16px;
line-height: 1.6;
-webkit-user-select: none;
user-select: none;
}
* {
box-sizing: border-box;
scrollbar-width: thin;
scrollbar-color: var(--text-color) var(--bg-color);
}
*::selection {
background-color: var(--text-color);
color: var(--bg-color);
}
#terminal {
width: 100%;
max-width: 900px;
margin: 20px auto;
border: 2px solid var(--border-color);
background-color: var(--bg-color);
padding: 20px;
box-shadow: 0 0 15px rgba(255,255,255,0.2);
}
.terminal-header {
background-color: var(--text-color);
color: var(--bg-color);
padding: 5px 10px;
display: flex;
justify-content: space-between;
font-size: 14px;
font-weight: bold;
}
.terminal-content {
white-space: pre-wrap;
word-wrap: break-word;
}
.section {
margin-bottom: 20px;
border-left: 3px solid var(--border-color);
padding-left: 10px;
}
.command {
color: var(--secondary-text);
margin-right: 10px;
}
.output {
color: var(--text-color);
}
#contact-form input,
#contact-form textarea {
width: 100%;
background-color: var(--bg-color);
color: var(--text-color);
border: 1px solid var(--border-color);
padding: 10px;
margin-bottom: 10px;
font-family: 'Roboto Mono', monospace;
transition: all 0.3s ease;
}
#contact-form input:focus,
#contact-form textarea:focus {
outline: none;
box-shadow: 0 0 5px var(--border-color);
}
#submit-btn {
background-color: var(--bg-color);
color: var(--text-color);
border: 1px solid var(--border-color);
padding: 10px 15px;
cursor: pointer;
font-family: 'Roboto Mono', monospace;
transition: all 0.3s ease;
}
#submit-btn:hover {
background-color: var(--text-color);
color: var(--bg-color);
}
.link {
color: var(--secondary-text);
text-decoration: none;
transition: color 0.3s ease;
}
.link:hover {
color: var(--text-color);
text-decoration: underline;
}
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.8);
z-index: 1000;
justify-content: center;
align-items: center;
}
.modal-content {
background-color: var(--bg-color);
border: 2px solid var(--border-color);
padding: 20px;
max-width: 600px;
width: 90%;
max-height: 80%;
overflow-y: auto;
}
.modal-close {
float: right;
cursor: pointer;
font-size: 20px;
}
#project-list {
list-style-type: none;
padding: 0;
}
#project-list li {
border: 1px solid var(--border-color);
margin-bottom: 10px;
padding: 10px;
cursor: pointer;
transition: background-color 0.3s ease;
}
#project-list li:hover {
background-color: rgba(255,255,255,0.1);
}
#console-output {
background-color: var(--bg-color);
border: 1px solid var(--border-color);
padding: 10px;
margin-top: 10px;
max-height: 200px;
overflow-y: auto;
}
.skill-meter {
width: 100%;
background-color: rgba(255,255,255,0.1);
margin-top: 5px;
}
.skill-meter-fill {
height: 5px;
background-color: var(--text-color);
}
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;400;700&display=swap');
:root {
--bg-color: #000000;
--text-color: #FFFFFF;
--border-color: #FFFFFF;
--secondary-text: #CCCCCC;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body, html {
height: 100%;
background-color: var(--bg-color);
color: var(--text-color);
font-family: 'Roboto Mono', monospace;
overflow-x: hidden;
}
#loader {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: var(--bg-color);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
z-index: 9999;
font-family: 'Roboto Mono', monospace;
}
#loader-text {
color: var(--text-color);
text-align: center;
white-space: pre-wrap;
line-height: 1.5;
}
#loader-progress {
width: 300px;
height: 10px;
background-color: rgba(255,255,255,0.1);
margin-top: 20px;
overflow: hidden;
}
#loader-progress-bar {
width: 0;
height: 100%;
background-color: var(--text-color);
transition: width 0.5s ease;
}
.glitch {
position: relative;
text-shadow:
2px 2px 0 rgba(255,255,255,0.2),
-2px -2px 0 rgba(255,255,255,0.2);
animation: glitch-skew 1s infinite alternate-reverse;
}
@keyframes glitch-skew {
0% {
transform: skew(0deg);
}
10% {
transform: skew(5deg);
}
20% {
transform: skew(-5deg);
}
30% {
transform: skew(0deg);
}
100% {
transform: skew(0deg);
}
}
@keyframes matrix-rain {
0% {
transform: translateY(-100%);
}
100% {
transform: translateY(100vh);
}
}
/* .matrix-rain {
position: fixed;
top: -50px;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 10000;
}
.matrix-char {
position: absolute;
color: rgba(255,255,255,0.1);
font-family: 'Roboto Mono', monospace;
font-size: 10px;
animation: matrix-rain linear infinite;
} */
#main-content {
display: none;
}
/* Rest of the previous CSS remains the same */
</style>
</head>
<body>
<div id="loader">
<div id="loader-text">INITIALIZING SYSTEM PROFILE</div>
<div id="loader-progress">
<div id="loader-progress-bar"></div>
</div>
</div>
<div class="matrix-rain"></div>
<div id="terminal">
<div class="terminal-header">
<span>SYSTEM_PROFILE</span>
<span id="system-time"></span>
</div>
<div class="terminal-content">
<div class="section" style="display: flex; align-items: center;">
<div style="flex: 1;">
<span class="command">system@profile:~$ whoami</span>
<span class="output">developer</span>
</div>
<div style="flex: 0 0 150px; margin-left: 20px;">
<div style="
width: 150px;
height: 150px;
border: 2px solid var(--border-color);
background: linear-gradient(135deg,
rgba(255,255,255,0.1) 0%,
rgba(255,255,255,0.05) 100%);
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
">
<img id="profile-pic" src="https://pbs.twimg.com/profile_images/1931697345965543424/we37P1_P_400x400.jpg" alt="Profile Picture" style="width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); border: none; background: none;" />
</div>
</div>
</div>
<div class="section">
<span class="command">system@profile:~$ cat SKILLS</span>
<div class="output">
[TECHNICAL SKILLS]
- Web Development
<div class="skill-meter"><div class="skill-meter-fill" style="width: 90%;"></div></div>
- System Architecture
<div class="skill-meter"><div class="skill-meter-fill" style="width: 80%;"></div></div>
- Network Solutions
<div class="skill-meter"><div class="skill-meter-fill" style="width: 75%;"></div></div>
</div>
</div>
<div class="section">
<span class="command">system@profile:~$ list_projects</span>
<div class="output">
ACTIVE PROJECTS:
> <a href="#" id="show-projects" class="link">VIEW PROJECT REPOSITORY</a>
</div>
</div>
<div class="section">
<span class="command">system@profile:~$ diagnostic_tools</span>
<div class="output">
SYSTEM DIAGNOSTIC:
> <button id="run-diagnostic" class="submit-btn">RUN SYSTEM CHECK</button>
<div id="console-output"></div>
</div>
</div>
<div class="section">
<span class="command">system@profile:~$ contact_methods</span>
<form id="contact-form" class="output">
<input type="text" placeholder="NAME" required>
<input type="email" placeholder="EMAIL" required>
<textarea placeholder="MESSAGE" rows="5" required></textarea>
<button id="submit-btn" type="submit">SEND TRANSMISSION</button>
</form>
</div>
<div class="section">
<span class="command">system@profile:~$ show NETWORK_LINKS</span>
<div class="output">
NETWORK CONNECTIONS:
> <a href="https://hacker-git-code.github.io/protfolio/" class="link">PORTFOLIO</a>
> <a href="https://github.com/hacker-git-code" class="link">GITHUB</a>
> <a href="www.linkedin.com/in/rehan-momin73426" class="link">LINKEDIN</a>
> <a href="https://x.com/RehanMonline" class="link">X</a>
</div>
</div>
</div>
</div>
<!-- Projects Modal -->
<div id="projects-modal" class="modal">
<div class="modal-content">
<span class="modal-close">×</span>
<h2>PROJECT REPOSITORY</h2>
<ul id="project-list"></ul>
</div>
</div>
<script>
// System Time
function updateSystemTime() {
const timeElement = document.getElementById('system-time');
timeElement.textContent = new Date().toLocaleTimeString('en-US', { hour12: false });
}
setInterval(updateSystemTime, 1000);
updateSystemTime();
// Contact Form
document.getElementById('contact-form').addEventListener('submit', function(e) {
e.preventDefault();
const name = this.querySelector('input[type="text"]').value;
const email = this.querySelector('input[type="email"]').value;
const message = this.querySelector('textarea').value;
// Simulate message sending
console.log('Transmission Details:', { name, email, message });
alert('TRANSMISSION RECEIVED: MESSAGE QUEUED');
this.reset();
});
// Projects Modal
const projectsModal = document.getElementById('projects-modal');
const showProjectsBtn = document.getElementById('show-projects');
const closeModalBtn = document.querySelector('.modal-close');
const projectList = document.getElementById('project-list');
// Sample project data
const projects = [
{
name: "Supercode fastest Ai ide",
description: "Advanced ide and faster coding platform.",
technologies: ["AI", "Models", "Programming"]
},
{
name: "Emailsapp",
description: "End-to-end encrypted messaging system with advanced security features.",
technologies: ["Typescript", "AI", "Encryption"]
},
{
name: "Combine Reality Ai Glasses",
description: "Best Reality to experience.",
technologies: ["AI", "Smart hardware", "Best on tools"]
},
{
name: "Rehan",
description: "more-soon",
technologies: ["check away daily"]
}
];
// Populate project list
projects.forEach(project => {
const li = document.createElement('li');
li.innerHTML = `
<strong>${project.name}</strong>
<p>${project.description}</p>
<small>Technologies: ${project.technologies.join(', ')}</small>
`;
li.addEventListener('click', () => {
alert(`PROJECT DETAILS:\n${JSON.stringify(project, null, 2)}`);
});
projectList.appendChild(li);
});
// Modal functionality
showProjectsBtn.addEventListener('click', (e) => {
e.preventDefault();
projectsModal.style.display = 'flex';
});
closeModalBtn.addEventListener('click', () => {
projectsModal.style.display = 'none';
});
window.addEventListener('click', (e) => {
if (e.target === projectsModal) {
projectsModal.style.display = 'none';
}
});
// System Diagnostic Tool
const diagnosticBtn = document.getElementById('run-diagnostic');
const consoleOutput = document.getElementById('console-output');
diagnosticBtn.addEventListener('click', () => {
const diagnosticChecks = [
"Checking system integrity...",
"Scanning network connections...",
"Verifying security protocols...",
"Running performance metrics..."
];
consoleOutput.innerHTML = ''; // Clear previous output
diagnosticChecks.forEach((check, index) => {
setTimeout(() => {
const resultLine = document.createElement('div');
resultLine.textContent = `[${new Date().toLocaleTimeString()}] ${check}`;
consoleOutput.appendChild(resultLine);
consoleOutput.scrollTop = consoleOutput.scrollHeight;
// Simulate final result
if (index === diagnosticChecks.length - 1) {
setTimeout(() => {
const finalResult = document.createElement('div');
finalResult.textContent = '[SYSTEM STATUS]: OPERATIONAL ✓';
finalResult.style.color = 'lime';
consoleOutput.appendChild(finalResult);
consoleOutput.scrollTop = consoleOutput.scrollHeight;
}, 1000);
}
}, (index + 1) * 1000);
});
});
</script>
<script>
// Loading Animation
function generateMatrixRain() {
const matrixRain = document.querySelector('.matrix-rain');
const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789@#$%^&*()_+';
for (let i = 0; i < 100; i++) {
const char = document.createElement('span');
char.textContent = chars[Math.floor(Math.random() * chars.length)];
char.classList.add('matrix-char');
char.style.left = `${Math.random() * 100}%`;
char.style.animationDuration = `${Math.random() * 5 + 3}s`;
char.style.animationDelay = `${Math.random() * 5}s`;
matrixRain.appendChild(char);
}
}
function initializeSystem() {
const loader = document.getElementById('loader');
const loaderText = document.getElementById('loader-text');
const progressBar = document.getElementById('loader-progress-bar');
const mainContent = document.getElementById('main-content');
const profilePic = document.getElementById('profile-pic');
const loadingStages = [
"CONNECTING TO MAINFRAME...",
"AUTHENTICATING CREDENTIALS...",
"INITIALIZING SECURITY PROTOCOLS...",
"LOADING SYSTEM RESOURCES...",
"ESTABLISHING NETWORK CONNECTION...",
"SYSTEM PROFILE ACTIVATED"
];
// Matrix rain effect
generateMatrixRain();
// Loader animation
loadingStages.forEach((stage, index) => {
setTimeout(() => {
loaderText.textContent = stage;
progressBar.style.width = `${(index + 1) * (100 / loadingStages.length)}%`;
// Final stage
if (index === loadingStages.length - 1) {
setTimeout(() => {
loader.style.opacity = '0';
setTimeout(() => {
loader.style.display = 'none';
mainContent.style.display = 'block';
// Profile pic animation
profilePic.style.animation = 'glitch-skew 0.5s infinite alternate-reverse';
setTimeout(() => {
profilePic.style.animation = 'none';
}, 2000);
}, 500);
}, 1000);
}
}, (index + 1) * 1000);
});
}
// Existing scripts (system time, projects, diagnostic tool, etc.) remain the same
// Start system initialization on page load
window.addEventListener('load', initializeSystem);
</script>
</body>
</html>