Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,25 @@
<main id="main">

<!-- ============ SOFTWARE FACTORY ============ -->
<section id="software-factory" class="factory" aria-labelledby="factory-caption">
<section id="software-factory" class="factory" aria-labelledby="factory-title">
<div class="wrap factory-hero">
<h2 class="factory-title" id="factory-title">Great software, built fast.</h2>
<p class="factory-lede">Agents do the work. Maintainers stay in charge. Every change is tested, reviewed, and traceable.</p>
<div class="cta-row factory-cta">
<a class="btn btn-quiet" href="/discord">Join our Discord</a>
<a class="btn btn-primary" href="https://hive.hivecommons.dev/get-started">Request a Hive →</a>
</div>
<p class="factory-powered">powered by <a href="https://spektacular.dev">Spek</a> · <a href="#hive">Hive</a> · <a href="https://docs.hivecommons.dev/docs/crux">Crux</a></p>
</div>
<div class="factory-frame">
<iframe class="factory-player" src="/software-factory/?speed=1&amp;mode=present"
title="How Hive turns a specification into a merged pull request"
title="Software factory animation"
aria-label="Software factory animation: Spek to Hive, from a filed issue to a merged, verified change"
loading="eager" referrerpolicy="same-origin"
sandbox="allow-scripts"
allow="autoplay; fullscreen" allowfullscreen></iframe>
</div>
<p class="factory-caption wrap" id="factory-caption">Spek &rarr; Hive: the scientific method applied to AI software engineering and maintenance. <a href="/software-factory/">Open full screen</a></p>
<p class="factory-caption wrap"><a href="/software-factory/">Open full screen ↗</a></p>
</section>

<!-- ============ HERO ============ -->
Expand Down
14 changes: 13 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,20 @@ p { margin: 0; }
.factory { padding: 0; margin: 0 0 clamp(1.25rem, 3vw, 2.5rem); }
.factory-frame { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); padding: 0; }
.factory-player { display: block; width: 100%; height: min(calc(100vw * 9 / 16), 85vh); border: 0; border-block-end: 1px solid var(--line); background: var(--bg-2); }
.factory-caption { margin-top: .75rem; text-align: center; color: var(--ink-3); font-size: .9rem; }
.factory-hero { text-align: center; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(1.75rem, 4vw, 3rem); display: flex; flex-direction: column; align-items: center; }
.factory-title { font-size: clamp(2.5rem, 6.5vw, 5rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; max-width: 16ch; margin: 0; }
.factory-lede { margin-top: 1.1rem; font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--ink-2); max-width: 52ch; text-wrap: balance; }
.factory-cta { justify-content: center; margin-top: 1.75rem; }
.factory-cta .btn { padding: .85rem 1.4rem; font-size: 1.02rem; }
.factory-powered { margin-top: 1.25rem; color: var(--ink-3); font-size: .9rem; }
.factory-powered a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.factory-powered a:hover { color: var(--ink); border-bottom-color: var(--honey); }
.factory-caption { margin-top: .6rem; text-align: right; color: var(--ink-3); font-size: .85rem; }
.factory-caption a { color: var(--ink-2); }
@media (max-width: 36rem) {
.factory-cta { flex-direction: column; align-items: stretch; width: 100%; max-width: 20rem; }
.factory-cta .btn { justify-content: center; }
}
@media (max-width: 36rem) {
.factory-player { height: min(calc(100vw * 3 / 4), 85vh); min-height: 320px; }
}
Expand Down
Loading