-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
161 lines (149 loc) · 6.99 KB
/
Copy pathindex.html
File metadata and controls
161 lines (149 loc) · 6.99 KB
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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CosmoBlade Landing</title>
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;700&display=swap" rel="stylesheet">
<style>
* { box-sizing: border-box; }
html, body {
margin: 0; padding: 0;
font-family: 'IBM Plex Mono', monospace;
background-color: #000000; color: #ffffff;
scroll-behavior: smooth; line-height: 1.6;
}
.container { width: 90%; max-width: 1100px; margin: 0 auto; padding: 4rem 0; position: relative; z-index: 1; }
/* Навигация */
.navbar {
background-color: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(10px);
position: sticky; top: 0; z-index: 1000;
border-bottom: 1px solid #333;
transition: background 0.3s, border 0.3s;
}
.navbar .container { padding: 1rem 0; display: flex; justify-content: space-between; align-items: center; }
.nav-links a { margin-left: 2rem; text-decoration: none; color: #fff; font-weight: 500; }
.navbar.navbar-light { background-color: rgba(255, 255, 255, 0.9); border-bottom: 1px solid #ddd; }
.navbar.navbar-light a { color: #000; }
/* Частицы */
#particles-js {
position: fixed; width: 100%; height: 100%; z-index: 0; top: 0; left: 0;
mix-blend-mode: difference;
}
/* Секции */
.hero { min-height: 100vh; display: flex; align-items: center; }
.hero-content { display: flex; justify-content: space-between; align-items: center; gap: 4rem; }
.about { background: #ffffff; color: #000000; min-height: 100vh; display: flex; align-items: center; }
.code-block { background: #1e1e1e; border-radius: 12px; border: 1px solid #333; width: 100%; max-width: 450px; }
.window-header { background: #2d2d2d; padding: 12px; display: flex; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }
.code-block pre { padding: 25px; margin: 0; color: #a9b7c6; }
.btn { display: inline-block; padding: 12px 30px; border-radius: 8px; text-decoration: none; font-weight: 600; background-color: #fff; color: #000; }
.section-title { margin-bottom: 3rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; width: 100%; }
.card { background: #111; padding: 2rem; border-radius: 12px; border: 1px solid #333; transition: 0.3s; }
.card:hover { transform: translateY(-10px); border-color: #555; }
.card a { color: #007bff; text-decoration: none; margin-top: 10px; display: inline-block; }
</style>
</head>
<body>
<div id="particles-js"></div>
<header class="navbar">
<div class="container">
<div class="logo">Cosmoblade</div>
<nav class="nav-links">
<a href="#main">Main</a>
<a href="#about">About</a>
<a href="#projects">Projects</a>
<a href="#stack">Stack</a>
</nav>
</div>
</header>
<section id="main" class="hero">
<div class="container hero-content">
<div class="hero-left">
<h1>CosmoBlade</h1>
<p>Programming is an art.</p>
<a href="#about" class="btn">Let’s start!</a>
</div>
<div class="hero-right code-block">
<div class="window-header"><div class="dot red"></div><div class="dot yellow"></div><div class="dot green"></div></div>
<pre><code>PC = "Online"
if PC == "Online":
human.work()
else:
human.sleep()</code></pre>
</div>
</div>
</section>
<section id="about" class="about">
<div class="container">
<h2>About me:</h2>
<p>I'm 15 years old and have good computer skills. I've been interested in technology and programming since I was 9 years old. I dream of becoming a penetration tester.</p>
</div>
</section>
<section id="projects" style="padding: 4rem 0;">
<div class="container">
<h2 class="section-title">My Projects</h2>
<div class="cards">
<div class="card">
<h3>LetCode</h3>
<p>AI agent, highly customizable and multi-provider support</p>
<a href="https://github.com/CosmoBlade/LetCode" target="_blank">View on GitHub →</a>
</div>
<div class="card">
<h3>GoFetch</h3>
<p>A fast and lightweight utility for displaying system information.</p>
<a href="https://github.com/CosmoBlade/gofetch" target="_blank">View on GitHub →</a>
</div>
</div>
</div>
</section>
<section id="stack" class="container">
<h2 class="section-title">My stack</h2>
<div class="cards">
<div class="card"><h3>Python</h3><p>Middle dev</p></div>
<div class="card"><h3>Golang</h3><p>Middle dev</p></div>
<div class="card"><h3>Assembly</h3><p>Junior dev</p></div>
<div class="card"><h3>Bash</h3><p>Junior dev</p></div>
<div class="card"><h3>C++</h3><p>Junior dev</p></div>
<div class="card"><h3>JS</h3><p>Middle dev</p></div>
</div>
</section>
<script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>
<script>
particlesJS("particles-js", {
"particles": {
"number": {"value": 80},
"color": {"value": "#ffffff"},
"size": {"value": 2},
"line_linked": {"enable": true, "color": "#ffffff", "opacity": 0.4},
"move": {"enable": true, "speed": 1.5}
},
"interactivity": {
"detect_on": "window",
"events": {
"onhover": {"enable": true, "mode": "bubble"},
"onclick": {"enable": true, "mode": "push"}
},
"modes": {
"bubble": { "distance": 200, "size": 3, "duration": 2, "opacity": 1 },
"push": { "particles_nb": 4 }
}
},
"retina_detect": true
});
const navbar = document.querySelector('.navbar');
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.id === 'about' ? navbar.classList.add('navbar-light') : navbar.classList.remove('navbar-light');
}
});
}, { threshold: 0.5 });
document.querySelectorAll('section').forEach(s => observer.observe(s));
</script>
</body>
</html>