swarm-ui: start page setup assistant offers to create ruth
This commit is contained in:
parent
89efda5ea2
commit
8bf53f7ed9
7 changed files with 208 additions and 15 deletions
|
|
@ -1,8 +1,10 @@
|
|||
// <StartPage> — `/`, the swarm's landing page: the swarm's name over the
|
||||
// digital-rain backdrop, and nothing else. The header's swarm name links
|
||||
// here. The hive roster that used to be `/` is now `/hives`.
|
||||
// digital-rain backdrop, plus the setup assistant while the swarm has no
|
||||
// `ruth`. The header's swarm name links here. The hive roster that used to be
|
||||
// `/` is now `/hives`.
|
||||
import { MatrixRain } from "../shell/MatrixRain.js";
|
||||
import { useSwarmName } from "../shell/useSwarmName.js";
|
||||
import { SetupAssistant } from "./SetupAssistant.js";
|
||||
import "./StartPage.css";
|
||||
|
||||
// Same fallback as the header and the page title, so an unnamed swarm shows
|
||||
|
|
@ -15,6 +17,7 @@ export function StartPage() {
|
|||
<div class="start-page">
|
||||
<MatrixRain />
|
||||
<h1 class="start-page-name">{name}</h1>
|
||||
<SetupAssistant />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue