Skip to content

Commit bb15885

Browse files
authored
feat(home,demo): hot-reload video on landing, replace arena demo page (#48)
- Add "02 / Demo" section to home view with autoplay video, docker compose snippet, and short caption. Renumber subsequent sections 02-10 to 03-11. - Rewrite /demo page to focus on the hot-reload story: video, three-step run-locally, build-your-own CTA. Removes the Arena play link that pushed visitors at a login wall. - Add demo-video* CSS hooks for the new section. - Vendor the hot-reload mp4 + gif into priv/static/assets/media/.
1 parent ad878ac commit bb15885

5 files changed

Lines changed: 163 additions & 255 deletions

File tree

priv/static/assets/css/app.css

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1298,6 +1298,46 @@ code {
12981298
margin-top: var(--sp-2);
12991299
}
13001300

1301+
/* Hot-reload demo video */
1302+
.demo-video-wrap {
1303+
margin: var(--sp-6) auto 0;
1304+
max-width: 880px;
1305+
border: 1px solid var(--line-strong);
1306+
border-radius: var(--r-2);
1307+
overflow: hidden;
1308+
background: var(--ink-0);
1309+
box-shadow: 0 24px 48px -28px rgba(26, 18, 8, 0.35);
1310+
}
1311+
.demo-video {
1312+
display: block;
1313+
width: 100%;
1314+
height: auto;
1315+
background: #1e272e;
1316+
}
1317+
.demo-run {
1318+
margin: var(--sp-7) auto 0;
1319+
max-width: 720px;
1320+
}
1321+
.demo-run-label {
1322+
color: var(--text-2);
1323+
font-size: var(--fs-sm);
1324+
margin-bottom: var(--sp-2);
1325+
}
1326+
.demo-run-foot {
1327+
color: var(--text-2);
1328+
font-size: var(--fs-sm);
1329+
margin-top: var(--sp-3);
1330+
line-height: 1.6;
1331+
}
1332+
.demo-run-foot code,
1333+
.demo-run-label code {
1334+
background: var(--ink-1);
1335+
border: 1px solid var(--line);
1336+
padding: 0.05em 0.35em;
1337+
border-radius: 4px;
1338+
font-size: 0.85em;
1339+
}
1340+
13011341
.demo-client-card {
13021342
padding: var(--sp-7) var(--sp-6);
13031343
background: var(--ink-0);
1 MB
Loading
531 KB
Binary file not shown.

0 commit comments

Comments
 (0)