Skip to content

Commit a87aac0

Browse files
committed
design: add optimized product screenshot
1 parent 25cbd4f commit a87aac0

3 files changed

Lines changed: 34 additions & 56 deletions

File tree

assets/selflify-dashboard.jpg

166 KB
Loading

index.html

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -151,29 +151,24 @@ <h1>Run Netlify-like preview flows on your own server</h1>
151151
<aside class="hero-panel">
152152
<div class="panel-header">
153153
<span class="status-dot"></span>
154-
<span>stable</span>
155-
<span class="muted">/var/www/app/stable</span>
154+
<span>Dashboard</span>
155+
<span class="muted">Selflify admin panel</span>
156156
</div>
157157

158-
<div class="panel-stack">
159-
<article class="signal-card emphasis">
160-
<p>Preview Control</p>
161-
<strong>app.example.dev</strong>
162-
<span>stable + preview routing via generated Caddyfile</span>
163-
</article>
164-
165-
<article class="signal-card">
166-
<p>Deploy inventory</p>
167-
<strong>pr-6825.app.example.dev</strong>
168-
<span>preview auth, size stats and delete flow from one UI</span>
169-
</article>
170-
171-
<article class="signal-card">
172-
<p>Operation manager</p>
173-
<strong>config write → validate → reload</strong>
174-
<span>revision checks, backups and rollback-aware side effects</span>
175-
</article>
176-
</div>
158+
<figure class="hero-screenshot">
159+
<img
160+
src="./assets/selflify-dashboard.jpg"
161+
alt="Selflify dashboard showing sites, deploy metrics, recent deploys and site management cards."
162+
width="1600"
163+
height="1078"
164+
loading="eager"
165+
decoding="async"
166+
/>
167+
</figure>
168+
169+
<p class="hero-panel-note">
170+
Real UI: site inventory, recent deploys, disk stats and config flows in one panel.
171+
</p>
177172
</aside>
178173
</div>
179174
</header>

styles.css

Lines changed: 18 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -300,49 +300,32 @@ img {
300300
color: rgba(255, 240, 244, 0.56);
301301
}
302302

303-
.panel-stack {
304-
display: grid;
305-
gap: 0.9rem;
306-
margin-top: 1rem;
307-
}
308-
309-
.signal-card {
310-
display: grid;
311-
gap: 0.35rem;
312-
padding: 1rem 1rem 1.05rem;
313-
border-radius: var(--radius-lg);
303+
.hero-screenshot {
304+
margin: 1rem 0 0;
305+
overflow: hidden;
306+
border-radius: 1.25rem;
314307
border: 1px solid rgba(255, 255, 255, 0.08);
315-
background: rgba(255, 255, 255, 0.025);
316-
}
317-
318-
.signal-card p,
319-
.note-card h3,
320-
.feature-card h3,
321-
.timeline-step h3 {
322-
margin: 0;
323-
}
324-
325-
.signal-card p {
326-
font-size: 0.8rem;
327-
text-transform: uppercase;
328-
letter-spacing: 0.16em;
329-
color: #ffb1c3;
308+
background: rgba(255, 255, 255, 0.02);
309+
box-shadow: 0 26px 54px rgba(0, 0, 0, 0.32);
330310
}
331311

332-
.signal-card strong {
333-
font-family: "Space Grotesk", sans-serif;
334-
font-size: 1.05rem;
312+
.hero-screenshot img {
313+
display: block;
314+
width: 100%;
315+
height: auto;
335316
}
336317

337-
.signal-card span {
338-
color: var(--muted);
318+
.hero-panel-note {
319+
margin: 0.95rem 0 0;
320+
color: rgba(255, 240, 244, 0.62);
339321
line-height: 1.65;
322+
font-size: 0.94rem;
340323
}
341324

342-
.signal-card.emphasis {
343-
background:
344-
linear-gradient(180deg, rgba(161, 33, 65, 0.28), rgba(161, 33, 65, 0.08)),
345-
rgba(255, 255, 255, 0.03);
325+
.note-card h3,
326+
.feature-card h3,
327+
.timeline-step h3 {
328+
margin: 0;
346329
}
347330

348331
.section {

0 commit comments

Comments
 (0)