-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact-complete.html
147 lines (135 loc) · 5.22 KB
/
contact-complete.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
name="viewport"/>
<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
<title>Jefe the Pug</title>
<!-- PyScript Stylesheet-->
<link href="https://pyscript.net/releases/2024.1.1/core.css" rel="stylesheet"/>
<!-- Custom Stylesheets-->
<link href="static/css/style.css" rel="stylesheet"/>
<link href="static/css/nav_style.css" rel="stylesheet"/>
<link href="static/css/contact.css" rel="stylesheet"/>
<!-- GitHub Icon -->
<link rel="stylesheet" type='text/css' href="https://cdn.jsdelivr.net/gh/devicons/devicon@latest/devicon.min.css"/>
<!-- Form Icons -->
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&icon_names=contact_mail,mail,person"/>
<!-- Nav Icons -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
<!-- PyScript -->
<script type="module" src="https://pyscript.net/releases/2024.10.1/core.js"></script>
</head>
<body>
<header>
<svg style="height:200px;width:200px" id="pug">
<use href="static/img/logo.svg#jefe"></use>
</svg>
<img alt="Jefe the Pug" id="jefe-pug" src="static/img/jefe_name.png"/>
<div id="nav-box">
<nav class="nav">
<input id="menu" type="checkbox">
<label for="menu" onclick="colors()">Menu</label>
<ul class="menu">
<li>
<a href="index.html">
<span>Home</span>
<i class="fas fa-house fa-beat" style="--fa-animation-duration: 2s;" aria-hidden="true"></i>
</a>
</li>
<li>
<a href="games.html">
<span>Games</span>
<i class="fas fa-gamepad fa-beat" style="--fa-animation-duration: 2s;" aria-hidden="true"></i>
</a>
</li>
<li>
<a href="projects.html">
<span>Projects</span>
<i class="fas fa-code fa-beat" style="--fa-animation-duration: 2s;" aria-hidden="true"></i>
</a>
</li>
<li>
<a href="certs.html">
<span>Certificates</span>
<i class="fas fa-list-check fa-beat" style="--fa-animation-duration: 2s;"
aria-hidden="true"></i>
</a>
</li>
<li>
<a href="contact.html">
<span>Contact</span>
<i class="fas fa-envelope fa-beat" style="--fa-animation-duration: 2s;" aria-hidden="true"></i>
</a>
</li>
</ul>
</nav>
</div>
</header>
<dialog id="loading">
<div id="spinCircle">
<svg id="jefeSpin" style="height:100px;width:100px;" viewBox="0 0 300 250">
<use href="static/img/logo.svg#jefe"></use>
</svg>
<h1 id="load">Loading<span id="dots">...</span></h1>
</div>
</dialog>
<div class="glass">
<h1 class="underline">
<span class="material-symbols-outlined icon">contact_mail</span>
<div class="">Contact me</div>
</h1>
<div class="form-container">
<p id="thanks">
Thank you!
<br/>
<a href="index.html">
<i class="fas fa-house fa-beat" style="--fa-animation-duration: 2s;" aria-hidden="true" id="home-pad"></i>
</a>
</p>
<div id="mail-pic">
<img class="pic" src="static/img/mail.png" alt="Pug Mail Picture"/>
</div>
</div>
</div>
<footer>
© JefeThePug 2024
<svg id="pawprint" style="height:70px;width:70px;transform:rotate(36deg);">
<use href="static/img/logo.svg#paw"></use>
</svg>
</footer>
<script>
function colors() {
const colors = [
'#FFC15A', '#FFD9E7', '#FFDD02',
'#C8B6E8', '#F5B3FF', '#D8FDFB',
'#FAF9A4', '#EAC6C4', '#FFA7E4',
'#BDE0FE', '#C3FDB8', '#FFDFBA'
];
document.querySelectorAll('.menu li a').forEach(item => {
const randomIndex = Math.floor(Math.random() * colors.length);
const selectedColor = colors[randomIndex];
item.style.backgroundColor = selectedColor;
colors.splice(randomIndex, 1);
item.addEventListener('mouseover', () => {
const icon = item.querySelector('i');
if (icon) {
icon.style.color = selectedColor;
console.log(icon.parentElement)
item.classList.add('hover');
}
});
item.addEventListener('mouseout', () => {
const icon = item.querySelector('i');
if (icon) {
icon.style.color = '';
item.classList.remove('hover');
}
});
});
}
</script>
</body>
</html>