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
+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>