Skip to content

Commit 94ab178

Browse files
fsecada01claude
andcommitted
docs: update site-pages for v0.4.0 (Litestar, SSE, framework references)
- site-pages/index.html: hero eyebrow adds Litestar, tagline updated, WebSocket feature card includes SSE + Litestar, quick-start step 03 shows all three frameworks Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e9410ec commit 94ab178

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

docs/site-pages/index.html

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@
642642

643643
<!-- ── HERO ─────────────────────────────────────────────────────────────── -->
644644
<section class="hero">
645-
<p class="hero__eyebrow">Python · Django · FastAPI · HTMX</p>
645+
<p class="hero__eyebrow">Python · Django · FastAPI · Litestar · HTMX</p>
646646
<h1 class="hero__title">
647647
Server-side components<br>
648648
with <span class="hl">LiveView</span>-style<br>
@@ -654,7 +654,7 @@ <h1 class="hero__title">
654654
</p>
655655
<div class="hero__tagline">
656656
<span>Framework-agnostic core</span>
657-
<span>FastAPI + Django adapters</span>
657+
<span>FastAPI + Django + Litestar</span>
658658
<span>5 KB JS footprint</span>
659659
<span>Pure Python tests</span>
660660
</div>
@@ -700,8 +700,8 @@ <h2 class="section-title">Everything you need. Nothing you don't.</h2>
700700
</div>
701701
<div class="feature">
702702
<span class="feature__icon">🌐</span>
703-
<div class="feature__name">WebSocket Push</div>
704-
<div class="feature__desc">Real-time component updates via Django Channels or FastAPI WebSocket. Broadcast to groups; the framework handles the render cycle.</div>
703+
<div class="feature__name">WebSocket + SSE</div>
704+
<div class="feature__desc">Real-time component updates via Django Channels, FastAPI, or Litestar WebSocket. SSE streaming for long-running operations with <code style="font-family:var(--mono);font-size:11px;color:var(--green);background:var(--green-dim);padding:1px 4px;border-radius:2px">StreamingComponent</code>.</div>
705705
</div>
706706
<div class="feature">
707707
<span class="feature__icon">🧩</span>
@@ -880,14 +880,16 @@ <h2 class="section-title">Up and running in four steps.</h2>
880880
<div class="qs-step">
881881
<div class="qs-step__num">03 / Wire</div>
882882
<div class="qs-step__title">Connect to your framework</div>
883-
<div class="qs-step__body">Mount the component view in Django urls.py or FastAPI router — one line.</div>
883+
<div class="qs-step__body">Mount the component view in Django, FastAPI, or Litestar — one line.</div>
884884
<pre><span class="cm"># Django</span>
885885
path(<span class="str">"components/&lt;str:name&gt;/"</span>,
886886
component_view)
887887

888888
<span class="cm"># FastAPI</span>
889-
app.include_router(
890-
component_router)</pre>
889+
create_component_routes(app)
890+
891+
<span class="cm"># Litestar</span>
892+
app = Litestar([component_endpoint])</pre>
891893
</div>
892894
<div class="qs-step">
893895
<div class="qs-step__num">04 / Render</div>

0 commit comments

Comments
 (0)