Skip to content

Commit a02ea8b

Browse files
committed
Adds manifold landing page link to idev homepage
1 parent c9ba30c commit a02ea8b

2 files changed

Lines changed: 105 additions & 6 deletions

File tree

static/index.html

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,19 @@
238238
background: rgba(20, 24, 36, 0.5);
239239
}
240240

241+
.btn-primary {
242+
background: var(--accent);
243+
border-color: var(--accent);
244+
color: #05070c;
245+
font-weight: 600;
246+
}
247+
248+
.btn-primary:hover {
249+
background: #b8c8ff;
250+
border-color: #b8c8ff;
251+
color: #05070c;
252+
}
253+
241254
.expand-toggle {
242255
position: fixed;
243256
bottom: clamp(20px, 4vw, 32px);
@@ -355,7 +368,7 @@ <h1 class="hero-title">intelligence<span class="dot">.</span>dev</h1>
355368
Experiments with code, computer graphics, and machine learning.
356369
</p>
357370
<div class="cta-row" role="group" aria-label="Primary actions">
358-
<a class="btn" href="https://github.com/intelligencedev/manifold">Explore Manifold</a>
371+
<a class="btn btn-primary" href="/manifold/">Manifold</a>
359372
<a class="btn" href="/mapping-the-flood/">Mapping the Flood →</a>
360373
</div>
361374
</main>

static/manifold/index.html

Lines changed: 91 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,46 @@
130130
letter-spacing: 0.14em;
131131
color: var(--faint);
132132
}
133+
.nav-menu {
134+
position: relative;
135+
display: flex;
136+
align-items: center;
137+
}
138+
.nav-menu-toggle {
139+
position: absolute;
140+
width: 1px;
141+
height: 1px;
142+
opacity: 0;
143+
pointer-events: none;
144+
}
145+
.nav-toggle {
146+
display: none;
147+
width: 40px;
148+
height: 36px;
149+
align-items: center;
150+
justify-content: center;
151+
border: 1px solid var(--rule);
152+
background: transparent;
153+
color: var(--bone);
154+
cursor: pointer;
155+
list-style: none;
156+
}
157+
.nav-toggle span,
158+
.nav-toggle::before,
159+
.nav-toggle::after {
160+
content: "";
161+
display: block;
162+
width: 17px;
163+
height: 1px;
164+
background: currentColor;
165+
transition: transform 160ms ease, opacity 160ms ease;
166+
}
167+
.nav-toggle span { position: relative; }
168+
.nav-toggle::before { transform: translateY(-6px); }
169+
.nav-toggle::after { transform: translateY(6px); }
170+
.nav-menu-toggle:checked + .nav-toggle::before { transform: translateY(1px) rotate(45deg); }
171+
.nav-menu-toggle:checked + .nav-toggle span { opacity: 0; }
172+
.nav-menu-toggle:checked + .nav-toggle::after { transform: translateY(-1px) rotate(-45deg); }
133173
.nav-links {
134174
display: flex;
135175
align-items: center;
@@ -588,7 +628,49 @@
588628
/* ─── Responsive ──────────────────────────────────────────── */
589629
@media (max-width: 900px) {
590630
#page-frame { display: none; }
631+
.nav {
632+
padding: 12px clamp(16px, 5vw, 28px);
633+
}
591634
.nav-logo-sub { display: none; }
635+
.nav-menu { margin-left: auto; }
636+
.nav-toggle { display: inline-flex; }
637+
.nav-links {
638+
position: absolute;
639+
top: calc(100% + 12px);
640+
right: 0;
641+
display: none;
642+
width: min(78vw, 280px);
643+
flex-direction: column;
644+
align-items: stretch;
645+
gap: 0;
646+
padding: 10px;
647+
border: 1px solid var(--rule);
648+
background: rgba(10, 10, 8, 0.98);
649+
}
650+
.nav-menu-toggle:checked ~ .nav-links { display: flex; }
651+
.nav-links a,
652+
.nav-badge {
653+
width: 100%;
654+
justify-content: space-between;
655+
padding: 12px 10px;
656+
border-bottom: 1px solid var(--rule-soft);
657+
}
658+
.nav-links a:hover { border-bottom-color: var(--rule-soft); }
659+
.nav-badge {
660+
margin-top: 4px;
661+
border: 1px solid var(--signal-soft);
662+
}
663+
.hero,
664+
.feature-section,
665+
.cta-section {
666+
isolation: isolate;
667+
}
668+
.hero-left,
669+
.feature-section .feature-content,
670+
.cta-content {
671+
position: relative;
672+
z-index: 10;
673+
}
592674
.hero {
593675
grid-template-columns: 1fr;
594676
text-align: center;
@@ -763,11 +845,15 @@
763845
<span class="nav-logo-word">Manifold</span>
764846
<span class="nav-logo-sub">/ Orchestration Engine</span>
765847
</div>
766-
<div class="nav-links">
767-
<a href="https://github.com/intelligencedev/manifold">GitHub</a>
768-
<a href="/manifold-memory-systems/">Memory Docs</a>
769-
<a href="/manifold-quickstart/">Quickstart</a>
770-
<span class="nav-badge">Dev Preview</span>
848+
<div class="nav-menu">
849+
<input class="nav-menu-toggle" type="checkbox" id="nav-menu-toggle" aria-label="Toggle navigation" />
850+
<label class="nav-toggle" for="nav-menu-toggle" aria-hidden="true"><span></span></label>
851+
<div class="nav-links">
852+
<a href="https://github.com/intelligencedev/manifold">GitHub</a>
853+
<a href="/manifold-memory-systems/">Memory Docs</a>
854+
<a href="/manifold-quickstart/">Quickstart</a>
855+
<span class="nav-badge">Dev Preview</span>
856+
</div>
771857
</div>
772858
</nav>
773859

0 commit comments

Comments
 (0)