screen-locker/web/src/pages/index.astro
Krzysztof kuhy Rudnicki f3bd94f646 web: migrate status page from React to Astro
One static Astro page, vanilla TS poller and renderer,
@kuhyx/web-ui 0.5.0 for tokens only. Same web/dist output.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WzxdWYdwRAtMg7ki6TKxuU
2026-11-01 20:12:46 +01:00

23 lines
552 B
Plaintext

---
import HealthCard from '../components/HealthCard.astro'
import NowCard from '../components/NowCard.astro'
import WhyTable from '../components/WhyTable.astro'
import Base from '../layouts/Base.astro'
---
<Base title="Screen Locker — status">
<main>
<h1>Screen locker</h1>
<div class="error" role="alert" data-errors hidden></div>
<p class="muted" data-loading>Reading status…</p>
<NowCard />
<HealthCard />
<WhyTable />
</main>
<script>
import { startPage } from '../main'
startPage()
</script>
</Base>