Skip to content

Commit 1ff772f

Browse files
fix: flip Get started CTA from /introduction to /first-run
The new First Run docs page (JavaScriptSolidServer/docs#14) is a friendlier destination for the seeded landing's primary CTA — walks through the actual next steps after install (Mashlib, sign up/in walkthrough, OIDC client connection, feature flags, customising the landing). The Introduction page is reference-y by comparison. Closes JavaScriptSolidServer#440.
1 parent ee49746 commit 1ff772f

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/ui/server-root.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ <h1>Welcome</h1>
6262
<p class="explainer">This is a Solid pod server. Solid is an open standard for personal data — your data lives in pods you own, and apps connect to it.</p>
6363

6464
<div class="actions">
65-
<a href="https://jss.live/docs/getting-started/introduction" class="btn btn-primary">Get started →</a>
65+
<a href="https://jss.live/docs/getting-started/first-run" class="btn btn-primary">Get started →</a>
6666
<!-- IdP links are written page-relative (no leading slash) so they
6767
resolve against document base, surviving reverse-proxy mounts
6868
at a path prefix (e.g. https://example/jss/). Origin-root

test/server-root.test.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,12 +132,12 @@ describe('renderServerRoot', () => {
132132
assert.doesNotMatch(html, /class="info"/);
133133
});
134134

135-
it('always emits the Get started button pointing at the docs introduction', () => {
135+
it('always emits the Get started button pointing at the docs First Run page', () => {
136136
const html = renderServerRoot({ version: '1.0.0' });
137-
// The canonical URL is the introduction page, not the category.
138-
// Docusaurus 3 doesn't auto-generate a category index page, so
139-
// /docs/getting-started/ would 404. Link to the real document.
140-
assert.match(html, /href="https:\/\/jss\.live\/docs\/getting-started\/introduction"/);
137+
// First Run is the friendly "you just installed it, now what?"
138+
// walkthrough — better destination for a first-time installer than
139+
// the encyclopedic Introduction page. See #440.
140+
assert.match(html, /href="https:\/\/jss\.live\/docs\/getting-started\/first-run"/);
141141
assert.match(html, /Get started/);
142142
});
143143

0 commit comments

Comments
 (0)