-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
173 lines (152 loc) · 5.79 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
<!DOCTYPE html>
<html lang="tr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Onur Çelik</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<style>
/* Genel stil */
body {
font-family: 'Arial', sans-serif;
transition: background-color 0.3s, color 0.3s;
margin: 0;
padding: 0;
}
.light-mode {
background-color: #fff;
color: #333;
}
.dark-mode {
background-color: #121212;
color: #ddd;
}
/* Gece-Gündüz butonu */
.mode-toggle {
position: fixed;
top: 20px;
right: 20px;
background-color: #e63946;
color: white;
padding: 15px;
border-radius: 50%;
font-size: 1.5rem;
cursor: pointer;
transition: background-color 0.3s, transform 0.3s;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.mode-toggle:hover {
background-color: #ff4d4d;
transform: scale(1.1);
}
/* Güneş ve Ay simgeleri */
.sun, .moon {
display: none;
}
.sun.active, .moon.active {
display: inline;
}
/* Alt kısmın logosu için stil */
.footer-logos {
display: flex;
justify-content: center;
gap: 30px;
margin-top: 40px;
padding: 20px;
background-color: #121212;
}
.footer-logos i {
font-size: 2.5rem;
color: #ddd;
transition: transform 0.3s, color 0.3s;
}
.footer-logos i:hover {
transform: scale(1.2);
color: #fff;
}
</style>
</head>
<!-- Gece/Gündüz modu butonu -->
<button class="mode-toggle" id="modeToggle">
<i class="fas fa-sun sun"></i>
<i class="fas fa-moon moon active"></i>
</button>
<script>
// Gece/Gündüz modunu değiştiren fonksiyon
const modeToggleButton = document.getElementById('modeToggle');
const sunIcon = document.querySelector('.sun');
const moonIcon = document.querySelector('.moon');
let isDarkMode = true; // Sayfa default olarak gece modunda başlasın
modeToggleButton.addEventListener('click', function() {
isDarkMode = !isDarkMode;
if (isDarkMode) {
document.body.classList.remove('light-mode');
document.body.classList.add('dark-mode');
sunIcon.classList.remove('active');
moonIcon.classList.add('active');
} else {
document.body.classList.remove('dark-mode');
document.body.classList.add('light-mode');
sunIcon.classList.add('active');
moonIcon.classList.remove('active');
}
});
</script>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Onur Çelik - Yazılım Geliştirici | Siber Güvenlik Uzmanı</title>
<link rel="stylesheet" href="css/style.css">
<style>
/* İz Efekti Stili */
.cursor-trail {
position: absolute;
width: 20px;
height: 20px;
background: radial-gradient(circle, rgba(255,255,255,0.7), transparent);
border-radius: 50%;
pointer-events: none;
transition: transform 0.1s ease;
mix-blend-mode: screen;
z-index: 9999;
}
</style>
</head>
<body>
<header>
<h1>Onur Çelik</h1>
<p>Yazılım Geliştirici | Siber Güvenlik Uzmanı</p>
<nav>
<a href="index.html">Anasayfa</a>
<a href="about.html">Hakkımda</a>
<a href="contact.html">İletişim</a>
<a href="projects.html">Projelerim</a>
</nav>
</header>
<main>
<section>
<h2>Sayfama Hoş Geldin!</h2>
<p>Merhaba, ismim Onur. Yazılım geliştirme ve siber güvenlik alanında ustalaşmak isteyen insanlardan biriyim, her daim kendimi bu alanda geliştirmekten zevk duyarım. Sürekli yeni şeyler öğrenir ve bunları pratiğe dökmekten asla kaçınmam</p>
</section>
</main>
<footer>
<p>© 2024 Onur Çelik. Tüm hakları saklıdır.</p>
<!-- Sosyal Medya ve Teknoloji Logoları -->
<div class="footer-logos">
<a href="https://github.com/onurlexa" target="_blank"><i class="fab fa-github"></i></a>
<a href="https://www.javascript.com/" target="_blank"><i class="fab fa-js"></i></a>
<a href="https://nodejs.org/" target="_blank"><i class="fab fa-node-js"></i></a>
<a href="https://dotnet.microsoft.com/" target="_blank"><i class="fab fa-microsoft"></i></a>
<a href="https://www.python.org/" target="_blank"><i class="fab fa-python"></i></a>
</div>
</footer>
<div class="cursor-trail" id="cursorTrail"></div>
<script>
// JavaScript ile İzi Hareket Ettirme
const cursorTrail = document.getElementById("cursorTrail");
document.addEventListener("mousemove", (e) => {
cursorTrail.style.transform = `translate(${e.pageX - 10}px, ${e.pageY - 10}px)`;
});
</script>
</body>
</html>