mirror of
https://github.com/shadoll/m5y.git
synced 2026-08-28 03:27:16 +00:00
359 lines
8.7 KiB
HTML
359 lines
8.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Mykolay Ponomarenko</title>
|
|
<style>
|
|
:root {
|
|
color-scheme: dark;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html, body {
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
background: #05060a;
|
|
color: #f5f5f7;
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
}
|
|
|
|
.page {
|
|
height: 100vh;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
scroll-snap-type: y mandatory;
|
|
}
|
|
|
|
.screen {
|
|
min-height: 100vh;
|
|
scroll-snap-align: start;
|
|
scroll-snap-stop: always;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Screen 1 — hero */
|
|
#home main {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
gap: 1.5rem;
|
|
padding: 2rem 1rem;
|
|
}
|
|
|
|
.star-wrap {
|
|
width: min(40vw, 220px);
|
|
height: min(40vw, 220px);
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.star-glow {
|
|
position: absolute;
|
|
inset: -30%;
|
|
background: radial-gradient(circle, rgba(255, 214, 102, 0.35) 0%, rgba(255, 214, 102, 0) 70%);
|
|
filter: blur(6px);
|
|
animation: pulse 3.2s ease-in-out infinite;
|
|
}
|
|
|
|
svg.star {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: relative;
|
|
transform-origin: center;
|
|
animation: spin 12s linear infinite, twinkle 3.2s ease-in-out infinite;
|
|
filter: drop-shadow(0 0 12px rgba(255, 214, 102, 0.8));
|
|
}
|
|
|
|
svg.star polygon {
|
|
fill: url(#starGradient);
|
|
}
|
|
|
|
@keyframes spin {
|
|
from { transform: rotate(0deg); }
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
@keyframes twinkle {
|
|
0%, 100% { transform: scale(1); opacity: 1; }
|
|
50% { transform: scale(1.08); opacity: 0.85; }
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% { opacity: 0.6; transform: scale(1); }
|
|
50% { opacity: 1; transform: scale(1.15); }
|
|
}
|
|
|
|
.name {
|
|
font-weight: 600;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.name .line {
|
|
display: block;
|
|
font-size: clamp(1.6rem, 5vw, 2.75rem);
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.scroll-cue {
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 0 0 1.75rem;
|
|
}
|
|
|
|
.scroll-cue a {
|
|
color: #8a8f98;
|
|
text-decoration: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
font-size: 0.75rem;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.scroll-cue a:hover {
|
|
color: #ffd666;
|
|
}
|
|
|
|
.scroll-cue svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
animation: bob 1.8s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes bob {
|
|
0%, 100% { transform: translateY(0); }
|
|
50% { transform: translateY(6px); }
|
|
}
|
|
|
|
/* Screen 2 — apps */
|
|
#apps {
|
|
padding: 3.5rem 1.5rem 0;
|
|
background: linear-gradient(180deg, #05060a 0%, #0a0c14 100%);
|
|
}
|
|
|
|
.apps-content {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.apps-header {
|
|
text-align: center;
|
|
margin-bottom: 2.25rem;
|
|
}
|
|
|
|
.apps-header h2 {
|
|
font-size: clamp(1.3rem, 3.5vw, 1.8rem);
|
|
font-weight: 600;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.apps-header p {
|
|
color: #8a8f98;
|
|
font-size: 0.95rem;
|
|
margin-top: 0.4rem;
|
|
}
|
|
|
|
.apps-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 240px));
|
|
gap: 1.25rem;
|
|
width: 100%;
|
|
max-width: 62rem;
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.apps-grid {
|
|
grid-template-columns: minmax(0, 320px);
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
.app-card {
|
|
--accent: #ffd666;
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
padding: 1.5rem;
|
|
border-radius: 1.1rem;
|
|
background: #0d0f18;
|
|
border: 1px solid #1c1f2b;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
.app-card:hover,
|
|
.app-card:focus-visible {
|
|
transform: translateY(-4px);
|
|
border-color: var(--accent);
|
|
box-shadow: 0 12px 32px -12px color-mix(in srgb, var(--accent) 60%, transparent);
|
|
}
|
|
|
|
.app-icon {
|
|
width: 56px;
|
|
height: 56px;
|
|
border-radius: 14px;
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.6);
|
|
}
|
|
|
|
.app-icon img {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.app-card h3 {
|
|
font-size: 1.05rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.app-card p {
|
|
color: #9a9fa8;
|
|
font-size: 0.85rem;
|
|
line-height: 1.45;
|
|
flex: 1;
|
|
}
|
|
|
|
.app-card .visit {
|
|
color: var(--accent);
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.03em;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.3rem;
|
|
}
|
|
|
|
.app-card .visit svg {
|
|
width: 12px;
|
|
height: 12px;
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.app-card:hover .visit svg {
|
|
transform: translate(2px, -2px);
|
|
}
|
|
|
|
footer {
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 2rem 1rem 1.25rem;
|
|
}
|
|
|
|
footer a {
|
|
color: #8a8f98;
|
|
text-decoration: none;
|
|
font-size: 0.9rem;
|
|
letter-spacing: 0.03em;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
footer a:hover {
|
|
color: #ffd666;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.page {
|
|
scroll-snap-type: none;
|
|
}
|
|
svg.star, .star-glow, .scroll-cue svg {
|
|
animation: none;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="page">
|
|
<section id="home" class="screen">
|
|
<main>
|
|
<div class="star-wrap">
|
|
<div class="star-glow"></div>
|
|
<svg class="star" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
|
|
<defs>
|
|
<linearGradient id="starGradient" x1="0%" y1="0%" x2="100%" y2="100%">
|
|
<stop offset="0%" stop-color="#fff6d9"/>
|
|
<stop offset="50%" stop-color="#ffd666"/>
|
|
<stop offset="100%" stop-color="#ff9f43"/>
|
|
</linearGradient>
|
|
</defs>
|
|
<polygon points="50,3 61,37 97,37 68,58 79,92 50,71 21,92 32,58 3,37 39,37"/>
|
|
</svg>
|
|
</div>
|
|
<div class="name">
|
|
<span class="line">Mykolay</span>
|
|
<span class="line">Ponomarenko</span>
|
|
</div>
|
|
</main>
|
|
<div class="scroll-cue">
|
|
<a href="#apps" aria-label="Scroll to apps and games">
|
|
<span>Apps & Games</span>
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
<polyline points="6 9 12 15 18 9"/>
|
|
</svg>
|
|
</a>
|
|
</div>
|
|
</section>
|
|
|
|
<section id="apps" class="screen">
|
|
<div class="apps-content">
|
|
<div class="apps-header">
|
|
<h2>Apps & Games</h2>
|
|
<p>Small browser games, built for fun.</p>
|
|
</div>
|
|
<div class="apps-grid">
|
|
<a class="app-card" style="--accent:#4fa583" href="https://worder.shadoll.com" target="_blank" rel="noopener noreferrer">
|
|
<div class="app-icon"><img src="icons/worder.svg" alt="" width="56" height="56" /></div>
|
|
<h3>Worder</h3>
|
|
<p>A Wordle-style word-guessing game, in English and Ukrainian.</p>
|
|
<span class="visit">Play
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M7 17 17 7"/><path d="M7 7h10v10"/></svg>
|
|
</span>
|
|
</a>
|
|
<a class="app-card" style="--accent:#5a6fd8" href="https://wordweave.shadoll.com" target="_blank" rel="noopener noreferrer">
|
|
<div class="app-icon"><img src="icons/wordweave.svg" alt="" width="56" height="56" /></div>
|
|
<h3>Wordweave</h3>
|
|
<p>A themed word-search puzzle across categories and difficulties.</p>
|
|
<span class="visit">Play
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M7 17 17 7"/><path d="M7 7h10v10"/></svg>
|
|
</span>
|
|
</a>
|
|
<a class="app-card" style="--accent:#3949ab" href="https://coshin.shadoll.com" target="_blank" rel="noopener noreferrer">
|
|
<div class="app-icon"><img src="icons/coshin.svg" alt="" width="56" height="56" /></div>
|
|
<h3>coShin</h3>
|
|
<p>A full-screen colour flasher — cycles through your colours on a timer.</p>
|
|
<span class="visit">Play
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M7 17 17 7"/><path d="M7 7h10v10"/></svg>
|
|
</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<footer>
|
|
<a href="https://shadoll.dev" target="_blank" rel="noopener noreferrer">shadoll</a>
|
|
</footer>
|
|
</section>
|
|
</div>
|
|
</body>
|
|
</html>
|