-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
215 lines (173 loc) · 8.84 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="description"
content="Personal homepage of Ramunas Girdziusas (Ramūnas Girdziušas), software engineer, D.Sc. (Tech.).
Links to curriculum vitae, resume, and online projects.
Plays 0.1s. sound on mouseenter events."
/>
<meta
name="keywords"
content="Ramunas Girdziusas, Ramūnas Girdziušas, software engineering, programming,
Adast, ATmega, aabbtree77, github projects, OpenGL, IoT, 3D, Web, Nim, algebra, tensors."
/>
<meta name="author" content="Ramunas Girdziusas" />
<meta name="google" content="notranslate" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>aabbtree77</title>
<link href="output.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=Source+Code+Pro:ital,wght@0,200;0,400;1,200&display=swap"
rel="stylesheet"
/>
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<script type="text/javascript" src="miniguestlog/sendGuestTimeLoc.js"></script>
<style>
@keyframes swipe-in {
from {
transform: translateX(100%);
}
to {
transform: translateX(0);
}
}
</style>
</head>
<body
class="bg-gradient-to-b from-gray-800 to-gray-900 text-yellow-800 h-screen flex items-center justify-center font-code"
>
<div
class="flex flex-col justify-between aspect-square
w-[90vw] h-[70vh]
sm:w-[90vw] sm:max-h-[60vh]
md:w-[90vw] md:max-h-[60vh]
lg:w-[70vw] lg:max-h-[60vh]
xl:w-[50vw] xl:max-h-[50vh] xl:transform xl:rotate-[-15deg]"
>
<ul class="flex justify-evenly">
<li
class="tab relative cursor-pointer text-center text-2xl md:text-2xl flex items-center justify-center transition-all hover:scale-110 text-blue-400 hover:text-blue-600"
data-content="<ul class='list-disc text-left text-2xl sm:text-2xl pl-6'>
<li>Ramūnas Girdziušas, DSc (Tech)</li>
<li>aabbtree77 at gmail.com</li>
<li>Studied EENG, Machine Learning</li>
<li>
<a href='https://aaltodoc.aalto.fi/items/e6e0b1cf-fb37-45e1-8622-109659dafd4a' target='_blank'
class='text-blue-400 hover:text-blue-600'>Thesis</a>,
<a href='https://hal.science/hal-00723427' target='_blank'
class='text-blue-400 hover:text-blue-600'>grid computing</a>,
<a href='https://aabbtree77.github.io/tensors/' target='_blank'
class='text-blue-400 hover:text-blue-600'>tensors</a>,
</li>
<li>
<a href='https://github.com/aabbtree77/mona-lisa' target='_blank'
class='text-blue-400 hover:text-blue-600'>K155</a>,
<a href='https://github.com/aabbtree77/adast/' target='_blank'
class='text-blue-400 hover:text-blue-600'>ATmega</a>,
<a href='https://github.com/aabbtree77/esp32-vpn' target='_blank'
class='text-blue-400 hover:text-blue-600'>ESP32</a>,
<a href='https://github.com/aabbtree77/twinpeekz/' target='_blank'
class='text-blue-400 hover:text-blue-600'>OpenGL</a>,
</li>
<li>
<a href='https://github.com/aabbtree77/law2' target='_blank'
class='text-blue-400 hover:text-blue-600'>lawtrust.eu</a>,
<a href='https://github.com/aabbtree77/miniguestlog/' target='_blank'
class='text-blue-400 hover:text-blue-600'>miniLog</a>,
<a href='https://github.com/aabbtree77/auth-starter-backend' target='_blank'
class='text-blue-400 hover:text-blue-600'>miniAuth</a><a href='https://github.com/aabbtree77/aabbtree77-projects' target='_blank'
class='text-blue-400 hover:text-blue-600'>...</a>
</li>
</ul>"
>
About
</li>
<li
class="tab relative cursor-pointer text-center text-2xl md:text-2xl flex items-center justify-center transition-all hover:scale-110 text-blue-400 hover:text-blue-600"
data-content="
<div class='grid grid-cols-1 gap-4 sm:grid-cols-2'>
<a href='https://github.com/aabbtree77?tab=repositories' target='_blank' class='flex items-center text-blue-400 hover:text-blue-600'>
<svg class='w-6 h-6 fill-current mr-2' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'>
<path d='M12 0C5.372 0 0 5.372 0 12c0 5.302 3.438 9.8 8.205 11.387.6.111.82-.26.82-.577v-2.234c-3.338.726-4.042-1.415-4.042-1.415-.546-1.387-1.333-1.757-1.333-1.757-1.09-.745.083-.729.083-.729 1.205.084 1.839 1.238 1.839 1.238 1.07 1.835 2.805 1.305 3.492.998.107-.774.419-1.305.762-1.605-2.665-.303-5.467-1.333-5.467-5.931 0-1.31.467-2.382 1.235-3.221-.124-.303-.535-1.523.117-3.176 0 0 1.008-.322 3.302 1.23a11.53 11.53 0 013.006-.404c1.02.005 2.047.138 3.006.404 2.292-1.552 3.298-1.23 3.298-1.23.653 1.653.243 2.873.12 3.176.77.84 1.233 1.911 1.233 3.221 0 4.61-2.807 5.624-5.479 5.921.43.37.823 1.103.823 2.222v3.293c0 .32.217.694.825.576C20.565 21.798 24 17.3 24 12c0-6.628-5.372-12-12-12z'/>
</svg>
GitHub
</a>
<a href='https://aabbtree77.github.io/pdfs/RamunasGirdziusasResume.pdf' target='_blank'
class='text-blue-400 hover:text-blue-600'>resume.pdf</a>
<a href='https://aabbtree77.github.io/cv/' target='_blank' class='text-blue-400 hover:text-blue-600'>cv (React)</a>
<a href='https://aabbtree77.github.io/pdfs/RamunasGirdziusasCV.pdf' target='_blank'
class='text-blue-400 hover:text-blue-600'>cv.pdf</a>
<a href='https://github.com/aabbtree77/aabbtree77-projects' target='_blank'
class='text-blue-400 hover:text-blue-600'>Projects</a>
<a href='https://aabbtree77.github.io/miniguestlog/loadGuestsSpinner.html' target='_blank'
class='text-blue-400 hover:text-blue-600'>Guests</a>
</div>"
>
CV
</li>
</ul>
<div
id="main-content"
class="flex-grow flex items-center justify-center text-2xl font-bold relative overflow-hidden"
>
<!-- Start with no content initially rendered -->
</div>
</div>
<script>
const tabs = document.querySelectorAll(".tab");
const mainContent = document.getElementById("main-content");
let lastActiveTab = null;
// Set up Web Audio API for sound effect
const audioContext = new (window.AudioContext ||
window.webkitAudioContext)();
function playBeepSound() {
const oscillator = audioContext.createOscillator();
const gainNode = audioContext.createGain();
oscillator.type = "sine";
oscillator.frequency.setValueAtTime(440, audioContext.currentTime); // 440 Hz (A4)
gainNode.gain.setValueAtTime(0.1, audioContext.currentTime); // Volume control
oscillator.connect(gainNode);
gainNode.connect(audioContext.destination);
oscillator.start();
oscillator.stop(audioContext.currentTime + 0.1); // Play for 0.1 seconds
}
function highlightTab(tab) {
tabs.forEach((t) =>
t.classList.remove("text-yellow-800", "font-bold", "underline")
);
tab.classList.add("text-blue-400", "font-bold", "underline");
}
function updateContent(tab) {
const newText = tab.dataset.content;
// Remove all existing content to prevent overlap
mainContent.innerHTML = "";
// Create a new div for animation
const newContent = document.createElement("div");
newContent.innerHTML = newText;
newContent.className =
"absolute inset-0 flex items-center justify-center animate-[swipe-in_0.5s_ease-out_forwards]";
// Append the new content
mainContent.appendChild(newContent);
}
tabs.forEach((tab) => {
tab.addEventListener("mouseenter", () => {
if (lastActiveTab !== tab) {
playBeepSound();
updateContent(tab);
highlightTab(tab);
lastActiveTab = tab;
}
});
});
// Initialize the first tab as active
const defaultTab = tabs[0];
lastActiveTab = defaultTab;
highlightTab(defaultTab);
updateContent(defaultTab);
</script>
</body>
</html>