added apps

This commit is contained in:
sha
2026-07-25 16:51:21 +03:00
parent 9f157e48ac
commit 473f9a00c9
5 changed files with 365 additions and 32 deletions
+4 -3
View File
@@ -9,9 +9,10 @@ Live at [m5y.p9o.uk](https://m5y.p9o.uk).
## What it is
- A single `index.html`, no build step, no dependencies
- An animated glowing star (pure SVG + CSS)
- "Mykolay Ponomarenko" centered on the page
- A footer pinned to the bottom, linking to [shadoll.dev](https://shadoll.dev)
- Two full-height screens with scroll-snap between them:
1. **Home** — an animated glowing star (pure SVG + CSS) and "Mykolay Ponomarenko" centered on the page, with a "scroll for apps" cue at the bottom
2. **Apps & Games** — cards linking to [worder](https://worder.shadoll.com), [wordweave](https://wordweave.shadoll.com), and [coshin](https://coshin.shadoll.com), each using that game's own icon (in `icons/`, copied from its source repo) and accent color
- A footer at the bottom of the second screen, linking to [shadoll.dev](https://shadoll.dev)
## Running locally
+37
View File
@@ -0,0 +1,37 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="1024" height="1024">
<defs>
<linearGradient id="bg" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#6b78e0"/>
<stop offset="55%" stop-color="#3949ab"/>
<stop offset="100%" stop-color="#232c6e"/>
</linearGradient>
<linearGradient id="sheen" x1="0" y1="0" x2="0" y2="1">
<stop offset="0%" stop-color="#ffffff" stop-opacity="0.32"/>
<stop offset="45%" stop-color="#ffffff" stop-opacity="0.05"/>
<stop offset="46%" stop-color="#ffffff" stop-opacity="0"/>
</linearGradient>
<radialGradient id="glow" cx="30%" cy="22%" r="75%">
<stop offset="0%" stop-color="#ffffff" stop-opacity="0.22"/>
<stop offset="100%" stop-color="#ffffff" stop-opacity="0"/>
</radialGradient>
</defs>
<rect width="1024" height="1024" fill="url(#bg)"/>
<rect width="1024" height="1024" fill="url(#glow)"/>
<!-- Radiating flash rings -->
<g fill="none" stroke="#ffffff">
<circle cx="512" cy="512" r="420" stroke-width="14" stroke-opacity="0.16"/>
<circle cx="512" cy="512" r="340" stroke-width="20" stroke-opacity="0.28"/>
<circle cx="512" cy="512" r="260" stroke-width="26" stroke-opacity="0.45"/>
</g>
<!-- Core flash -->
<circle cx="512" cy="512" r="188" fill="#ffffff"/>
<!-- Colour-cycle dots (the app's own default flash colours) -->
<circle cx="256" cy="256" r="76" fill="#e53935"/>
<circle cx="768" cy="768" r="76" fill="#fdd835"/>
<rect width="1024" height="512" fill="url(#sheen)"/>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

+36
View File
@@ -0,0 +1,36 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="1024" height="1024">
<defs>
<linearGradient id="bg" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#7bc86c"/>
<stop offset="55%" stop-color="#4fa583"/>
<stop offset="100%" stop-color="#2f7d7a"/>
</linearGradient>
<linearGradient id="sheen" x1="0" y1="0" x2="0" y2="1">
<stop offset="0%" stop-color="#ffffff" stop-opacity="0.32"/>
<stop offset="45%" stop-color="#ffffff" stop-opacity="0.05"/>
<stop offset="46%" stop-color="#ffffff" stop-opacity="0"/>
</linearGradient>
<radialGradient id="glow" cx="30%" cy="22%" r="75%">
<stop offset="0%" stop-color="#ffffff" stop-opacity="0.22"/>
<stop offset="100%" stop-color="#ffffff" stop-opacity="0"/>
</radialGradient>
</defs>
<rect width="1024" height="1024" fill="url(#bg)"/>
<rect width="1024" height="1024" fill="url(#glow)"/>
<!-- Five-letter guess row: absent / absent / present / correct / absent -->
<g>
<rect x="28" y="428" width="168" height="168" rx="28" fill="#ffffff" fill-opacity="0.22"/>
<rect x="228" y="428" width="168" height="168" rx="28" fill="#ffffff" fill-opacity="0.22"/>
<rect x="428" y="428" width="168" height="168" rx="28" fill="#ffd166"/>
<rect x="628" y="428" width="168" height="168" rx="28" fill="#ffffff"/>
<rect x="828" y="428" width="168" height="168" rx="28" fill="#ffffff" fill-opacity="0.22"/>
</g>
<g fill="#2f7d7a" font-family="Helvetica, Arial, sans-serif" font-weight="700" font-size="120" text-anchor="middle">
<text x="712" y="555">W</text>
</g>
<rect width="1024" height="512" fill="url(#sheen)"/>
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

+57
View File
@@ -0,0 +1,57 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024" width="1024" height="1024">
<defs>
<linearGradient id="bg" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#7b8cf0"/>
<stop offset="55%" stop-color="#5a6fd8"/>
<stop offset="100%" stop-color="#3d4aa8"/>
</linearGradient>
<linearGradient id="sheen" x1="0" y1="0" x2="0" y2="1">
<stop offset="0%" stop-color="#ffffff" stop-opacity="0.32"/>
<stop offset="45%" stop-color="#ffffff" stop-opacity="0.05"/>
<stop offset="46%" stop-color="#ffffff" stop-opacity="0"/>
</linearGradient>
<radialGradient id="glow" cx="30%" cy="22%" r="75%">
<stop offset="0%" stop-color="#ffffff" stop-opacity="0.22"/>
<stop offset="100%" stop-color="#ffffff" stop-opacity="0"/>
</radialGradient>
</defs>
<rect width="1024" height="1024" fill="url(#bg)"/>
<rect width="1024" height="1024" fill="url(#glow)"/>
<g fill="#ffffff" fill-opacity="0.22">
<rect x="100" y="100" width="188" height="188" rx="32"/>
<rect x="312" y="100" width="188" height="188" rx="32"/>
<rect x="524" y="100" width="188" height="188" rx="32"/>
<rect x="736" y="100" width="188" height="188" rx="32"/>
<rect x="100" y="312" width="188" height="188" rx="32"/>
<rect x="736" y="312" width="188" height="188" rx="32"/>
<rect x="100" y="524" width="188" height="188" rx="32"/>
<rect x="736" y="524" width="188" height="188" rx="32"/>
<rect x="100" y="736" width="188" height="188" rx="32"/>
<rect x="312" y="736" width="188" height="188" rx="32"/>
<rect x="524" y="736" width="188" height="188" rx="32"/>
<rect x="736" y="736" width="188" height="188" rx="32"/>
</g>
<g fill="#ffffff">
<rect x="312" y="312" width="188" height="188" rx="32"/>
<rect x="524" y="312" width="188" height="188" rx="32"/>
<rect x="312" y="524" width="188" height="188" rx="32"/>
<rect x="524" y="524" width="188" height="188" rx="32"/>
</g>
<g stroke="#ffd166" stroke-width="23" stroke-linecap="round" fill="none">
<line x1="406" y1="406" x2="618" y2="618"/>
</g>
<g fill="#ffd166">
<circle cx="406" cy="406" r="64"/>
<circle cx="618" cy="618" r="64"/>
</g>
<g fill="#3d4aa8" font-family="Helvetica, Arial, sans-serif" font-weight="700" font-size="94" text-anchor="middle">
<text x="406" y="439">1</text>
<text x="618" y="651">2</text>
</g>
<rect width="1024" height="512" fill="url(#sheen)"/>
</svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

+231 -29
View File
@@ -23,13 +23,25 @@
background: #05060a;
color: #f5f5f7;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
display: flex;
flex-direction: column;
min-height: 100vh;
overflow-x: hidden;
}
main {
.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;
@@ -96,10 +108,152 @@
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 {
justify-content: center;
align-items: center;
padding: 3.5rem 1.5rem 1.5rem;
background: linear-gradient(180deg, #05060a 0%, #0a0c14 100%);
}
.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: 1.25rem 1rem;
padding: 2rem 1rem 1.25rem;
}
footer a {
@@ -115,34 +269,82 @@
}
@media (prefers-reduced-motion: reduce) {
svg.star, .star-glow {
.page {
scroll-snap-type: none;
}
svg.star, .star-glow, .scroll-cue svg {
animation: none;
}
}
</style>
</head>
<body>
<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>
<footer>
<a href="https://shadoll.dev" target="_blank" rel="noopener noreferrer">shadoll</a>
</footer>
<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 &amp; 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-header">
<h2>Apps &amp; 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>
<footer>
<a href="https://shadoll.dev" target="_blank" rel="noopener noreferrer">shadoll</a>
</footer>
</section>
</div>
</body>
</html>