-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
153 lines (144 loc) · 6.29 KB
/
index.html
File metadata and controls
153 lines (144 loc) · 6.29 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
<!DOCTYPE html>
<html lang="nl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="wimbo.nl">
<title>wimbo.nl</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text x='50' y='1em' font-size='90' text-anchor='middle'>✅</text></svg>">
<style>
:root {
--background-start: #0D1117;
--background-end: #161B22;
--gradient-start: #0f0c29;
--gradient-mid: #302b63;
--gradient-end: #24243e;
--text-primary: #E6EDF3;
--text-secondary: #AABAC8;
--accent-border: rgba(255, 255, 255, 0.1);
--glass-background: rgba(22, 27, 34, 0.7);
}
body, html {
height: 100%; margin: 0; font-family: 'Courier New', Courier, monospace;
color: var(--text-primary); overflow: hidden;
background: linear-gradient(-45deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end), var(--background-end));
background-size: 400% 400%;
animation: gradientBG 15s ease infinite;
}
.main-container {
display: flex; align-items: center; justify-content: center;
height: 100%; padding: 20px; perspective: 1000px;
}
.content-box {
text-align: center; padding: 50px; max-width: 650px; width: 100%;
background: var(--glass-background); border: 1px solid var(--accent-border);
border-radius: 12px; box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
opacity: 0; transform: translateY(20px);
animation: fadeInBox 1s 0.2s forwards ease-out;
transition: transform 0.1s ease-out;
}
h1 {
font-size: 2.5rem; font-weight: 700;
margin: 0 0 15px 0; letter-spacing: -1px;
}
p {
font-size: 1.1rem; line-height: 1.7;
color: var(--text-secondary); margin: 10px 0 0 0;
}
.text-links {
margin-top: 30px; display: inline-block; text-align: left;
}
.text-links p { margin: 5px 0; }
.text-links a {
color: var(--text-primary); text-decoration: none;
transition: text-decoration 0.3s ease;
}
.text-links a:hover { text-decoration: underline; }
.big-emoji-container { margin: 20px 0; }
.big-emoji {
font-size: 3.5rem; cursor: help; user-select: none;
transition: transform 0.2s ease;
}
.big-emoji:hover { transform: scale(1.15); }
.cursor {
display: inline-block; width: 2px; height: 2.2rem;
background-color: var(--text-primary); margin-left: 8px;
vertical-align: middle; animation: blink 1s steps(2, start) infinite;
}
.footer-bar {
position: fixed; bottom: 0; left: 0; width: 100%;
padding: 10px 0; background-color: var(--background-start);
text-align: center; font-size: 0.9rem; color: var(--text-secondary);
border-top: 1px solid var(--accent-border);
}
@keyframes fadeInBox {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes blink { to { visibility: hidden; } }
@keyframes gradientBG {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
@media (max-width: 600px) {
h1 { font-size: 1.8rem; }
.cursor { height: 1.6rem; }
p { font-size: 1rem; }
.content-box { padding: 30px; }
.text-links { text-align: center; }
}
</style>
</head>
<body>
<div class="main-container">
<div class="content-box" id="content-box">
<h1><span id="typing-effect"></span><span class="cursor"></span></h1>
<div class="big-emoji-container">
<span class="big-emoji" id="emoji-container"></span>
</div>
<div class="text-links">
<p><a href="https://www.linkedin.com/in/wimb0/" target="_blank" rel="noopener noreferrer">LinkedIn</a></p>
<p><a href="https://github.com/wimb0/" target="_blank" rel="noopener noreferrer">GitHub</a></p>
<p><a href="https://buymeacoffee.com/wimbo" target="_blank" rel="noopener noreferrer">Buy Me a Coffee</a></p>
</div>
</div>
</div>
<footer class="footer-bar">
©<span id="year"></span> wimbo.nl
</footer>
<script>
document.addEventListener('DOMContentLoaded', () => {
// --- Typing Effect --- //
const typingElement = document.getElementById('typing-effect');
const textToType = "wimbo.nl";
let i = 0;
function typeWriter() {
if (i < textToType.length) {
typingElement.innerHTML += textToType.charAt(i);
i++;
setTimeout(typeWriter, 150);
}
}
setTimeout(typeWriter, 500);
// --- Automatic Year in Footer --- //
document.getElementById('year').textContent = new Date().getFullYear();
});
// --- Emoji Cycle (can stay outside, as it has no dependencies) --- //
const emojis = ['⚙️', '🚀', '💻', '💡', '🔧', '😎', '☠️', '👻', '🤖', '📡', '🧪', '🌵', '👾', '🙂', '🐈', '🌶️', '🍺', '🦖', '☕', '🚵♂️', '🍕','🤢'];
const emojiContainer = document.getElementById('emoji-container');
function setNewRandomEmoji() {
const currentEmoji = emojiContainer.textContent;
let newEmoji;
do {
const randomIndex = Math.floor(Math.random() * emojis.length);
newEmoji = emojis[randomIndex];
} while (newEmoji === currentEmoji && emojis.length > 1);
emojiContainer.textContent = newEmoji;
}
emojiContainer.addEventListener('click', setNewRandomEmoji);
setNewRandomEmoji();
</script>
</body>
</html>