Skip to content

Commit 3f25d69

Browse files
committed
Build animated Volovyk construction page
1 parent 8796914 commit 3f25d69

6 files changed

Lines changed: 538 additions & 192 deletions

File tree

‎README.md‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,25 @@ The site includes multiple layers of search engine protection:
6969

7070
## Development
7171

72+
The construction page uses plain HTML, CSS, and JavaScript. It needs no build step or JavaScript libraries.
73+
74+
To preview this page:
75+
76+
```bash
77+
python3 -m http.server 4173 --bind 127.0.0.1
78+
```
79+
80+
Open `http://127.0.0.1:4173` in your browser.
81+
82+
- `assets/css/construction.css` controls the page layout and colors.
83+
- `assets/js/signal-animation.js` draws the pixel ribbon with Canvas 2D.
84+
- The ribbon cycles between the signal scene and bracket waves. Each scene holds for seven seconds, then crossfades for three seconds.
85+
- Square and diamond heads follow the signal paths, with segmented tails that turn at each corner.
86+
- The page uses the dark palette from [Herdr](https://herdr.dev/). CSS color variables also supply the canvas colors.
87+
- The animation runs at about 24 frames per second. It pauses when the tab is hidden.
88+
- The animation plays automatically. Reduced-motion settings select a still frame.
89+
- Keep `index.html` and `under-construction.html` in sync when you edit the construction page.
90+
7291
To run the site locally:
7392

7493
```bash

‎_config.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ exclude:
2626
- LICENSE.md
2727
- LICENSE
2828
- README.md
29+
- design-qa.md

‎assets/css/construction.css‎

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
/* Herdr dark-theme palette, checked at https://herdr.dev/ on 2026-09-20. */
2+
:root {
3+
color-scheme: dark;
4+
--background: #17171a;
5+
--foreground: #eae8ee;
6+
--accent: #cba6f7;
7+
--signal-teal: #94e2d5;
8+
--signal-green: #a6e3a1;
9+
--signal-yellow: #f9e2af;
10+
--muted: #b0afb6;
11+
--gutter: clamp(24px, 3.8vw, 72px);
12+
--mono: Menlo, Consolas, "Liberation Mono", monospace;
13+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
14+
color: var(--foreground);
15+
background: var(--background);
16+
}
17+
18+
* { box-sizing: border-box; }
19+
20+
body {
21+
margin: 0;
22+
min-width: 280px;
23+
min-height: 100svh;
24+
display: flex;
25+
flex-direction: column;
26+
}
27+
28+
a { -webkit-tap-highlight-color: transparent; }
29+
a { color: inherit; text-decoration: none; }
30+
::selection { color: var(--background); background: var(--accent); }
31+
32+
a:focus-visible {
33+
outline: 2px solid var(--foreground);
34+
outline-offset: 6px;
35+
}
36+
37+
.masthead {
38+
display: flex;
39+
justify-content: space-between;
40+
align-items: center;
41+
gap: 24px;
42+
padding: 40px var(--gutter) 24px;
43+
}
44+
45+
.wordmark {
46+
font-size: 25px;
47+
font-weight: 700;
48+
letter-spacing: .24em;
49+
text-transform: uppercase;
50+
}
51+
52+
.site-status {
53+
display: flex;
54+
align-items: center;
55+
gap: 16px;
56+
color: var(--accent);
57+
font-family: var(--mono);
58+
font-size: 14px;
59+
letter-spacing: .12em;
60+
text-transform: uppercase;
61+
white-space: nowrap;
62+
}
63+
64+
.status-light { width: 15px; height: 15px; background: var(--accent); }
65+
main { flex: 1; display: flex; flex-direction: column; }
66+
.intro { padding: 54px var(--gutter) 58px; }
67+
68+
h1 {
69+
margin: 0;
70+
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
71+
font-size: clamp(72px, 10.1vw, 168px);
72+
font-weight: 850;
73+
letter-spacing: -.035em;
74+
line-height: .88;
75+
}
76+
77+
.contact-row { display: flex; align-items: center; gap: 36px; margin-top: 30px; }
78+
79+
.contact-button {
80+
display: inline-flex;
81+
align-items: center;
82+
justify-content: center;
83+
gap: 16px;
84+
min-height: 54px;
85+
padding: 14px 28px;
86+
background: var(--accent);
87+
color: var(--background);
88+
font: 600 16px/1.4 var(--mono);
89+
transition: background-color 160ms ease;
90+
}
91+
92+
.contact-button:hover { background: var(--foreground); }
93+
.contact-button span { font-size: 23px; line-height: 1; }
94+
.company-detail { margin: 0; color: var(--muted); font: 15px/1.6 var(--mono); }
95+
.signal { margin-top: auto; }
96+
97+
#signal-canvas {
98+
display: block;
99+
width: 100%;
100+
height: clamp(240px, 20vw, 360px);
101+
}
102+
103+
@media (min-width: 1800px) {
104+
.intro { padding-top: 90px; padding-bottom: 80px; }
105+
}
106+
107+
@media (max-width: 700px) {
108+
.masthead { padding-top: 28px; }
109+
.wordmark { font-size: 19px; }
110+
.site-status { font-size: 10px; gap: 8px; letter-spacing: .06em; }
111+
.status-light { width: 9px; height: 9px; }
112+
.intro { padding-top: 70px; padding-bottom: 54px; }
113+
h1 { font-size: clamp(55px, 11.5vw, 80px); }
114+
.contact-row { align-items: flex-start; flex-direction: column; gap: 20px; margin-top: 26px; }
115+
.company-detail { font-size: 12px; }
116+
#signal-canvas { height: 230px; }
117+
}
118+
119+
@media (max-width: 360px) {
120+
.wordmark { font-size: 16px; }
121+
.site-status { font-size: 9px; }
122+
.masthead { gap: 12px; }
123+
h1 { font-size: clamp(40px, 14vw, 49px); }
124+
}
125+
126+
@media (prefers-reduced-motion: reduce) {
127+
.contact-button { transition: none; }
128+
}

0 commit comments

Comments
 (0)