-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
98 lines (84 loc) · 5.91 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
<!DOCTYPE html>
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/x-icon" href="./assets/favicon.ico">
<link href="./css/css2" rel="stylesheet">
<title>saad.bio</title>
<meta name="description" content="Hey!"> <!-- Meta description for discord/twitter/whatsapp/imessage embeds n stuff -->
<link rel="stylesheet" href="./css/normalize.css">
<link rel="stylesheet" href="./css/index.css">
</head>
<body class="bg-shinyGray overflow-x-hidden">
<div id="container" class="flex flex-col items-center justify-center" style="margin-top: 8%;">
<div class="flex flex-col items-center justify-center pt-40 text-center">
<div class="flex flex-col items-center justify-center pt-40 text-center logo-box">
<img src="./assets/svloogz.png" width="70" id="logo-img" onclick="logoClick()">
<script>
function delay(time) {
return new Promise(resolve => setTimeout(resolve, time));
}
async function logoClick() {
document.getElementById("logo-img").src="./assets/svloogz-blink.png";
await delay(300);
document.getElementById("logo-img").src="./assets/svloogz.png";
}
</script>
</div>
<span class="text-2xl md:text-5xl font-semibold text-white" id="txt1">I am a <t class="e"><t class="header-sub-title" id="word"></t><t class="header-sub-title blink">_</t></t></span>
<div class="flex flex-col md:flex-row mt-8 menu-holder" style="margin-top:0">
<a href="./projects.html" class="text-2xl hvr-grow blurple-hover bg-blurple p-4 md:px-8 mx-4 my-4 rounded-lg" id="btn2" style="margin-right: 10px;"><svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 24 24" class="projectsicon"><path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"></path></svg></a>
<div class="vertical-line" style="height: 45px;"></div>
<a href="https://github.com/slvoog" target="_blank" class="text-2xl hvr-grow blurple-hover bg-blurple p-4 md:px-8 mx-4 my-4 rounded-lg" id="btn1" style="margin-left: 10px; margin-right: 10px;"><svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 24 24" class="githubicon"><path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/></svg></a>
<a href="mailto:me@saad.bio" class="text-2xl hvr-grow blurple-hover bg-blurple p-4 md:px-8 mx-4 my-4 rounded-lg" id="btn3" style="margin-left: 10px; margin-right: 10px;"><svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 24 24" class="emailicon" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="butt" stroke-linejoin="arcs"><circle cx="12" cy="12" r="4"></circle><path d="M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.92 7.94"></path></svg></a>
<a href="https://twitter.com/svloogz" target="_blank" class="text-2xl hvr-grow blurple-hover bg-blurple p-4 md:px-8 mx-4 my-4 rounded-lg" id="btn4" style="margin-left: 10px; margin-right: 10px;"><svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 24 24" class="twittericon"><path d="M24 4.37a9.6 9.6 0 0 1-2.83.8 5.04 5.04 0 0 0 2.17-2.8c-.95.58-2 1-3.13 1.22A4.86 4.86 0 0 0 16.61 2a4.99 4.99 0 0 0-4.79 6.2A13.87 13.87 0 0 1 1.67 2.92 5.12 5.12 0 0 0 3.2 9.67a4.82 4.82 0 0 1-2.23-.64v.07c0 2.44 1.7 4.48 3.95 4.95a4.84 4.84 0 0 1-2.22.08c.63 2.01 2.45 3.47 4.6 3.51A9.72 9.72 0 0 1 0 19.74 13.68 13.68 0 0 0 7.55 22c9.06 0 14-7.7 14-14.37v-.65c.96-.71 1.79-1.6 2.45-2.61z"/></svg></a>
</div>
</div>
<script>
const words = ["graphic designer", "web developer", "node.js developer", "creative thinker"];
let i = 0;
let timer;
function typingEffect() {
let word = words[i].split("");
var loopTyping = function() {
if (word.length > 0) {
document.getElementById('word').innerHTML += word.shift();
} else {
deletingEffect();
return false;
};
timer = setTimeout(loopTyping, 150);
};
loopTyping();
};
function deletingEffect() {
let word = words[i].split("");
var loopDeleting = function() {
if (word.length > 0) {
word.pop();
document.getElementById('word').innerHTML = word.join("");
} else {
if (words.length > (i + 1)) {
i++;
} else {
i = 0;
};
typingEffect();
return false;
};
timer = setTimeout(loopDeleting, 100);
};
loopDeleting();
};
typingEffect();
</script>
<div id="container" class="flex flex-col items-center justify-center">
<div class="flex flex-col items-center justify-center pt-40 text-center" style="padding-top: 0;">
<span class="text-2xl md:text-5xl font-semibold text-white"></span>
<div class="flex flex-col md:flex-row mt-8" style="margin-top: 0;">
</div>
<pre>
<div class="flex flex-row items-center justify-center">
<span class="text-lg text-gray-400 font-semibold" id="txt69"><a href="https://github.com/slvoog" id="github">Copyright © saad.bio</a></span>
</div>
</pre></div>
</div></pre></div></body></html>