-
Notifications
You must be signed in to change notification settings - Fork 0
/
terminal.html
100 lines (87 loc) · 4.78 KB
/
terminal.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="refresh" content="250">
<link rel="shortcut icon" href="assets/favicon.svg" type="image/x-icon" />
<link href="main.css" rel="stylesheet" />
<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=Ubuntu:wght@300&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Ubuntu+Mono&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<script src="https://kit.fontawesome.com/39565093f3.js""></script>
<script>function close_window() {
if (confirm(" Close Window?")) { close(); }
} </script>
<script
src="https://code.jquery.com/jquery-3.6.1.js"
integrity="sha256-3zlB5s2uwoUzrXK3BT7AX3FyvojsraNFxCc2vC/7pNI="
crossorigin="anonymous"></script>
<title>Muhammad Haris | Developer</title>
</head>
<body style=" font-family: 'Ubuntu Mono', 'Ubuntu', sans-serif;" class="overflow-y-scroll bg-cover lazy text-[1.1rem]">
<div class="m-2 relative" onclick="document.getElementById('texter').focus();">
<div
class="ring-1 ring-purple-500 bg-[#081d2dd8] border-[#7AE0CA] border hover:backdrop-blur-sm rounded-[2px] shadow-xl shadow-[#1d1e1fb4] min-h-[98vh] resize overflow-hidden ">
<header>
<p class="p-2 text-center text-slate-400">
<a href="https://fiverr.com/ayeshaqur/" target="blank"><i
class="fa-brands fa-github pb-1 text-xl float-left text-slate-500 hover:text-pink-800"></i>muhiris@coder</a>
<a href="javascript:close_window();"><i
class="fa-solid fa-circle-xmark text-xl justify-end text-slate-500 hover:text-red-500 items-end float-right"></i></a>
</p>
<hr class="border-[#7AE0CA]">
</header>
<div class="p-4">
<div class="flex flex-col md:flex-row">
<div class="pl-2 float-right" ; style="font-family: 'Ubuntu Mono', 'Ubuntu', sans-serif;">
<div class="text-[#7AE0CA] md:text-[16px] text-[15px]"><i
class="fa-solid fa-address-card pr-[0.9rem]"></i>Muhammad Haris
<pre class="text-[#8DE2D0]">-------------------</pre>
</div>
<a href="#">
<a href="https://github.com/muhiris" target="blank">
<div class="text-[#7AE0CA] text-[15.3px]"><i
class="fa-brands fa-github pr-[0.7rem] justify-items-start"></i>Github <a
href="https://github.com/muhiris" target="blank" class="text-[14.8px] p-1 ">→
github/muhiris</a></div>
<a href="https://fiverr.com/ayeshaqur" target="blank">
<div class="text-[#7AE0CA] text-[15.3px]"><i
class="fa-brands fa-f pr-[0.7rem] justify-items-start"></i>Fiverr <a
href="https://fiverr.com/ayeshaqur" target="blank" class="text-[14.8px] p-1">→
Fiverr/ayeshaqur</a></div>
<a href="/" target="blank">
<div class="text-[#7AE0CA] text-[15.3px]"><i
class="fa-brands fa-free-code-camp pr-[0.7rem] justify-items-start"></i>GUI <a
href="/" target="blank" class="text-[14.8px] p-1">→
muhiris.com</a></div>
</div>
</div>
<div id="terminal">
<a id="before"></a>
</div>
<div id="command" onclick="$('texter').focus();">
<input type="text" id="texter" class="texter" onkeyup="typeIt(this, event)" onkeydown="typeIt(this, event);
moveIt(this.value.length, event)" onkeypress="typeIt(this, event);"></input>
<div id="liner">
<span id="typer"></span><b class="cursor" id="cursor">█</b><div class="list"></div>
</div>
</div>
<footer class="md:pt-[26%] pt-[100%]">
</footer>
<script>
// Function to check if the specific key combination is pressed
function checkKeyCombination(event) {
// Check if "Ctrl", "Alt", and "F8" keys are pressed
}
// Event listener to detect key press
document.addEventListener("keydown", checkKeyCombination);
</script>
<script src="./js/caret.js"></script>
<script src="./js/commands.js"></script>
<script src="./js/main.js"></script>
</body>
</html>