Initial public push: docs cosmos v4 + AI module + framework groundwork
This is the snapshot the production landing site (nibiru-framework.com) is deployed from. Brings together the recent splash + docs migration to the v4 "Cosmos" design system, the new in-framework AI module, and the framework groundwork that backs the framework-reference extraction. What lands: - docs/: Astro + Starlight site with the v4 dark cosmic palette, GalaxyHero canvas constellation, Mission Control chat (wired to /api/oracle → api.neuronetz.ai via providers.mjs Ollama), 5-panel MMVC stage (Model · AI · Module · Controller · View), translated EN/DE/JA/ES/FR content, PWA + sitemap + llms.txt + Umami analytics. - docs/design-system/: canonical mockup bundle (source/index-v2.html for splash, source/docs-system.html + preview/ for docs, SPEC.md, tokens). - docs/scripts/extraction/framework-reference-v2.md: deep framework reference (~1.6k lines, file:line citations, every public factory and idiom — basis for the LoRA training corpus. - application/module/ai/: AI module with chat / embed / RAG / agent plugins, plus pdoQuery / httpGet / fileRead tools and Modelfile + smoke-test in training/. - application/module/users/: user / ACL / form-factory traits used as the reference plugin pattern for the framework docs. - application/settings/config/database/: schema + seed migrations including the AI module tables (200–203). - Form factory + autogenerator changes the framework-reference-v2 covers. Production secrets stay out: docs/.env, settings.production.ini and ai.production.ini are all gitignored (.example files are in tree). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
154
docs/src/components/LandingFooter.astro
Normal file
154
docs/src/components/LandingFooter.astro
Normal file
@@ -0,0 +1,154 @@
|
||||
---
|
||||
/**
|
||||
* LandingFooter — mockup-faithful footer for the splash page.
|
||||
*
|
||||
* • 4-column grid: brand · Framework · Models · Community
|
||||
* • Subtle star wash background (footer-canvas, vanilla canvas2d)
|
||||
* • Bottom strip: "© 2026 Nibiru · Apache 2.0" + "Built in orbit · v0.9.2"
|
||||
*
|
||||
* The mockup's `id="docs"` anchor is preserved so in-page nav `<a href="#docs">`
|
||||
* still scrolls here.
|
||||
*/
|
||||
---
|
||||
<footer class="footer" id="docs">
|
||||
<canvas id="footer-canvas" aria-hidden="true"></canvas>
|
||||
<div class="container footer-inner">
|
||||
<div class="footer-brand">
|
||||
<div class="brand">
|
||||
<img class="brand-mark" src="/img/nibiru-logo.png" alt="" style="height: 30px; width: auto;" />
|
||||
<span class="brand-name">Nibiru<em></em></span>
|
||||
</div>
|
||||
<p>An AI-native MMVC PHP framework. Open source. Open weights when they ship. Built to compose.</p>
|
||||
</div>
|
||||
<div class="footer-col">
|
||||
<h5>Framework</h5>
|
||||
<ul>
|
||||
<li><a href="#mmvc">MMVC pattern</a></li>
|
||||
<li><a href="#code">Quick start</a></li>
|
||||
<li><a href="/en/core/modules/">Modules</a></li>
|
||||
<li><a href="/en/start/what-is-nibiru/">Reference</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer-col">
|
||||
<h5>AI module</h5>
|
||||
<ul>
|
||||
<li><a href="/en/ai/module/overview/">Overview</a></li>
|
||||
<li><a href="/en/ai/module/rag/">RAG plugin</a></li>
|
||||
<li><a href="/en/ai/module/agent/">Agent plugin</a></li>
|
||||
<li><a href="/en/ai/oracle/">The Oracle</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer-col">
|
||||
<h5>Community</h5>
|
||||
<ul>
|
||||
<li><a href="https://github.com/alllinux/Nibiru">GitHub</a></li>
|
||||
<li><a href="/en/showcase/projects/">Showcase</a></li>
|
||||
<li><a href="/en/why-nibiru/">Why Nibiru</a></li>
|
||||
<li><a href="/en/ai/roadmap/">Roadmap</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container footer-bottom">
|
||||
<span>© 2026 Nibiru · MIT licensed</span>
|
||||
<span>Built in orbit · v0.9.2</span>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<style is:global>
|
||||
.footer {
|
||||
position: relative;
|
||||
padding: 100px 0 60px;
|
||||
background: var(--nibiru-space);
|
||||
border-top: 1px solid var(--nibiru-line);
|
||||
overflow: hidden;
|
||||
color: var(--nibiru-star);
|
||||
/* Break out of any centring container — the footer is full-bleed */
|
||||
width: 100vw;
|
||||
margin-left: 50%;
|
||||
margin-right: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
.footer #footer-canvas {
|
||||
position: absolute; inset: 0;
|
||||
width: 100%; height: 100%;
|
||||
opacity: 0.4;
|
||||
pointer-events: none;
|
||||
z-index: 0;
|
||||
}
|
||||
.footer-inner {
|
||||
position: relative; z-index: 2;
|
||||
display: grid;
|
||||
grid-template-columns: 1.4fr 1fr 1fr 1fr;
|
||||
gap: 48px;
|
||||
max-width: var(--nibiru-container, 1280px);
|
||||
margin: 0 auto;
|
||||
padding: 0 32px;
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
.footer-inner { grid-template-columns: 1fr 1fr; }
|
||||
}
|
||||
.footer-brand .brand {
|
||||
margin-bottom: 16px;
|
||||
display: flex; align-items: center; gap: 12px;
|
||||
text-decoration: none;
|
||||
}
|
||||
.footer-brand .brand-name {
|
||||
font-family: var(--font-display);
|
||||
font-weight: 500;
|
||||
font-size: 18px;
|
||||
letter-spacing: -0.02em;
|
||||
color: var(--nibiru-star);
|
||||
}
|
||||
.footer-brand .brand-name em { font-style: normal; font-weight: 300; }
|
||||
.footer-brand p {
|
||||
font-size: 14px;
|
||||
color: rgba(244, 238, 219, 0.55);
|
||||
max-width: 36ch;
|
||||
line-height: 1.55;
|
||||
margin: 12px 0 0;
|
||||
}
|
||||
.footer-col h5 {
|
||||
font-family: var(--font-mono);
|
||||
font-size: 11px;
|
||||
letter-spacing: 0.16em;
|
||||
text-transform: uppercase;
|
||||
color: var(--nibiru-muted);
|
||||
margin: 0 0 18px;
|
||||
font-weight: 400;
|
||||
}
|
||||
.footer-col ul {
|
||||
list-style: none;
|
||||
padding: 0; margin: 0;
|
||||
display: flex; flex-direction: column; gap: 12px;
|
||||
}
|
||||
.footer-col a {
|
||||
font-size: 14px;
|
||||
color: rgba(244, 238, 219, 0.7);
|
||||
text-decoration: none;
|
||||
transition: color 160ms ease;
|
||||
}
|
||||
.footer-col a:hover { color: var(--nibiru-star); }
|
||||
.footer-bottom {
|
||||
margin-top: 80px;
|
||||
padding-top: 24px;
|
||||
border-top: 1px solid var(--nibiru-line);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 11px;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: var(--nibiru-muted);
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
max-width: var(--nibiru-container, 1280px);
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding-left: 32px;
|
||||
padding-right: 32px;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user