-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
85 lines (77 loc) · 3.21 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Krdnc | Home</title>
<link rel="stylesheet" type="text/css" href="./assets/css/index.css">
</head>
<body>
<img src="./assets/images/bg.png" class="bg">
<div class="menu-container">
<div class="menu-toggle" id="menuToggle">
<div class="bar"></div>
<div class="bar"></div>
<div class="bar"></div>
</div>
<div class="button-container inactive" id="buttonContainer">
<button class="button" onclick="location.href='index.html'"><img src="./assets/images/home.svg" alt="home icon"></button>
<button class="button" onclick="location.href='projects.html'"><img src="./assets/images/work.svg" alt="projects icon"></button>
<button class="button">icon 3</button>
<button class="button">icon 4</button>
</div>
</div>
<div class="typing-container">
<h1>I'm <span id="typed"></span> 👋</h1>
</div>
<div class="flex-container">
<div class="content">
<h2>Blaze</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et
dolore.</p>
</div>
<div class="content2">
<h2>Sentry</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et
dolore.</p>
</div>
<img src="./assets/images/active.png" class="active-projects">
</div>
<div class="footer">
<p>Code by <a href="https://github.com/kredencos" target="_blank">Kredencos</a><br>Design by <a
href="https://github.com/yymqn" target="_blank">ymqn</a><br>© <a href="https://github.com/kredencos"
target="_blank">Kredencos</a> 2024</p>
</div>
<!--typing effect script-->
<script src="https://cdn.jsdelivr.net/npm/typed.js@2.0.12"></script>
<script>
document.addEventListener("DOMContentLoaded", function () {
var options = {
strings: ["Kredenc", "Houska", "Kredencos"],
typeSpeed: 80,
backSpeed: 50,
backDelay: 1500,
startDelay: 500,
loop: true
};
var typed = new Typed("#typed", options);
});
//menu script
document.getElementById('menuToggle').addEventListener('click', function () {
this.classList.toggle('active');
document.getElementById('buttonContainer').classList.toggle('active');
document.getElementById('buttonContainer').classList.toggle('inactive');
});
</script>
<!--ko-fi widget-->
<script src='https://storage.ko-fi.com/cdn/scripts/overlay-widget.js'></script>
<script>
kofiWidgetOverlay.draw('kredencos', {
'type': 'floating-chat',
'floating-chat.donateButton.text': 'Support Me',
'floating-chat.donateButton.background-color': 'rgba(255, 255, 255, 0.1)',
'floating-chat.donateButton.text-color': '#ffffff'
});
</script>
</body>
</html>