aboutsummaryrefslogtreecommitdiffstats
path: root/web/coming-soon.html
blob: f8fc94ec7e0b040ccb2aa75a9d00db6065aed259 (plain) (blame)
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>slosh: coming soon</title>
<meta name="description" content="slosh: a terminal multiplexer. Panes, tabs, sessions you can detach from. Coming soon.">
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><rect x='3' y='2' width='7' height='12' fill='%23ff5fd7'/></svg>">
<style>
/* slosh.foo, while the site is being finished. Drawn like a session --
 * the tab strip, one focused pane, the status line -- in the palette of
 * contrib/themes/sl0p.kdl. One file, no scripts, nothing fetched. */

:root {
  --bg: #0b0b0e;
  --panel: #141418;
  --fg: #e8e8ea;
  --dim: #8a8a95;
  --faint: #45454a;
  --pink: #ff5fd7;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas,
          "DejaVu Sans Mono", monospace;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

a { color: var(--pink); text-decoration: none; }
a:hover { text-decoration: underline; }

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 14px/1.6 var(--mono);
  -webkit-font-smoothing: antialiased;
}

/* ---- the tab strip -------------------------------------------------- */

.tabs {
  display: flex;
  border-bottom: 1px solid var(--panel);
  font-size: 13px;
  line-height: 2.6;
}
.tabs span { padding: 0 1.2em; }
.tab-active { background: var(--pink); color: var(--panel); }
.tab-idle { color: var(--faint); }

/* ---- the pane ------------------------------------------------------- */

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.pane {
  position: relative;
  width: min(36rem, 100%);
  padding: 2.4rem 2.2rem 2.1rem;
  border: 1px solid var(--pink);
  border-radius: 4px;
}

/* Every eight seconds the pane rings its bell: a soft sheen crosses the
 * body and is gone within a second, which is the pass slosh runs over a
 * pane when a bell goes unheard. Painted as a background so the pane's own
 * box clips it; nothing overflows, the frame title stays where it is. */
.pane::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px;
  pointer-events: none;
  background: linear-gradient(105deg,
      transparent 40%,
      rgba(255, 95, 215, 0.10) 46%,
      rgba(255, 255, 255, 0.18) 50%,
      rgba(255, 95, 215, 0.10) 54%,
      transparent 60%) no-repeat;
  background-size: 300% 100%;
  background-position: 8% 0;
  animation: shimmer 8s linear infinite;
}

/* 90% -> 8% is exactly the stretch where the band crosses the pane (the
 * band lives in the middle of an image three panes wide), so the whole
 * 1.6s segment is spent on screen rather than mostly off it. */
@keyframes shimmer {
  0% { background-position: 90% 0; }
  20%, 100% { background-position: 8% 0; }
}

/* The pane wears two of slosh's shaders, drawn in CSS: zebra band=1 (a
 * scanline) and vignette. The copy below points at it. */
.pane::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px;
  pointer-events: none;
  background:
    repeating-linear-gradient(transparent 0 2px, rgba(0, 0, 0, 0.14) 2px 4px),
    radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.42));
}

.pane-title {
  position: absolute;
  top: -0.8em;
  left: 1.1rem;
  padding: 0 0.5em;
  background: var(--bg);
  color: #fff;
  font-size: 13px;
}

/* the command types itself... */
.cmdline {
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  width: 7ch;
  animation: type 1.05s steps(7) 0.4s both;
}
.cmdline .prompt { color: var(--faint); }

/* ...and the rest is its output */
.out { animation: appear 0s 1.7s both; }

h1 {
  margin: 1.3rem 0 0;
  color: var(--pink);
  font-size: clamp(2.4rem, 8vw, 3.2rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}

.tagline {
  margin: 0.7rem 0 0;
  max-width: 28rem;
  color: var(--dim);
}

.soon { margin: 2.2rem 0 0; }

.by { margin: 1.4rem 0 0; color: var(--faint); font-size: 13px; }

.cursor {
  display: inline-block;
  width: 0.6em;
  height: 1.15em;
  margin-left: 0.15em;
  vertical-align: text-bottom;
  background: var(--pink);
  animation: blink 1.1s steps(1) infinite;
}

@keyframes type { from { width: 0; } }
@keyframes appear { from { opacity: 0; visibility: hidden; } }
@keyframes blink { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .cmdline, .out, .cursor, .pane::before { animation: none; }
}

/* ---- the status line ------------------------------------------------ */

.foot {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 1.1rem;
  border-top: 1px solid var(--panel);
  color: var(--faint);
  font-size: 12.5px;
  line-height: 2.2;
}

</style>
</head>
<body>

<nav class="tabs" aria-hidden="true">
  <span class="tab-active">slosh</span>
  <span class="tab-idle">soon</span>
</nav>

<main>
  <section class="pane" aria-label="slosh, coming soon">
    <span class="pane-title">slosh.foo</span>
    <p class="cmdline"><span class="prompt">$</span> slosh</p>
    <div class="out">
      <h1>slosh</h1>
      <p class="tagline">A terminal multiplexer. Panes, tabs, sessions you
      can detach from. Written in C on libghostty-vt.</p>
      <p class="tagline">Panes wear <b>shaders</b>: colour passes over live
      terminal cells. Not decoration: an unfocused pane dims, a dead shell
      greys out, scrollback tints, a bell shimmers until it is seen. Also
      scanlines and CRT phosphor, because they can. This pane is wearing
      two.</p>
      <p class="soon">coming soon<span class="cursor"></span></p>
      <p class="by">slosh is a <a href="https://sl0p.foo">sl0p.foo</a>
      product. Join us on
      <a href="https://discord.gg/9rmHTNsnKY">Discord</a>.</p>
    </div>
  </section>
</main>

<footer class="foot">
  <span>one static binary</span>
  <span>hot pink on near-black</span>
</footer>

</body>
</html>