-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
262 lines (233 loc) · 11 KB
/
index.html
File metadata and controls
262 lines (233 loc) · 11 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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>KERNELS — presentation</title>
<meta name="description" content="KERNELS — Simplicity, precision, and well-crafted systems." />
<style>
:root{
--bg:#05070b;
--panel: rgba(255,255,255,0.03);
--muted: #9ca3af;
--text: #e9eef3;
--accent: #5eead4;
--glass: rgba(255,255,255,0.02);
}
*{box-sizing:border-box;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial; color:var(--text)}
html,body{height:100%;margin:0;background:var(--bg);overflow-x:hidden}
/* particles background */
#particles-js { position: fixed; inset: 0; z-index: 0; }
.wrap{position:relative;z-index:1;min-height:100vh;display:flex;flex-direction:column}
header{display:flex;align-items:center;justify-content:space-between;padding:28px 48px}
.brand{display:flex;gap:12px;align-items:center}
.logo{
width:52px;height:52px;border-radius:10px;background:linear-gradient(135deg,var(--accent),#62bdf1);
display:grid;place-items:center;font-weight:700;color:#021016;box-shadow:0 6px 24px rgba(6,8,10,0.6)
}
h1{font-size:14px;letter-spacing:0.12em;color:var(--accent);margin:0}
.nav a{color:var(--muted);text-decoration:none;margin-left:20px;font-size:14px}
.nav a:hover{color:var(--text);text-decoration:underline}
/* HERO / PRESENTATION */
.hero{display:grid;grid-template-columns:1fr 380px;gap:40px;padding:40px 48px 20px;align-items:center;max-width:1100px;margin:auto}
.intro{max-width:820px}
.intro h2{font-size:clamp(2.2rem,5vw,3.6rem);line-height:1; margin:0 0 12px}
.tag{color:var(--muted);margin-bottom:18px;font-size:16px}
.cta{display:flex;gap:12px;margin-top:18px}
.btn{
border-radius:10px;padding:10px 16px;border:1px solid rgba(255,255,255,0.06);
background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
color:var(--text);cursor:pointer;font-weight:600
}
.btn.primary{background:linear-gradient(180deg,var(--accent),#6feadc);color:#021016;border:none}
/* right column card */
.card{
background:var(--glass);border-radius:12px;padding:20px;border:1px solid rgba(255,255,255,0.04);
box-shadow:0 10px 30px rgba(2,4,6,0.6);
}
.card h3{margin:0 0 8px;font-size:18px}
.card p{margin:0;color:var(--muted);font-size:14px}
/* SECTIONS */
section{padding:48px 20px;max-width:1100px;margin:0 auto}
section h3{font-size:22px;margin:0 0 12px}
.grid{display:grid;gap:16px}
.projects-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));}
.repo{
background:linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.01));
border-radius:12px;padding:16px;border:1px solid rgba(255,255,255,0.035);
transition:transform .18s, border-color .18s;
}
.repo:hover{transform:translateY(-6px);border-color:var(--accent)}
.repo h4{margin:0 0 6px;font-size:16px}
.repo p{margin:0;color:var(--muted);font-size:13px}
.repo .meta{margin-top:10px;font-size:13px;color:var(--muted)}
/* qualities — each on its own line */
.qualities{display:flex;flex-direction:column;gap:12px;max-width:760px}
.quality{
background:var(--panel);padding:14px;border-radius:10px;border:1px solid rgba(255,255,255,0.04);
display:flex;align-items:center;gap:12px;
}
.quality b{min-width:180px}
/* philosophy / notes */
.muted{color:var(--muted)}
footer{padding:40px 48px;color:var(--muted);font-size:14px;text-align:center}
/* small responsive tweaks */
@media (max-width:900px){
.hero{grid-template-columns:1fr;padding:28px}
header{padding:18px}
.nav a{margin-left:12px}
.intro h2{font-size:36px}
.card{order:3}
}
</style>
</head>
<body>
<!-- neuronal / particles background -->
<div id="particles-js"></div>
<div class="wrap">
<header>
<div class="brand">
<div class="logo">K</div>
<div>
<h1>KERNELS</h1>
<div class="muted" style="font-size:12px">Simplicity · Precision · Well-crafted systems</div>
</div>
</div>
<nav class="nav" aria-label="Primary">
<a href="#projects">Projects</a>
<a href="#qualities">Qualities</a>
<a href="#philosophy">Philosophy</a>
<a href="https://github.com/Kernells" target="_blank">GitHub</a>
</nav>
</header>
<main>
<section class="hero" aria-label="Presentation">
<div class="intro">
<h2>Build the right thing. Make it last.</h2>
<div class="tag">I enjoy understanding how systems behave at their core and refining them until only what matters remains.</div>
<p class="muted">Clarity over noise — correctness over shortcuts. I tend to work quietly, focusing on building things the right way.</p>
<div class="cta">
<button class="btn primary" onclick="document.querySelector('#projects').scrollIntoView({behavior:'smooth'})">See projects</button>
<button class="btn" onclick="window.open('https://github.com/Kernells', '_blank')">Visit GitHub</button>
</div>
</div>
<aside class="card" aria-hidden="false">
<h3>At a glance</h3>
<p class="muted">Primary: <strong>C++</strong> — deep focus. <strong>C#</strong>, <strong>Java</strong> — practical experience.</p>
<hr style="margin:12px 0;border:none;border-top:1px solid rgba(255,255,255,0.03)">
<p style="font-size:13px;color:var(--muted)"><b>Principles</b><br>Minimalism · Precision · Quality</p>
</aside>
</section>
<section id="projects" aria-labelledby="projects-heading">
<h3 id="projects-heading">Projects</h3>
<p class="muted">Public work is on GitHub. Below are your latest public repositories (live from GitHub).</p>
<div id="repos" class="grid projects-grid" aria-live="polite">
<div class="repo" style="opacity:.6">Loading repositories…</div>
</div>
</section>
<section id="qualities" aria-labelledby="qualities-heading">
<h3 id="qualities-heading">Qualities & Principles</h3>
<div class="qualities" role="list">
<div class="quality" role="listitem"><b>Correctness</b><span class="muted">Deep attention to edge cases and robust behavior.</span></div>
<div class="quality" role="listitem"><b>Performance</b><span class="muted">Optimization guided by measurement, not guesswork.</span></div>
<div class="quality" role="listitem"><b>Maintainability</b><span class="muted">Clean abstractions and code that other engineers can reason about.</span></div>
<div class="quality" role="listitem"><b>Minimalism</b><span class="muted">Simpler solutions are preferred; unnecessary complexity removed.</span></div>
<div class="quality" role="listitem"><b>Quiet, deliberate</b><span class="muted">A preference for doing the right work carefully and without fanfare.</span></div>
</div>
</section>
<section id="philosophy">
<h3>Philosophy</h3>
<p class="muted" style="max-width:80ch">
Good software doesn’t draw attention to itself. It just works — and keeps working.
Most work here is experimental and detail-oriented; not everything needs to be flashy to be effective.
</p>
</section>
<section id="notes">
<h3>Notes</h3>
<p class="muted">Most of my work is experimental, detail-oriented, and driven by curiosity.
Not everything needs to be flashy to be effective.</p>
</section>
</main>
<footer>
View full project list on <a href="https://github.com/Kernells" style="color:var(--accent)" target="_blank">github.com/Kernells</a> · © <span id="year"></span>
</footer>
</div>
<!-- particles.js library (neuronal network style) -->
<script src="https://cdn.jsdelivr.net/npm/particles.js@2.0.0/particles.min.js"></script>
<script>
// footer year
document.getElementById('year').textContent = new Date().getFullYear();
// fetch repos
(function loadRepos(){
const container = document.getElementById('repos');
const username = 'Kernells';
const url = `https://api.github.com/users/${username}/repos?sort=updated&per_page=12`;
fetch(url)
.then(r => r.ok ? r.json() : Promise.reject(r))
.then(list => {
container.innerHTML = '';
if (!Array.isArray(list) || list.length === 0) {
container.innerHTML = '<div class="repo">No public repositories found.</div>';
return;
}
list.forEach(repo => {
const d = document.createElement('article');
d.className = 'repo';
const desc = repo.description ? `<p class="muted">${escapeHtml(repo.description)}</p>` : `<p class="muted">—</p>`;
const language = repo.language ? `<small style="color:var(--accent)">${escapeHtml(repo.language)}</small>` : '';
d.innerHTML = `<h4><a href="${repo.html_url}" target="_blank" style="color:var(--text);text-decoration:none">${escapeHtml(repo.name)}</a> ${language}</h4>${desc}
<div class="meta">⭐ ${repo.stargazers_count} · Updated ${new Date(repo.updated_at).toLocaleDateString()}</div>`;
container.appendChild(d);
});
}).catch(err => {
console.warn('repo fetch failed', err);
container.innerHTML = '<div class="repo">Could not load repositories — <a href="https://github.com/Kernells" style="color:var(--accent)">open on GitHub</a></div>';
});
function escapeHtml(s){ return (s||'').replace(/[&<>"']/g, m=>({ '&':'&','<':'<','>':'>','"':'"',"'":''' })[m]); }
})();
// particles.js config (neuronal / neurons connecting look)
particlesJS('particles-js', {
particles: {
number: {
value: 110,
density: { enable: true, value_area: 900 }
},
color: { value: "#9feee0" },
shape: { type: "circle" },
opacity: { value: 0.8, random: true, anim: { enable: true, speed: 0.6, opacity_min: 0.2, sync: false } },
size: { value: 2.2, random: true, anim: { enable: true, speed: 3, size_min: 0.4, sync: false } },
line_linked: {
enable: true,
distance: 140,
color: "#5eead4",
opacity: 0.45,
width: 1
},
move: {
enable: true,
speed: 1.6,
direction: "none",
random: true,
straight: false,
out_mode: "out",
bounce: false,
attract: { enable: false, rotateX: 600, rotateY: 1200 }
}
},
interactivity: {
detect_on: "canvas",
events: {
onhover: { enable: true, mode: "grab" }, // connect to cursor
onclick: { enable: true, mode: "repulse" }, // pulse on click
resize: true
},
modes: {
grab: { distance: 170, line_linked: { opacity: 0.9 } },
repulse: { distance: 200, duration: 0.6 }
}
},
retina_detect: true
});
</script>
</body>
</html>