Skip to content

Commit 17a288c

Browse files
authored
Lead Connect docs with user onboarding (#16)
1 parent 4aa897b commit 17a288c

1 file changed

Lines changed: 44 additions & 11 deletions

File tree

src/pages/connect/index.astro

Lines changed: 44 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,33 +23,66 @@ const steps = [
2323

2424
<BaseLayout
2525
title="mdbase Connect"
26-
description="Authorize independent applications to use local or hosted mdbase collections under a grant you control."
26+
description="Choose which apps can use your local or hosted mdbase collections, and exactly what each app can do."
2727
current="connect"
2828
>
2929
<section class="page-hero">
3030
<div class="page-hero__inner">
3131
<div>
32-
<p class="eyebrow"><i></i> Private beta · protocol 1</p>
33-
<h1>App access for local and hosted collections.</h1>
32+
<p class="eyebrow"><i></i> Private beta</p>
33+
<h1>Use your Markdown with the apps you choose.</h1>
3434
</div>
3535
<div class="page-hero__aside">
3636
<p>
37-
An application sends the user to Connect. The user chooses one
38-
compatible collection and approves exact actions. The application
39-
receives a collection-bound connection; local folder paths stay on
40-
the user's computer.
37+
Start in the app you want to use. mdbase Connect opens when that app
38+
needs a collection, shows what it is asking for, and lets you choose
39+
the folder or hosted collection it can use.
4140
</p>
4241
<div class="button-row">
43-
<a class="button button--primary" href="/sdk/connect-quickstart/">Connect an app</a>
44-
<a class="button" href="/sdk/quickstart/">Try the SDK locally</a>
45-
<a class="button" href="/sdk/portable-apps/">Portable HTML apps</a>
46-
<a class="button" href="https://github.com/mdbase-dev/mdbase-connect">View source</a>
42+
<a class="button button--primary" href="#use-connect">See how it works</a>
43+
<a class="button" href="/sdk/connect-quickstart/">Build an app</a>
4744
</div>
4845
</div>
4946
</div>
5047
</section>
5148

49+
<section class="content-section" id="use-connect">
50+
<p class="eyebrow"><i></i> For people using apps</p>
51+
<h2>Start in the app you want to use</h2>
52+
<p>
53+
Connect keeps the same request open while it helps you sign in, pair this
54+
computer, and choose or create a collection.
55+
</p>
56+
<ol class="plain-sequence" aria-label="Using an app with mdbase Connect">
57+
<li>
58+
<strong>Open the app</strong>
59+
<span>Choose its Connect action. It opens a request that names the app and the access it needs.</span>
60+
</li>
61+
<li>
62+
<strong>Choose your collection</strong>
63+
<span>Use a folder on this computer or a hosted collection. Connect guides any sign-in or computer pairing along the way.</span>
64+
</li>
65+
<li>
66+
<strong>Review the result</strong>
67+
<span>See whether the app can view, edit, or delete records. You can remove permissions before approving.</span>
68+
</li>
69+
<li>
70+
<strong>Return to the app</strong>
71+
<span>Connect sends the approved collection back to the app. Pause, narrow, or revoke access at any time.</span>
72+
</li>
73+
</ol>
74+
<div class="callout">
75+
<strong>Local folder behavior</strong>
76+
<p>
77+
A collection kept on your computer remains ordinary Markdown in the
78+
folder you chose. The app and account service do not receive that
79+
folder path.
80+
</p>
81+
</div>
82+
</section>
83+
5284
<section class="content-section">
85+
<p class="eyebrow"><i></i> For developers</p>
5386
<h2>Where Connect sits</h2>
5487
<p>
5588
Connect is optional. Applications can also use a conforming mdbase

0 commit comments

Comments
 (0)