-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
138 lines (125 loc) · 3.36 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="I am a Web Penetration Tester & Bug Bounty Hunter">
<meta name="author" content="web.cipher">
<title> Web Security </title>
<link href="https://fonts.googleapis.com/css2?family=SF+Pro+Display:wght@400;600;700&display=swap" rel="stylesheet">
<style>
:root {
--bg-color: #0d1117;
--text-color: #c9d1d9;
--accent-color: #58a6ff;
--secondary-text: #8b949e;
--footer-color: #6e7681;
}
[data-theme="light"] {
--bg-color: #ffffff;
--text-color: #24292e;
--accent-color: #0366d6;
--secondary-text: #586069;
--footer-color: #6a737d;
}
body {
font-family: 'SF Pro Display', sans-serif;
margin: 0;
padding: 0;
background-color: var(--bg-color);
color: var(--text-color);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
text-align: center;
overflow: hidden;
transition: background-color 0.3s, color 0.3s;
}
h1 {
font-size: 3rem;
margin: 0;
color: var(--accent-color);
animation: glow 1.5s infinite alternate;
}
p {
font-size: 1.2rem;
margin: 1rem 0;
color: var(--secondary-text);
}
footer {
margin-top: 2rem;
font-size: 0.9rem;
color: var(--footer-color);
}
footer strong {
color: var(--accent-color);
}
img, .gif {
max-width: 100%;
height: auto;
margin: 1rem 0;
border-radius: 10px;
}
.switch {
position: absolute;
top: 20px;
right: 20px;
display: flex;
align-items: center;
cursor: pointer;
background-color: var(--accent-color);
border-radius: 15px;
padding: 5px;
width: 50px;
height: 25px;
transition: background-color 0.3s;
}
.switch-circle {
background-color: var(--bg-color);
border-radius: 50%;
height: 20px;
width: 20px;
transition: transform 0.3s, background-color 0.3s;
}
[data-theme="light"] .switch-circle {
transform: translateX(25px);
}
@keyframes glow {
from {
text-shadow: 0 0 10px var(--accent-color), 0 0 20px var(--accent-color), 0 0 30px #1f6feb;
}
to {
text-shadow: 0 0 20px var(--accent-color), 0 0 30px #1f6feb, 0 0 40px #1f6feb;
}
}
</style>
</head>
<body>
<div class="switch" id="themeToggle">
<div class="switch-circle"></div>
</div>
<h1>Hello! 👋</h1>
<img src="https://raw.githubusercontent.com/web-cipher-007/xss-hunter_express/refs/heads/main/GIF%20from%20GIFER.gif" alt="Hacking Animation" class="gif">
<p>I am a Web Penetration Tester & Bug Bounty Hunter.</p>
<footer>
<p>LinkedIn profile: <strong><a href="https://www.linkedin.com/in/sandeshpoudel007" target="_blank">web.cipher</a></strong></p>
</footer>
<script>
document.addEventListener("DOMContentLoaded", () => {
const themeToggle = document.getElementById('themeToggle');
const body = document.body;
// Initialize theme
const currentTheme = localStorage.getItem('theme') || 'dark';
body.setAttribute('data-theme', currentTheme);
// Toggle theme on click
themeToggle.addEventListener('click', () => {
const theme = body.getAttribute('data-theme') === 'light' ? 'dark' : 'light';
body.setAttribute('data-theme', theme);
localStorage.setItem('theme', theme); // Save preference
});
});
</script>
</body>
</html>